vnc 4.1 on solaris 8 inetd not working

Malhotra, Dave dave.malhotra "at" qwest.com
Tue May 3 20:44:01 2005


Whenever I connect with vncviewer I get the window manager and I put in
my login and password but as soon as I do the session dies before I get
the full desktop. Here is my configuration:



In my /etc/services:

# grep vnc /etc/services

vnc             5901/tcp        vnc             #Virtual Network
Computing

#



In my /etc/inetd.conf:

# grep vnc /etc/inetd.conf

vnc        stream  tcp     nowait  root    /usr/local/bin/Xvnc     Xvnc
-inetd -query localhost -once securitytypes=none -desktop DISPLAY=mail:1

#



Permissions of /tmp/.X11

# ls -las /tmp/.X11-unix

total 32

  16 drwxrwxr-x   2 root     root         176 May  3 15:17 .

  16 drwxrwxrwt  12 root     sys         1653 May  3 15:17 ..

#



The fontserver is running on 7100. I ran my inetd daemon with the -d
option to see if it would give me any hints. Here is what it says:

attempting incoming service vnc

accept, ctrl 4

7850 reaped



So it seems when vnc is about to open the full desktop the process gets
reaped. But why?



-dave