LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-15-2010, 09:04 AM   #16
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32

No, I did not update. I formatted my drive and installed 13.1 afresh. That was a few weeks ago. I am currently back on 13.0 fresh install.
 
Old 07-15-2010, 09:10 AM   #17
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
Some of us should have read more carefully and realized that you'd switched back to 13.0 (which you mentioned yesterday).

But if you ever encounter the unresponsive shutdown icon again, you now know how to solve it.

Last edited by dugan; 07-15-2010 at 09:31 AM.
 
Old 07-15-2010, 09:39 AM   #18
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Hi, I must have missed a couple of posts as I don't remember seeing a solution for shutdown/restart or the flash issue.

I saw your question in which you asked about my groups

Code:
siawacsh@redeemer:~$ sudo groups
Password:
root bin daemon sys adm disk wheel floppy audio video cdrom tape plugdev power netdev scanner
I am hoping to get another chance to try 13.1 during the weekend. Flash should install the same way one would on 13.0....??
 
Old 07-15-2010, 09:44 AM   #19
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
Quote:
Originally Posted by siawash View Post
Hi, I must have missed a couple of posts as I don't remember seeing a solution for shutdown/restart
I sure did.

Quote:
Originally Posted by dive View Post
For 1) Are you in power group?
Quote:
Originally Posted by T3slider View Post
For shutdown/restarting you must be a member of the power group and you must be in runlevel 4, not 3. I'm not sure if it would work or not as root -- it is using HAL, so you cannot assume that everything will work for root...root would likely have to be added to the power group as well.
Quote:
Originally Posted by rkelsen View Post
This has nothing to do with the root account. You were asked if your user account was in the 'power' group.
Quote:
Originally Posted by Alien Bob View Post
"1) Are you in power group?". Because, if your account is not in the "power" group, the shutdown button of your desktop manager will not work.
The "groups" output you posted for your 13.0 installation tells you why it is working there: the "power" group is listed.

Last edited by dugan; 07-15-2010 at 09:48 AM.
 
Old 07-15-2010, 09:50 AM   #20
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 siawash View Post
Hi, I must have missed a couple of posts as I don't remember seeing a solution for shutdown/restart or the flash issue.

I saw your question in which you asked about my groups

Code:
siawacsh@redeemer:~$ sudo groups
Password:
root bin daemon sys adm disk wheel floppy audio video cdrom tape plugdev power netdev scanner
I am hoping to get another chance to try 13.1 during the weekend. Flash should install the same way one would on 13.0....??
We asked for the groups you are in... not the groups root is in (which is what you are showing us).

Do not use "sudo groups". Use "groups" !

Eric
 
Old 07-15-2010, 10:40 AM   #21
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
OK, here you are and thanks

Code:
siawacsh@redeemer:~$ groups
users floppy audio video cdrom plugdev
siawacsh@redeemer:~$
 
Old 07-15-2010, 11:37 AM   #22
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
That confirms that the problem is exactly what we've been pointing out once per post. Here's the solution.

Enter the following when you're logged in as root, then log out and log in as siawacsh. If you became root by using su or sudo, then log out as siawacsh and log back in as siawacsh.

Code:
gpasswd -a siawacsh power
After you've done so, post your groups output and tell us if the shutdown and restart buttons have started working.

BTW (and this is not necessarily addressed to siawash), I wasn't aware that you could use sudo from a user account that isn't a member of the wheel group.

Last edited by dugan; 07-15-2010 at 11:46 AM.
 
Old 07-16-2010, 03:47 AM   #23
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Guys, we are talking about skackware 13.1 which I am not using right now. My current system is Slackware 13.0 which has not given the described problems. So I am not clear why your asking me to go through

Code:
gpasswd -a siawacsh power
Unless you mean I should carry out this whenever I reinstall slack 13.1





The reason I use sudo is to give the user siawacsh privilages which the root has. I do this by adding siawacsh sudoers file. For this very reason I always believed sudo and su are distinctly different. The latter logs the user as root and the former just avails the user root privilages. You seem to be indicating that I am wrong in this assumption. Can anyone explain?

Code:
# User privilege specification
root    ALL=(ALL) ALL
siawacsh ALL=(ALL) ALL
Dugan, where in the output of the groups command output does it indicate power?


Code:
siawacsh@redeemer:~$ groups 
users floppy audio video cdrom plugdev
siawacsh@redeemer:~$
 
Old 07-16-2010, 05:37 AM   #24
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,445
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by siawash View Post
Unless you mean I should carry out this whenever I reinstall slack 13.1
Yes. This will add your user to the power group, as discussed above.
Quote:
Originally Posted by siawash View Post
Dugan, where in the output of the groups command output does it indicate power?
It doesn't. This is what is causing your problem. You should execute the command given above in order to add your user to the power group.
 
Old 07-16-2010, 08:39 AM   #25
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Hello, I think we are talking past each other despite our efforts to help each other. You see, I have been saying there are no systemic problems with my current slackware 13.0. Which is why I have been asking about the command

Code:
gpasswd -a power
It does not show power yet is working fine. All shutdown restart buttons work. Unless, this is procedure for the future 13.1 install.If so, that means slack 13.1 install & configuration has changed. Because I did not have to do any of this up to now.
 
Old 07-16-2010, 08:57 AM   #26
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,445
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by siawash View Post
Unless, this is procedure for the future 13.1 install.
Yes.

"HAL is not new anymore, but here are a few notes related to it:
...
2. User accounts with permission to do power-management tasks, such as suspend, hibernate, reboot, and shutdown, via HAL methods should be in the "power" group."


slackware-13.1/CHANGES_AND_HINTS.TXT
 
Old 07-16-2010, 09:04 AM   #27
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
OK that makes it clearer. And the issues around flash is another hurdle, yes?
 
  


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



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

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