Public bug reported:
Binary package hint: gdm
Problem occurs on headless server (no screen, no keyboard) which I have
just upgraded from 8.04 LTS to 10.04 LTS. I believe the problem appeared
after the upgrade. It may be related to 433928 and 578013.
The first VNC connection from a remote system works correctly. After a
normal logout from this first server session (which closes the remote
vncviewer window), subsequent VNC connection attempts fail with the
ubiquitous read: Connection reset by peer (104) message.
Restarting gdm allows connections to be made again.
The following syslog sequence shows the messages from the sequence:
1. failed connection attempt
2. restart gdm
3. successful connection attempt
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Jul 19 11:15:52 uranus console-kit-daemon[859]: WARNING: Couldn't read
/proc/4091/environ: Failed to open file '/proc/4091/environ': No such file or
directory
Jul 19 11:16:54 uranus gdm-binary[5641]: WARNING: Unable to find users: no
seat-id found
Jul 19 11:16:54 uranus acpid: client 3941[0:0] has disconnected
Jul 19 11:16:54 uranus acpid: client connected from 5645[0:0]
Jul 19 11:16:54 uranus acpid: 1 client rule loaded
Jul 19 11:17:01 uranus gdm-simple-greeter[5681]: Gtk-WARNING:
/build/buildd/gtk+2.0-2.20.1/gtk/gtkwidget.c:5636: widget not within a
GtkWindow
Jul 19 11:17:01 uranus CRON[5686]: (root) CMD ( cd / && run-parts --report
/etc/cron.hourly)
Jul 19 11:17:02 uranus gdm-simple-greeter[5681]: WARNING: Unable to write to
login cache file: /var/lib/gdm/.cache/login_frequency.cache
Jul 19 11:17:02 uranus xinetd[5693]: warning: can't get client address:
Transport endpoint is not connected
Jul 19 11:17:13 uranus gdm-simple-greeter[5720]: Gtk-WARNING:
/build/buildd/gtk+2.0-2.20.1/gtk/gtkwidget.c:5636: widget not within a
GtkWindow
Jul 19 11:17:15 uranus gdm-simple-greeter[5720]: WARNING: Unable to write to
login cache file: /var/lib/gdm/.cache/login_frequency.cache
Jul 19 11:17:19 uranus gdm-session-worker[5722]: GLib-GObject-CRITICAL:
g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed
Jul 19 11:17:29 uranus gnome-session[5738]: WARNING: Could not launch
application 'gnome-volume-manager.desktop': Unable to start application: Failed
to execute child process "/usr/lib/gnome-volume-manager/gnome-volume-manager"
(No such file or directory)
---------------------------------------------------------------------------------------------------------------------------------------------------------------
and the processes running after the successful connection:
vi...@uranus:/var/log$ ps ax|grep gdm
5641 ? Ssl 0:00 gdm-binary
5642 ? Sl 0:00 /usr/lib/gdm/gdm-simple-slave --display-id
/org/gnome/DisplayManager/Display1
5645 tty8 Ss+ 0:02 /usr/bin/X :0 -br -verbose -auth
/var/run/gdm/auth-for-gdm-7LmKg3/database
5667 ? Ssl 0:00 /usr/bin/gnome-session
--autostart=/usr/share/gdm/autostart/LoginWindow/
5673 ? Ss 0:00 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
--gconf-prefix=/apps/gdm/simple-greeter/settings-manager-plugins
5681 ? S 0:01 /usr/lib/gdm/gdm-simple-greeter
5683 ? S 0:00 /usr/lib/gdm/gdm-session-worker
5694 ? Sl 0:00 /usr/lib/gdm/gdm-simple-slave --display-id
/org/gnome/DisplayManager/Display2
5722 ? Sl 0:00 /usr/lib/gdm/gdm-session-worker
5993 pts/1 S+ 0:00 grep gdm
Packages in use:
Linux uranus 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC
2010 i686 GNU/Linux
gdm 2.30.2.is.2.30.0-0ubuntu2
gnome-session-bin 2.30.0-0ubuntu1
vnc4server 4.1.2
vnc4-common 4.1.2
My current workround is *not* to logout but close the remote vncviewer
process. The Xvnc session on the server then continues and I reuse it on
subsequent connections.
** Affects: gdm (Ubuntu)
Importance: Undecided
Status: New
--
VNC on Lucid: Connection reset by peer (104) after first session logout
https://bugs.launchpad.net/bugs/607175
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs