You are not logged in.
I can start a virtual X session with
startx -- :1 &
Then I'm able to switch to tty8. When I'm done I want to close these X session on tty8.
Is there any console command to do this?
Last edited by arcc (2011-12-04 22:37:28)
Offline
If you launched it from a term from :0, just go back to :0 and ctrl-c - X will properly shutdown.
Offline
That works theoretically. But I run the startx command in the background, because it's a part of a script.
Offline
I'm running X on tty4 and it's the only process listed to run there:
[karol@black ~]$ pidof X
18850
[karol@black ~]$ pgrep -t tty4
18850
Have you tried killing it with pkill?
Last edited by karol (2011-12-04 22:23:20)
Offline
pkill -t tty8
works.
Thanks!
Offline