Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
really log out of gnome
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Goodfella
n00b
n00b


Joined: 10 Apr 2002
Posts: 13

PostPosted: Wed Dec 04, 2002 3:52 pm    Post subject: really log out of gnome Reply with quote

Hi

I'm struggling with a little problem. When I want to reboot the computer while using gnome 2 it actually log outs and ends up in the gdm greeter.

Is there anyway to really "shutdown" or "restart the computer"?

I've searched everywhere for this little problem

Thanx in advance
Back to top
View user's profile Send private message
herbie
Guru
Guru


Joined: 09 Oct 2002
Posts: 319
Location: London UK

PostPosted: Wed Dec 04, 2002 5:53 pm    Post subject: Reply with quote

I was having this same problem. It seems that gnome just runs /usr/bin/poweroff or /usr/bin/reboot as your user when you select shutdown or reboot respectively. I don't think that there is anything at those locations by default in gentoo so you'll need to put a couple of scripts there that enable a normal user to shutdown or reboot.

You could do this by symlinking /usr/bin/reboot to /sbin/halt and setting /sbin/halt setuid root. This is pobably a bad idea in terms of security and you should realy use sudo or some such program.

Why the designers insist on running reboot and halt as user I have no idea. You can just logout and then shutdown from the gdm menu anyway (which runs reboot as root) so it's no more secure.

anyway, hope that helps
Herbie.
Back to top
View user's profile Send private message
foser
Retired Dev
Retired Dev


Joined: 28 Oct 2002
Posts: 154

PostPosted: Wed Dec 04, 2002 7:20 pm    Post subject: Reply with quote

Herbie is correct, i have changed the gnome-session setting defaults to not show the confusing dialog anymore.
_________________
Gentoo Gnome Desktop team
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum