LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   chvt - how? (https://www.linuxquestions.org/questions/linux-newbie-8/chvt-how-4175436050/)

turboscrew 11-07-2012 05:45 AM

chvt - how?
 
How do I get back to the X desktop after chvt?

evo2 11-07-2012 10:46 PM

Hi,

perhaps I'm missing something here, but you can use "chvt n", or <Ctrl>-<Alt>-<Fn> where n is the VT X is running on.

Evo2.

turboscrew 11-09-2012 12:27 AM

How do I find out which VT is used by X?

PID TTY STAT TIME COMMAND
...
1065 tty8 Ss+ 4:11 /usr/bin/X :0 -audit 0 -auth /var/lib/mdm/:0.Xauth -n
...
5718 pts/1 R+ 0:00 ps -ax
...

evo2 11-09-2012 02:18 AM

Hi,
Quote:

Originally Posted by turboscrew (Post 4825512)
How do I find out which VT is used by X?

The answer was in your post.

Evo2.

turboscrew 11-11-2012 05:27 AM

Oh yes, tty8...
Thanks.


All times are GMT -5. The time now is 07:16 PM.