Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #180761

Re: /tmp/.X0-lock

From Charles Kroeger <ckrogrr@frankensteinface.com>
Newsgroups linux.debian.user
Subject Re: /tmp/.X0-lock
Date 2017-05-06 04:20 +0200
Message-ID <tDXu9-1X9-1@gated-at.bofh.it> (permalink)
References <tDUFX-8qC-1@gated-at.bofh.it> <tDUPD-8u1-13@gated-at.bofh.it> <tDVLH-BI-3@gated-at.bofh.it> <tDWeJ-MR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

> 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

UID        PID  PPID  C STIME TTY          TIME CMD
root      2994  2812  0 17:36 tty7     00:01:23 /usr/lib/xorg/Xorg :0 -seat
seat0 -auth /var/run/lightdm/root/:0 -nolist

that would be the one I'm using. I will try that command after stopping the
X-server

after stopping the X-server I ran: ps --fC Xorg
UID PID PPID C STIME TTY TIME CMD

on running startx (as user) the X server failed to start with these error
messages:

(EE) could not create lock file in /tmp/.tX0-lock

Xinit: unable to connect to X server: connection refused

Xauth: error in locking authority file /home/charles/.Xauthority

the contents of this file is some machine language symbols and some
english -MIT-MAGIC-COOKIE-1   (and) mundo 0  -MIT-MAGIC-COOKIE-1
(and that is all)

thanks for being patient,

--
CK

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

/tmp/.X0-lock Charles Kroeger <ckrogrr@frankensteinface.com> - 2017-05-06 01:20 +0200
  Re: /tmp/.X0-lock Ben Caradoc-Davies <ben@transient.nz> - 2017-05-06 01:30 +0200
    Re: /tmp/.X0-lock Charles Kroeger <ckrogrr@frankensteinface.com> - 2017-05-06 02:30 +0200
      Re: /tmp/.X0-lock Ben Caradoc-Davies <ben@transient.nz> - 2017-05-06 03:00 +0200
        Re: /tmp/.X0-lock Charles Kroeger <ckrogrr@frankensteinface.com> - 2017-05-06 04:20 +0200
          Re: /tmp/.X0-lock Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-08 14:20 +0200

csiph-web