I know this sounds ridiculous at first glance, but I started X session from root with
# X :1 vt08 &
So I guess sudo stop lightdm
would be overkill. How can I stop that instance of X server without stopping main X session?
I know this sounds ridiculous at first glance, but I started X session from root with
# X :1 vt08 &
So I guess sudo stop lightdm
would be overkill. How can I stop that instance of X server without stopping main X session?
You should be able to find the PID of the running X instances and kill the one you don't want. For example:
Your output will have more than one PID since you are running multiple instances, so make sure you pick the right one.