Re: Could not create server lock file: /tmp/.X1-lock
Kent West said...
> marc wrote:
> > Laurent CARON said...
> >
> >> marc wrote:
> >>
> >>> Hi,
> >>>
> >>> I have installed xserver-xgl and can run it and compiz from a KDE root
> >>> session -- wobbly bits and all. However, when I try to login -- using
> >>> the same scripts -- I receive the following:
> >>>
> >>> Xsession: X session started for marc at Mon Aug 21 18:48:57 BST 2006
> >>>
> >>> Fatal server error:
> >>> Could not create server lock file: /tmp/.X1-lock
> >>>
> >>> xset: unable to open display ":1"
> >>>
> >>> and so on.
> >>>
> >>> To login, I have created:
> >>>
> >>> /usr/shar/xsessions/xgl.desktop
> >>>
> >>> which can be selected from the KDM panel. All this does is call:
> >>>
> >>> /usr/local/startxgl.sh
> >>>
> >>> #!/bin/sh
> >>> Xgl :1 -fullscreen -ac -accel xv:fbo -accel glx:pbuffer &
> >>> DISPLAY=:1
> >>> exec startkde
> >>>
> >>> As I say, this all works from root, but from an regular user it is
> >>> effectively halting at the line commencing Xgl.
> >>>
> >>> Any ideas? Thanks.
> >>>
> >>>
> >> chmod 1777 /tmp
> >>
> >
> > Yup, /tmp is already 1777
> >
> >
>
> I saw something similar about half a year ago on my Sid box. If I ever
> rebooted, I'd have to change perms on a hidden directory in /tmp to root
> ownership. I'm not sure which one, but I think it was either:
>
> drwxrwxrwt 2 root root 1024 2006-08-15 10:14 .ICE-unix
>
> or
>
> drwxrwxrwt 2 root root 1024 2006-08-15 10:14 .X11-unix
Ah, a reboot cleared it <shrug Windows-style>
--
Best,
Marc
Reply to: