You are not logged in.

#1 2011-12-25 11:27:24

operator
Member
Registered: 2011-12-25
Posts: 5

XFCE Permissions

I have very common problem with XFCE.
Permissions for Shutdown/Restart
Permissions for mounting

My login manager is qingy.
When I login as root there is no problem in anything.
But when I login as regular user I cant automount or restart.

users groups are:
disk lp wheel ftp uucp games network video audio optical storage scanner power camera users

Any suggestions

Offline

#2 2011-12-25 12:45:52

kurych
Member
From: Saint-Petersburg, Russia
Registered: 2011-12-07
Posts: 27

Re: XFCE Permissions

From wiki:

If you have not created a ~/.xinitrc yet, do so with:

$ cp /etc/skel/.xinitrc ~/.xinitrc
and add the following line:
exec ck-launch-session startxfce4

Example:

~/.xinitrc
#!/bin/sh

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

exec ck-launch-session startxfce4

Package consolekit should be installed for that.

Offline

#3 2011-12-25 13:07:56

broken pipe
Member
Registered: 2010-12-10
Posts: 238

Re: XFCE Permissions

in .xinitrc:
ck-launch-session dbus-launch xfce4-session

consolekit should be installed as a dependency of xfwm

Offline

#4 2011-12-25 13:30:00

operator
Member
Registered: 2011-12-25
Posts: 5

Re: XFCE Permissions

works when I use xinitrc file.
But I need to run xfce and i3wm on same machine so I use files in /etc/X11/Sessions where i copy-pasted xinitrc for both of them there it didn't worked.

Offline

#5 2011-12-25 14:40:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: XFCE Permissions

I don't think I get why can't you use .xinitrc for both. You can have separate .xinitrc files or https://bbs.archlinux.org/viewtopic.php … 68#p971168

Offline

#6 2011-12-25 15:23:08

operator
Member
Registered: 2011-12-25
Posts: 5

Re: XFCE Permissions

I just don't know how to set up qingy to it. I need to choose while logging In.
I used solution for multiple sessions founded in arch qingy wiki.

Offline

Board footer

Powered by FluxBB