[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't start X-Server as normal user



web32p2@onlime.ch wrote:
# startx ...works
$ startx ...does not
In /home/sam/.xsession-errors I can see
Xsession: X session started for sam at Fre Jul 25 09:07:21 CEST 2008
open: Permission denied

Now, I saw somewhere on the web[1] that
chmod 1777 /tmp
might solve the problem. I remember that I was
not able to write to /tmp after the problem came.

I will try this when I am back home after work and let
you know.

sam

[1] linuxforen.de



For directory /tmp, you should chmod 777 /tmp and chmod o+t /tmp[1]
The t means stick, man chmod for detail.

[1]
dhh@mud:~$ stat /tmp
 File: `/tmp'
 Size: 2048            Blocks: 4          IO Block: 4096   directory
Device: 808h/2056d      Inode: 2           Links: 6
Access: (1777/drwxrwxrwt)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2008-07-28 20:55:21.000000000 +0800
Modify: 2008-08-06 10:50:21.000000000 +0800
Change: 2008-08-06 10:50:21.000000000 +0800
dhh@mud:~$


Reply to: