LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2012, 05:45 AM   #1
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Sabayon, Debian, Puppy (Racy), Slackware
Posts: 548

Rep: Reputation: 45
chvt - how?


How do I get back to the X desktop after chvt?
 
Old 11-07-2012, 10:46 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
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.
 
Old 11-09-2012, 12:27 AM   #3
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Sabayon, Debian, Puppy (Racy), Slackware
Posts: 548

Original Poster
Rep: Reputation: 45
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
...
 
Old 11-09-2012, 02:18 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by turboscrew View Post
How do I find out which VT is used by X?
The answer was in your post.

Evo2.
 
Old 11-11-2012, 05:27 AM   #5
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Sabayon, Debian, Puppy (Racy), Slackware
Posts: 548

Original Poster
Rep: Reputation: 45
Oh yes, tty8...
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
chvt and module loading oldfolio Slackware 2 04-01-2011 04:36 AM
chvt 8 leads me to blank screen, how can i come back to working terminal? dhirsolo Linux - Newbie 4 10-19-2010 10:12 AM
FAcing Problem with gconf -editor and 'chvt 1' arun.tayal Linux - Desktop 0 01-11-2008 09:57 AM
bash# "chvt N" as non-root says 'Operation not permitted' GrapefruiTgirl Linux - Desktop 4 09-16-2007 04:44 PM


All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration