This is a Debian testing system.

Tried vnc4server, same problem it seems:

[EMAIL PROTECTED]:~/chesstest/objcnttest$ vnc4server

New 'belle:1 (folkert)' desktop is belle:1

Creating default startup script /home/folkert/.vnc/xstartup
Starting applications specified in /home/folkert/.vnc/xstartup
Log file is /home/folkert/.vnc/belle:1.log

[EMAIL PROTECTED]:~/chesstest/objcnttest$ ps xa | grep -i vnc
14026 pts/9    R+     0:00 grep -i vnc

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(6001), 
sin_addr=inet_addr("192.168.64.100")}, 16) = -1 ECONNREFUSED (Connection 
refused)
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
write(2, "vncconfig: unable to open displa"..., 44) = 44
exit_group(1)                           = ?

ALTOUGH: this one does not segfault anywhere.


On Thu, May 10, 2007 at 10:52:05AM +0200, Ola Lundqvist wrote:
> Hi again
> 
> I think you have one of the major problems here:
> ---
> [pid 13062] write(2, "Error: Can\'t open display: :3\n", 30) = 30
> ---
> 
> You have some permission issue of some sort. What kind of system
> are you running on?
> 
> Ahh wait a second. You are running on amd64. Please try the
> vnc4server package.
> 
> You can also try to run Xvnc to see it better.
> 
> Xvnc :4
> 
> Regards,
> 
> // Ola
> 
> On Thu, May 10, 2007 at 10:14:22AM +0200, folkert wrote:
> > Here's it:
> > 
> > [EMAIL PROTECTED]:~/chesstest/objcnttest$ vncserver -geometry 1024x768
> > 
> > Warning: belle:1 is not taken because of /tmp/.X1-lock
> > Remove this file if there is no X server belle:1
> > 
> > New 'X' desktop is belle:2
> > 
> > Starting applications specified in /etc/X11/Xsession
> > Log file is /home/folkert/.vnc/belle:2.log
> > 
> > [EMAIL PROTECTED]:~/chesstest/objcnttest$ ps xa | grep -i vnc
> > 13016 pts/9    S+     0:00 grep -i vnc
> > [EMAIL PROTECTED]:~/chesstest/objcnttest$ cat /home/folkert/.vnc/belle:2.log
> > [EMAIL PROTECTED]:~/chesstest/objcnttest$
> > 
> > When running things through strace I found:
> > ...
> > [pid 13062] connect(3, {sa_family=AF_INET, sin_port=htons(6003), 
> > sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused)
> > [pid 13062] close(3)                    = 0
> > [pid 13062] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> > [pid 13062] rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
> > [pid 13062] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> > [pid 13062] nanosleep({1, 0}, {1, 0})   = 0
> > [pid 13062] open("/usr/lib/X11/XtErrorDB", O_RDONLY) = -1 ENOENT (No such 
> > file or directory)
> > [pid 13062] getuid()                    = 1000
> > [pid 13062] geteuid()                   = 1000
> > [pid 13062] getuid()                    = 1000
> > [pid 13062] write(2, "Error: Can\'t open display: :3\n", 30) = 30
> > [pid 13062] exit_group(1)               = ?
> > Process 13035 resumed
> > Process 13062 detached
> > <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 
> > 13062
> > rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
> > rt_sigaction(SIGINT, {SIG_IGN}, {SIG_IGN}, 8) = 0
> > close(4)                                = -1 EBADF (Bad file descriptor)
> > ...
> > so it seems something is not listening.
> > 
> > Also somewhere more at the beginning I see a segfault coming through:
> > [pid 13081] open("/etc/X4.hosts", O_RDONLY) = -1 ENOENT (No such file or 
> > directory)
> > [pid 13081] rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_DFL}, 8) = 0
> > [pid 13081] getppid()                   = 1
> > [pid 13081] open("/etc/localtime", O_RDONLY) = 3
> > [pid 13081] fstat(3, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
> > [pid 13081] fstat(3, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
> > [pid 13081] mmap(NULL, 4096, PROT_READ|PROT_WRITE, 
> > MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba1708b000
> > [pid 13081] read(3, 
> > "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0\r\0"..., 4096) = 1074
> > [pid 13081] close(3)                    = 0
> > [pid 13081] munmap(0x2aba1708b000, 4096) = 0
> > [pid 13081] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > Process 13081 detached
> > <... nanosleep resumed> {3, 0})         = 0
> > write(2, "\nNew \'X\' desktop is belle:4\n\n", 29
> > New 'X' desktop is belle:4
> > 
> > ) = 29
> > 
> > 
> > On Thu, May 10, 2007 at 09:59:20AM +0200, Ola Lundqvist wrote:
> > > tags 423010 + unreproducible
> > > thanks
> > > 
> > > Hi
> > > 
> > > I have tested this package a number of times and I can not reproduce
> > > your problem.
> > > 
> > > Please give me your output from 
> > > 
> > > ps xa | grep -i vnc
> > > 
> > > Please also give me the file /home/folkert/.vnc/belle:1.log
> > > 
> > > Regards,
> > > 
> > > // Ola
> > > 
> > > On Wed, May 09, 2007 at 02:26:54PM +0200, Folkert van Heusden wrote:
> > > > Package: vncserver
> > > > Version: 3.3.7-14
> > > > Severity: grave
> > > > Justification: renders package unusable
> > > > 
> > > > 
> > > > When vncserver is invoked, it says it starts a new session on
> > > > host:number but in fact nothing is listening.
> > > > 
> > > > [EMAIL PROTECTED]:~$ vncserver -geometry 1024x768
> > > > 
> > > > New 'X' desktop is belle:1
> > > > 
> > > > Starting applications specified in /etc/X11/Xsession
> > > > Log file is /home/folkert/.vnc/belle:1.log
> > > > 
> > > > [EMAIL PROTECTED]:~$ netstat -na | grep 590
> > > > [EMAIL PROTECTED]:~$ ps -deaf | grep -e vnc -e X
> > > > folkert  26404 16078  0 14:09 pts/8    00:00:00 grep -e vnc -e X
> > > > [EMAIL PROTECTED]:~$
> > > > 
> > > > so it seems it doesn't work. Maybe it needs extra packages which are not
> > > > included in the dependencies?
> > > > 
> > > > 
> > > > -- System Information:
> > > > Debian Release: lenny/sid
> > > >   APT prefers testing
> > > >   APT policy: (500, 'testing')
> > > > Architecture: amd64 (x86_64)
> > > > 
> > > > Kernel: Linux 2.6.18-4-amd64 (SMP w/2 CPU cores)
> > > > Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
> > > > Shell: /bin/sh linked to /bin/bash
> > > > 
> > > > Versions of packages vncserver depends on:
> > > > ii  dpkg                         1.13.25     package maintenance system 
> > > > for Deb
> > > > ii  libc6                        2.5-5       GNU C Library: Shared 
> > > > libraries
> > > > ii  libgcc1                      1:4.1.2-6   GCC support library
> > > > ii  libice6                      1:1.0.3-2   X11 Inter-Client Exchange 
> > > > library
> > > > ii  libsm6                       1:1.0.2-2   X11 Session Management 
> > > > library
> > > > ii  libstdc++6                   4.1.2-6     The GNU Standard C++ 
> > > > Library v3
> > > > ii  libx11-6                     2:1.0.3-7   X11 client-side library
> > > > ii  libxext6                     1:1.0.1-2   X11 miscellaneous 
> > > > extension librar
> > > > ii  perl                         5.8.8-7     Larry Wall's Practical 
> > > > Extraction 
> > > > ii  vnc-common                   3.3.7-14    Virtual network computing 
> > > > server s
> > > > ii  x11-common                   1:7.1.0-18  X Window System (X.Org) 
> > > > infrastruc
> > > > ii  xbase-clients                1:7.1.ds1-2 miscellaneous X clients
> > > > ii  zlib1g                       1:1.2.3-13  compression library - 
> > > > runtime
> > > > 
> > > > Versions of packages vncserver recommends:
> > > > pn  xfonts-base                   <none>     (no description available)
> > > > 
> > > > -- no debconf information
> > > > 
> > > > 
> > > 
> > > -- 
> > >  --------------------- Ola Lundqvist ---------------------------
> > > /  [EMAIL PROTECTED]                     Annebergsslingan 37      \
> > > |  [EMAIL PROTECTED]                     654 65 KARLSTAD          |
> > > |  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
> > > |  http://opalsys.net/                 UIN/icq: 4912500         |
> > > \  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
> > >  ---------------------------------------------------------------
> > 
> > 
> > Folkert van Heusden
> > 
> > -- 
> > MultiTail es una herramienta flexibele para consiguir archivos de log,
> > y para ejecutar ordenes. Filtrar, añadir colores, merger y vista de
> > las differencias.  http://www.vanheusden.com/multitail/
> > ----------------------------------------------------------------------
> > Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
> > 
> 
> -- 
>  --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
> /  [EMAIL PROTECTED]                   Annebergsslingan 37        \
> |  [EMAIL PROTECTED]                   654 65 KARLSTAD            |
> |  http://opalsys.net/               Mobile: +46 (0)70-332 1551 |
> \  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
>  ---------------------------------------------------------------


Folkert van Heusden

-- 
MultiTail är en flexibel redskap för att fälja logfilar, utför av
commandoer, filtrera, ge färg, sammanfoga, o.s.v. följa.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

Reply via email to