Re: /tmp/.X0-lock

2017-05-08 Thread Greg Wooledge
root (verified by your ps output), and this is presumably creating the /tmp/.X0-lock (and/or .tX0-lock) file(s) as root. Then, when you try to run startx as a non-root user, it tries to create the same file(s), but they already exist under a different owner (root), and so it fails. (And this w

Re: /tmp/.X0-lock

2017-05-05 Thread Charles Kroeger
> Does the PID in the lock file correspond to a running process? > > ps -f `cat /tmp/.X0-lock` I get nothing from that command > Are there any running instances of an X server? > > ps -fC Xorg UIDPID PPID C STIME TTY TIME CMD root 2994 2812 0 17:36

Re: /tmp/.X0-lock

2017-05-05 Thread Ben Caradoc-Davies
correspond to a running process? ps -f `cat /tmp/.X0-lock` Are there any running instances of an X server? ps -fC Xorg Kind regards, -- Ben Caradoc-Davies <b...@transient.nz> Director Transient Software Limited <http://transient.nz/> New Zealand

Re: /tmp/.X0-lock

2017-05-05 Thread Charles Kroeger
>ls -ld /tmp drwxrwxrwt 10 root root 20480 May 5 18:58 /tmp (looks good) >ls -l /tmp/.S0-lock -r--r--r-- 1 root root 11 May 5 17:36 /tmp/.X0-lock >df /tmp Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdc1 245996848 42724396 203256068 18% / > If /

Re: /tmp/.X0-lock

2017-05-05 Thread Ben Caradoc-Davies
On 06/05/17 11:06, Charles Kroeger wrote: running freshly upgraded kernel image 4.9.0.3 on normal boot with startx command but getting the following error message from (X server) xorg: could not create lock file in /tmp/.X0-lock (the contents of, are the numbers 2994) unable to connect to the X

/tmp/.X0-lock

2017-05-05 Thread Charles Kroeger
running freshly upgraded kernel image 4.9.0.3 on normal boot with startx command but getting the following error message from (X server) xorg: could not create lock file in /tmp/.X0-lock (the contents of, are the numbers 2994) unable to connect to the X server: connection refused there's a lot