You are not logged in.

#1 2012-02-08 09:47:45

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Error copying '/var/run/lxdm/lxdm-:0.auth' pernission denied

When trying gksu or gksudo thunar i get this message;

Error copying '/var/run/lxdm/lxdm-:0.auth' to '/tmp/libgksu-2iSv0f': pernission denied

And a pop up "Failed to run Thunar as root" - "Unable to copy the user's Xauthorization file." My Xauth file do look like this;
-rw------- 1 username username 44  8 feb 08.03 .Xauthority

Google or LXDE forums does not give anything at all on this.
Another problem is that /var/log/lxdm.log doesn't have the right persmissions either;
-rw-r----- 1 root root 21K  8 feb 09.57 /var/log/lxdm.log
And I can't figure out where lxdm sets the permission. I've tried chmod it but it reverts back on boot. All otther log files have this;
-rw-r--r-- 1 root root or this -rw-r----- 1 root log, which makes them readable by cat without sudo.

EDIT; I start lxdm from inittab with; x:5:respawn:/usr/sbin/lxdm >& /dev/null, and dbus, lxsession and console-kit (and policy-kit) are running under openbox.

EDIT #2; sudo thunar works ...

EDIT #3; gksu -w -u root thunar  - works as intended, but with this message; "/usr/bin/xauth:  timeout in locking authority file /var/run/lxdm/lxdm-:0.auth"

Last edited by swanson (2012-02-08 12:18:18)

Offline

#2 2012-02-20 08:49:13

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Error copying '/var/run/lxdm/lxdm-:0.auth' pernission denied

Well, never found any solution for this so I switched to lightdm instead.

Offline

Board footer

Powered by FluxBB