Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-30-2005, 05:13 PM   #1
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
Change Virtual Console in Xwindow

Hello Everybody!

In BASH command-line I can use ALT-# to jump to other virtual consoles (tty1, tty2, etc.)

Is there anyway to do this in XWindow KDE 3.2?

Happy linuxing!
Old 06-30-2005, 05:19 PM   #2
Registered: Jul 2003
Distribution: OpenSuse 10, Debian
Posts: 152

Rep: Reputation: 30
When your in X, open an xterm. It will be opened as pty/n where n is the
number of the pty. pty is a pseudo tty and is how X does it.

This is the common way but there are others so it may be different for you.

So if you open a xterm, type ps and it'll tell you what pty your on.
Then you can just use it like a regular tty. If you wanted to write
to it for example you would just type:

write username pts/n

assuming mesg is set to y.

Hope that helps.

Old 06-30-2005, 05:26 PM   #3
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Original Poster
Rep: Reputation: 30
Thanks Zack,

The application I need this for is to remain logged in as root, lock the screen in Xwindow, and move to another console for others users to log onto the system.

I will try your method. If you have any other suggestions, please don't be shy.

Thanks a 'mil
Old 06-30-2005, 05:37 PM   #4
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
I think all that's a "built in" function under KDE in FC4. Just open a new "Screen Session" (in the "Terminal Sessions" menu item), using the "lock" option.

Not sure about connecting to the virtual screen from a remote console -- never tried it.

I'd assumed it was a feature of KDE 3.4, but perhaps it's a FC4 feature.


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
Xwindow depth change from 24 to 8! madamson Solaris / OpenSolaris 1 10-06-2005 03:15 AM
virtual console Ammad Linux - Networking 2 04-05-2005 10:20 PM
xwindow refreshrat change? blither Linux - Software 0 10-14-2003 05:38 PM
virtual console kjsubbu Linux - Networking 0 07-23-2003 11:18 AM
Change change virtual terminals acid2000 Linux - Software 0 05-28-2003 04:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:42 PM.

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