Hello everybody, I'm trying to set up a server to be able to connect through VNC and login with GDM. I think I made all the necessary steps but I have not been successful yet. When trying to connect from the remote computer via vncviewer a window opens and suddenly close, with this message:
VNC Viewer Free Edition 4.1.1 for X - built Feb 25 2006 13:11:14 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Mon Apr 24 23:16:37 2006 CConn: connected to host 192.168.2.8 port 5900 CConnection: Server supports RFB protocol version 3.8 CConnection: Using RFB protocol version 3.8 TXImage: Using default colormap and visual, TrueColor, depth 24. CConn: Using pixel format depth 6 (8bpp) rgb222 CConn: Using ZRLE encoding Mon Apr 24 23:16:38 2006 main: End of stream Here the syslog of the vncserver when i'm trying to connect: Apr 24 23:20:50 spx-dev gdm[739]: gdm_xdmcp_handle_manage: Looked up spx-dev:1 Apr 24 23:20:50 spx-dev gdm[739]: gdm_choose_indirect_lookup: Host 127.0.0.1 not found Apr 24 23:20:50 spx-dev gdm[739]: gdm_forward_query_lookup: Host 127.0.0.1 not found Apr 24 23:20:50 spx-dev gdm[739]: gdm_display_manage: Managing spx-dev:1 Apr 24 23:20:50 spx-dev gdm[739]: loop check: last_start 0, last_loop 0, now: 1145917250, retry_count: 0 Apr 24 23:20:50 spx-dev gdm[739]: Resetting counts for loop of death detection Apr 24 23:20:50 spx-dev gdm[739]: gdm_display_manage: Forked slave: 893 Apr 24 23:20:50 spx-dev gdm[893]: gdm_slave_start: Starting slave process for spx-dev:1 Apr 24 23:20:50 spx-dev gdm[893]: gdm_slave_start: Loop Thingie Apr 24 23:20:50 spx-dev gdm[893]: gdm_slave_run: Opening display spx-dev:1 Apr 24 23:20:51 spx-dev gdm[893]: gdm_slave_greeter: Running greeter on spx-dev:1 Apr 24 23:20:51 spx-dev gdm[893]: gdm_slave_greeter: Greeter on pid 900 Apr 24 23:20:51 spx-dev gdm[893]: Sending GREETPID == 900 for slave 893 Apr 24 23:20:51 spx-dev gdm[739]: Handling message: 'GREETPID 893 900' Apr 24 23:20:51 spx-dev gdm[739]: Got GREETPID == 900 Apr 24 23:20:51 spx-dev gdm[893]: term_quit: Final cleanup Apr 24 23:20:51 spx-dev gdm[893]: gdm_slave_quick_exit: Will kill everything from the display Apr 24 23:20:51 spx-dev gdm[893]: gdm_slave_quick_exit: Killed everything from the display Apr 24 23:20:51 spx-dev gdm[739]: mainloop_sig_callback: Got signal 17 Apr 24 23:20:51 spx-dev gdm[739]: gdm_cleanup_children: child 893 returned 65 Apr 24 23:20:51 spx-dev gdm[739]: gdm_child_action: In remanage Apr 24 23:20:51 spx-dev gdm[739]: gdm_display_unmanage: Stopping spx-dev:1 (slave pid: 0) Apr 24 23:20:51 spx-dev gdm[739]: gdm_display_dispose: Disposing spx-dev:1 Apr 24 23:20:51 spx-dev gdm[739]: gdm_display_unmanage: Display stopped This is /etc/X11/gdm/gdm.conf # NOTE: Lines that begin with "#" are considered comments. # # Have fun! [daemon] GtkModulesList=gail:atk-bridge:/usr/lib/gtk-2.0/modules/libkeymouselistener:/usr/lib/gtk-2.0/modules/libdwellmouselistener AddGtkModules=true [security] DisallowTCP=false AllowRoot=true AllowRemoteRoot=true [xdmcp] Enable=true [gui] [greeter] IncludeAll=false [chooser] [debug] Enable=true [servers] This is /etc/services # Local services # # VNC Servers vnc-800x600 5900/tcp vnc-1024x768 5901/tcp this is the configuration file for xinetd service vnc-800x600 { only_from = 192.168.2.0 disable = no socket_type = stream protocol = tcp wait = no user = nobody server = /usr/bin/Xvnc4 server_args = -inetd -query localhost -geometry 800x600 -depth 24 -fp unix/:7100 -once securitytypes=none } service vnc-1024x768 { only_from = 192.168.2.0 disable = no socket_type = stream protocol = tcp wait = no user = nobody server = /usr/bin/Xvnc4 server_args = -inetd -query localhost -geometry 1024x768 -depth 24 -fp unix/:7100 -once securitytypes=none } The server is running SID with kernel 2.4.18-bf2.4 and the netstat -l is: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:vnc-800x600 *:* LISTEN tcp 0 0 *:vnc-1024x768 *:* LISTEN tcp 0 0 *:x11 *:* LISTEN tcp 0 0 *:ssh *:* LISTEN tcp 0 0 spx-dev:6010 *:* LISTEN udp 0 0 *:xdmcp *:* udp 0 0 *:bootpc *:* Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 817 /tmp/.gdm_socket unix 2 [ ACC ] STREAM LISTENING 847 /tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 691 /tmp/.font-unix/fs7100 No firewall is running between then. Any light will be very much appreciate it. Cheers -- Ferran Donadie Email: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]