Page 1 of 2

User name changed - no restart shutdown, suspend, hibernate

Posted: 05 Jan 2015, 01:03
by Rava
Like with every new Port version, I tweak it to be not just guest at my PC, but "rava".

I now can no longer shutdown, suspend, hibernate or restart the PC via the XFCe menu.

I changed all "guest" entries in /etc/group to "rava".
Do I have to make similar changes in different files as well? I googled the issue and only found info about changing /etc/group

Re: User name changed - no restrtm shutdown, suspend, hibern

Posted: 05 Jan 2015, 03:53
by francois
xfce panel menu > right click > panel > add new items > action buttons (in my case it calls it root, I work in root mode)

Will add a button with these functions on your panel.

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 05 Jan 2015, 04:45
by Rava
The entry is there, at the right bottom of the main panel menu aka Whisker menu:
Image
But it is to no prevail:
Image

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 05 Jan 2015, 09:30
by beny
hi, rava you have your user in power group? and i have found also seem you need to remove Try removing "--with-ck-launch" from .xinitrc. Log out and log back in.but if you have a xinitrc that point to xfce4,

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 05 Jan 2015, 22:47
by Rava
beny wrote:hi, rava you have your user in power group? and i have found also seem you need to remove Try removing "--with-ck-launch" from .xinitrc. Log out and log back in.but if you have a xinitrc that point to xfce4,
I searched for "guest" in all files and subfolders in /etc and in /home/guest (my home dir that the running system uses is, of course, /home/rava) and only found the /etc/group entries I all changed from guest to rava.

I found no "guest" in /home, and so not found the "--with-ck-launch" in .xinitrc.
I try that and give you the heads up when I restarted X on one of my (currently 2) PCs with Ports running 3.1-x86-64. :friends:

(They are the only PCs x86-64 capable that I currently use, the other is the i486 Samsung sub notebook, I think about switching to a puppy varian since it is not powerful enough for Port, not the way I use Palemoon and whatnot. :D

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 06 Jan 2015, 12:40
by beny
hi rava i have formatted a key and put in porteus xfce with guest account i have all the power control button on my desktop,if you remove guest entry but you have to start with a new user named rava so maybe you have to add user named rava and remove guest user,ok seem like a gibberish,have sense for you?

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 06 Jan 2015, 14:08
by Rava
beny wrote:hi rava i have formatted a key and put in porteus xfce with guest account i have all the power control button on my desktop,if you remove guest entry but you have to start with a new user named rava so maybe you have to add user named rava and remove guest user,ok seem like a gibberish,have sense for you?
Sounds a bit glibberish for me indeed. What do you mean with "I have formatted a key".

Me thinks it is some security key thingy? That some part looks for credentials that are only valid for "guest" and have to be created (by root me thinks) for any other user who should get the rights?

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 06 Jan 2015, 14:20
by beny
hi rava, my usb system not have aufs so it is a bit different so i have formatted a key with ext4 and put in porteus xfce4,now with the guest account work everything my goal it is remove guest account and build another one and see if the power section work or not with the new one, my system is like your x64

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 07 Jan 2015, 10:32
by beny
hi rava, a report here: i have add a new user,link it to the group where guest exist,delete the guest account with deluser, now with the first option in boot loader, gui option ,i have to log in inside the desktop environment as user and i have all the power option on when i log out,but if i use the txt mode log in no way, the song remain the same no power option to the user only log out. fanthom can answer better that me why in init 4 logged as user it is possible to manage power option and in txt mode not.

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 07 Jan 2015, 17:38
by tome
i have all the power option on when i log out
Have you tried these options? You don't need root password for reboot, shutdown?

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 07 Jan 2015, 17:47
by beny
if i use the gui option i have the log in inside the booted system so i put in my user and password and yes i have all the power option.i think is related with the boot desktop manager i have removed guest account but at init4 the log in is make from guest so the password inside the DE

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 07 Jan 2015, 18:02
by beny
i think fanthom can answer but at init 3 txt mode with the same account power option are out,at init 4 i can do with the same account reset poweroff and so on.

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 07 Jan 2015, 18:03
by tome
but what happen when you click reboot or shutdown? Be me nothing - only password prompt (test for new user)

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 07 Jan 2015, 18:04
by beny
wait a moment i log out and reboot in gui option

Re: User name changed - no restart shutdown, suspend, hibern

Posted: 07 Jan 2015, 18:13
by beny
i can confirm you with my user named remo i have suspended and rebooted so i think fanthom can explain us how tweak the alias of guest account removed.the init4 boot option,