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


Groups > linux.debian.user > #180760

Re: /tmp/.X0-lock

From Ben Caradoc-Davies <ben@transient.nz>
Newsgroups linux.debian.user
Subject Re: /tmp/.X0-lock
Date 2017-05-06 03:00 +0200
Message-ID <tDWeJ-MR-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>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/05/17 12:09, Charles Kroeger wrote:
> not that I know of how do you tell if there's another X server running. I mean
> there is after I do a sysvinit boot (from the grub advanced menu) but on a
> reboot of course the X server obviously shuts down (or does it?)

Does the PID in the lock file 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 <ben@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

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