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
> 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
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
>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 /
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
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
6 matches
Mail list logo