LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-04-2009, 01:56 PM   #1
debianboy
LQ Newbie
 
Registered: May 2009
Distribution: Ubuntu 9.04
Posts: 7

Rep: Reputation: 0
Question Shutting Down XFCE in Debian


Hello Everyone,

I have Debian 5.0 Lenny installed on my computer with XFCE. When i go to shutdown, i can't. I have to log out and shutdown from my login screen. Does anyone know what i have to do to be able to shutdown without logging out???

I was thinking about making a launcher to run the command "shutdown" with the proper parameters, so i right clicked my panel, clicked Add new Panel Item, selected Launcher, and entered the information it needed, however it didn't work because i need to be root to be able to run that command. Does anyone know how to make a launcher that will run a command as root, because if you did i could easily solve my problem.

Anyways, thanks in advance
 
Old 05-04-2009, 02:17 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You might just have to add your user to the "shutdown" group.
 
Old 05-04-2009, 02:36 PM   #3
debianboy
LQ Newbie
 
Registered: May 2009
Distribution: Ubuntu 9.04
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez View Post
You might just have to add your user to the "shutdown" group.
Hi pljvaldez, could you please explain how to do that???? Sorry, I'm a semi-noob in linux; i got most of the basics down, but i'm not sure of everything yet *lol*

Thanks
 
Old 05-04-2009, 02:36 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Found this in a mail list

Quote:
Have you read '/usr/share/doc/xfce4-session/README.Debian'?

=== QUOTE ===
Managing shutdown
-----------------

There are three ways to enable user to shutdown the computer from Xfce:

- use sudo, and allow user to run /usr/sbin/xfsm-shutdown-helper in sudoers
- use dbus and hal
- hal and dbus should be installed, up and running
- user should be in powerdev group
- use policykit and a compatible login manager (gdm is known to work)
=== END QUOTE ===

The following is an implementation of the first solution..
http://mydebian.blogdns.org/?p=228
 
Old 05-04-2009, 03:45 PM   #5
debianboy
LQ Newbie
 
Registered: May 2009
Distribution: Ubuntu 9.04
Posts: 7

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by farslayer View Post
Found this in a mail list




The following is an implementation of the first solution..
http://mydebian.blogdns.org/?p=228
thanks farslayer, i was able to get it to work by installing hal and dbus and running this command:

Code:
# usermod -a -G powerdev "username here"
thanks again
 
Old 05-04-2009, 07:30 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Don't feel bad I would have never thought to look for that readme file either... I just got lucky with my google search, but it certainly does answer some questions about a previous install or two of Debian with xfce4. I just need to retain that for future reference as well. Glad you were able to solve your issue
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian xfce dissappointing richag77 Debian 7 08-11-2008 08:10 AM
no sound debian lenny/xfce arkadig Linux - Hardware 3 03-28-2008 07:37 AM
debian etch and xfce 4.3.90-1 Cataract Debian 4 05-25-2006 04:52 AM
Xfce installation for Debian 3.0 chian Debian 4 07-03-2004 05:42 AM
How do I install XFCE on Debian? Teddy B. Linux - Software 2 02-06-2004 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration