LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-18-2006, 02:56 PM   #1
cuk
Member
 
Registered: Jun 2004
Distribution: slackware 10.2.
Posts: 39

Rep: Reputation: 15
2questions> uname, xfce


Hello
I have 2 questions:
How come uname -p returns unknown? (just curious)

I use xfce, when I want to shutdown, the quit options include only "Quit current session", "reboot..." and "turn off.." are grey. I quit the session and turn off the computer from kdm. How to eliminate this extra step and enable the reboot and shutdown options in xfce quit dialogue?

Thanks in advance for answers.
 
Old 09-18-2006, 03:42 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
Hello
I have 2 questions:
How come uname -p returns unknown? (just curious)
Well I don't know what your machine is (this is athlon-4) but if your OS can't figure it out, it tells you it's unknown. Nothing more spectacular.

Quote:
I use xfce, when I want to shutdown, the quit options include only "Quit current session", "reboot..." and "turn off.." are grey. I quit the session and turn off the computer from kdm. How to eliminate this extra step and enable the reboot and shutdown options in xfce quit dialogue?
Are you sure that it isn't a permissions problem? KDM might be run on higher privileges than XFCE..just a guess though. I just installed XFCE and the shutdown command works well.

Quote:
Thanks in advance for answers.
No problem, though I might not prove so helpful.. guesses, guesses.
 
Old 09-18-2006, 04:24 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by cuk
How come uname -p returns unknown? (just curious)
Uname has become smarter in Slackware 11.0 and will return something more appropriate than "unknown".
If you want a package for Slackware 10.2 that contains the patch for uname, look here: http://www.slackware.com/~alien/slac...tils/pkg/10.2/

Eric
 
Old 09-19-2006, 11:53 AM   #4
cuk
Member
 
Registered: Jun 2004
Distribution: slackware 10.2.
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks fro the answers,
uname is not important, I was only curious.
I found no solution to the shutdown issue, but is no big deal either.
Have a good day
 
Old 09-19-2006, 12:12 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You need to edit your sudoers file to be able to use the shutdown buttons in Xfce. This is done with visudo. You need to add the following line to the file:

username hostname = NOPASSWD: /usr/libexec/xfsm-shutdown-helper,

replacing username and hostname with the appropriate strings. Of course, you'll need the sudo package installed for this to work.
 
  


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
uname -i stevesk Linux - Newbie 10 08-02-2006 11:21 PM
Xfce problems with task bar and xfce-panel aeruzcar Linux - Software 4 06-26-2006 05:29 AM
uname -a Jeebizz Slackware 18 05-03-2005 04:53 PM
uname -r 2.6.4 /bin/bash General 25 03-16-2004 07:14 AM
uname -s jpbarto Linux - General 2 07-31-2003 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:10 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