You are not logged in.
Pages: 1
Hi there,
on my PC is Archlinux with Xfce4.6 with SLiM as login manager running. It work's well, except of the shutdown. :cry:
Every button is grey/unavailable excluding the logout one.
Does somebody know, how to fix it?
Regards,
Squall
Offline
I don't know your setup but they greyed out buttons you describe resemble a session started from the TTY and not a login manager. I would check the info on the Slim login manager and see what it supports.
Simon. (^_^)
TIP: Proofread carefully to see if you any words out.
=====================================================================
Offline
You also should have access to shut a PC down via Xfce's session manager. This is done via /etc/sudoers, following line:
username localhost = NOPASSWD: /usr/lib/xfsm-shutdown-helper
Replacing username by %users gives all users access to shutdown. You can edit the sudoers file with the command visudo (but only as root).
Offline
You also should have access to shut a PC down via Xfce's session manager. This is done via /etc/sudoers, following line:
username localhost = NOPASSWD: /usr/lib/xfsm-shutdown-helper
Replacing username by %users gives all users access to shutdown. You can edit the sudoers file with the command visudo (but only as root).
It is actually
username localhost = NOPASSWD: /usr/sbin/xfsm-shutdown-helper
Offline
Hi there,
thanks for your answers.
I tried it with sudo (before I hadn't it installed), but it still doesn't work. In Archlinux the path to xfsm-shutdown-helper is /usr/lib/xfce4/xfsm-shutdown-helper.
My line in "visudo" is:
christian localhost = NOWPASSWD: /usr/lib/xfce4/xfsm-shutdown-helper
Perhaps there's something wrong in my line?
A friend of mine, who also uses Archlinux with Xfce says it works with gdm. Maybe I should try gdm?
Regards,
Squall
Offline
Hmmm -- this gets beyond my knowledge (also -- I do not know SLiM or what sort of specifics it may have). Just one question to be certain -- SLiM is starting Xfce via a call to xfce4-session (similar point as made by SimonJ)?
Offline
christian localhost = NOWPASSWD: /usr/lib/xfce4/xfsm-shutdown-helper
Perhaps there's something wrong in my line?
You can try with NOPASSWD rather than NOWPASSWD
Offline
How is slim staring xfce? Does it use .xinitrc, .xsessions or just startx?
I use slim with .xinitrc and use this line:
*)
exec startxfce4
;;
This is with 4.4.2 though.
Siduction
Debian Sid
Xfce 4.20 with Wayland/Wayfire
Offline
Try this:
addgroup your_user powerdev
url: blog.desdelinux.net
twt: @elavdeveloper
Offline
How is slim staring xfce? Does it use .xinitrc, .xsessions or just startx?
I use slim with .xinitrc and use this line:
*) exec startxfce4 ;;
This is with 4.4.2 though.
Hmmm -- this gets beyond my knowledge (also -- I do not know SLiM or what sort of specifics it may have). Just one question to be certain -- SLiM is starting Xfce via a call to xfce4-session (similar point as made by SimonJ)?
It uses .xinitrc as it seems. First, when I don't had a .xinitrc file, I must create one to login with SLiM.
The content of my .xinitrc file is:
exec ck-launch-session startxfce4
You can try with NOPASSWD rather than NOWPASSWD
Sorry, it was. I couldn't copy it out of my console, so I had to type it.
Try this:
addgroup your_user powerdev
My system doesn't provide the tool addgroup, but I tried with gpasswd -a christian powerdev and it told me:
unknown group: powerdev
gpasswd: Permission denied.
And then I've tried using gdm but it still does not work. I start gdm with /etc/inittab ->
x:5:respawn:/usr/sbin/gdm -nodaemon
If it doesn't work with SLiM nor with gdm, what can I do? :-(
Regards,
Squall
Offline
Okay, I think I got the problem!
In the sudo configuration I wrote:
christian localhost=NOPASSWD:/usr/lib/xfce4/xfsm-shutdown-helper
A friend gave me a link to the Archwiki: http://wiki.archlinux.org/index.php/All … _way:_Xfce
I noticed, that I have to add my hostname, which I can figure out with the command "hostname". (I didn't need it, because I know the hostname of my Arch. ;D I just needed it to realize, that I cannot use localhost.
After replacing localhost by tux (my hostname ), it worked.
Thanks a lot for your answer!
Offline
I used to not have this problem, then realised that when I did (after suspending my laptop instead of shutting down).
I remembered what changed: I went to Session and Startup, and in the General tab enable "Prompt on logout".
Offline
I don't remember what hostname I set at install. How do I find out?
Offline
bohu: "hostname" in a terminal
Offline
Pages: 1
[ Generated in 0.017 seconds, 8 queries executed - Memory usage: 572.71 KiB (Peak: 589.55 KiB) ]