Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154261 - gdm-2.16.1 menu entry for gdmsetup doesn't work
Summary: gdm-2.16.1 menu entry for gdmsetup doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-06 09:34 UTC by Ian Abbott
Modified: 2006-12-17 11:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Abbott 2006-11-06 09:34:26 UTC
When logged into a GNOME 2.16 desktop as a normal user, the menu entry 'System -> Administration -> Login Window' doesn't work. It produces an error box:

  Could not launch menu item

  Failed to execute child process 
  "gdmsetup" (No such file or directory)

The /usr/share/applications/gdmsetup.desktop file contains these lines:

  TryExec=/usr/sbin/gdmsetup
  Exec=gdmsetup

Isn't it supposed to do something with gnomesu and dbus-launch these days?
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-06 09:39:46 UTC
Different problem.  For me, it says "You must be root".  Do you have /usr/sbin/gdmsetup?
Comment 2 Ian Abbott 2006-11-07 02:13:51 UTC
Yes, I have /usr/sbin/gdmsetup.  I'm guessing the error message comes from the 'Exec' line (without the full path), rather than the 'TryExec' line (with the full path), as I do not have /usr/sbin in my $PATH.
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-07 09:14:59 UTC
Try 2.16.2.  It uses gksu to run it, which should have /usr/sbin in it's path.
Comment 4 Ian Abbott 2006-11-08 05:55:53 UTC
Thanks, Daniel.

For gdm-2.16.1, just changing the line

  Exec=gdmsetup

to

  Exec=gksu gdmsetup

in /usr/share/applications/gdmsetup.desktop worked fine (which is basically what the patch added to the gdm-2.16.2 ebuild does).

I have just tried gdm-2.16.2 and that works fine too.
Comment 5 Le retraité 2006-12-16 17:32:37 UTC
can someone set this bug as fixed ?
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2006-12-17 11:35:41 UTC
Closing fixes as per comment #5