GNOME Bugzilla – Bug 359443
gnome-volume-manager won't start if session started with startx
Last modified: 2007-01-21 00:20:01 UTC
Please describe the problem: If I log in to the system in text mode and then start gnome with startx, gnome-volume-manager refuses to recognise my session as a local session. It quits immediately. The problem appears to be in gvm_local_user, where ut_line is returned as ttyN rather than :0. Steps to reproduce: 1. disable gdm/xdm 2. log in to system in console mode 3. use startx to start a gnome session (I'm using gentoo) Actual results: gvm quits on startup Expected results: Would like gvm to daemonize Does this happen every time? yes Other information:
I can confirm this (well the symptoms anyway), I'm also using startx (and also on Gentoo: see http://bugs.gentoo.org/show_bug.cgi?id=150917)
Workaround as per this thread (thanks Jordan from the Gentoo bug): http://www.mail-archive.com/blfs-support@linuxfromscratch.org/msg06239.html After logging in, I ran "sessreg -a -l $DISPLAY -x /etc/X11/xdm/Xservers cbm" where cbm is my username. Then gnome-volume-manager runs correctly. Before this "fix": $ who root tty1 Sep 19 21:23 cbm tty6 Oct 15 10:48 cbm pts/0 Oct 15 10:49 (:0.0) cbm pts/1 Oct 15 10:49 (:0.0) After: $ who root tty1 Sep 19 21:23 cbm tty6 Oct 15 10:48 cbm pts/0 Oct 15 10:49 (:0.0) cbm pts/1 Oct 15 10:49 (:0.0) cbm :0.0 Oct 15 12:22 Now gnome-volume-manager finds the :0.0 and works.
I've hit this bug also, but the good news is that this is already fixed in gnome-volume-manager-2.17.0 , exactly was fixed with this commit[1], I'm also running gentoo and I only copied the gnome-volume-manager-2.15.0.ebuild to my local overlay and rename it to 2.17 , update the digest and it emerged well and worked fine. [1] http://cvs.gnome.org/viewcvs/gnome-volume-manager/src/manager.c?r1=1.152&r2=1.153
looks like this has already been fixed in CVS? I see it matching against tty## anyway