After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 359443 - gnome-volume-manager won't start if session started with startx
gnome-volume-manager won't start if session started with startx
Status: RESOLVED FIXED
Product: gnome-volume-manager
Classification: Deprecated
Component: general
2.15.x
Other All
: Normal blocker
: ---
Assigned To: Gnome volume manager maintainers
Gnome volume manager maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-03 22:59 UTC by michal
Modified: 2007-01-21 00:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description michal 2006-10-03 22:59:26 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:
Comment 1 Colin Macdonald 2006-10-15 18:56:09 UTC
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)
Comment 2 Colin Macdonald 2006-10-15 19:32:34 UTC
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.
Comment 3 Nelson Benitez 2006-11-19 16:25:24 UTC
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
Comment 4 Jeffrey Stedfast 2007-01-21 00:20:01 UTC
looks like this has already been fixed in CVS? I see it matching against tty## anyway