PDA

View Full Version : VNC setup gets a gray screen


WBuik
20th June 2007, 07:44 AM
I am trying to set up a headless server using Fedora 6.

What I would like is to get VNC sessions that present a GDM login.

I have set up Xvnc with xinetd, but when I connect all that I get is a gray screen with the default cursor.

In my /etc/gdm/customg.conf I have enabled the defualt greeter for remote logins, permitted remote root logins, permitted TCP connections, and enabled xdmcp.

After it did not work I also tried to set server 0 to inactive (some tutorial said to do this because Xvnc has its own X server built in), but this did not help either.

The tutorial I was using is located at http://forums.teamphoenixrising.net/showthread.php?t=32325, though it is not aimed at fedora 6 so I had to fudge it in a few places.

Anybody know what is going on?

Thanks... :( :confused: :(

cmadiam
20th June 2007, 05:46 PM
try thie one,

1. Edit ~/.vnc/xstartup
2. For Gnome, replace "twm &" with "exec gnome-session &"
3. Kill any existing VNC servers with "vncserver -kill :xxx" where xxx is the display number.
4. Start a new server.

hope this helps.

WBuik
20th June 2007, 07:30 PM

I figured out the problem but I have no idea how to fix it. Gdm, it appears, is not listening on the XDMCP port.

I have set Enable=true in the [xdmcp] section of /etc/gdm/custom.conf
I also have set DisallowTCP=false in the [security] section

tcpdump shows the following when I monitor the loopback:
14:27:03.250476 IP6 MYHOST.filenet-rmi > MYHOST.xdmcp: UDP, length 7
14:27:03.251256 IP6 MYHOST.com >MYHOST.com: ICMP6, destination unreachable[|icmp6]

Anyone know whats going on? :confused:

WBuik
20th June 2007, 07:41 PM
Finally fixed it. I had to tell Xvnc to query 127.0.0.1 instead of localhost because gdm does not listen for xdmcp on IPv6.