[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /tmp/.X0-lock



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


Reply to: