LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Change Virtual Console in Xwindow (https://www.linuxquestions.org/questions/linux-newbie-8/change-virtual-console-in-xwindow-338862/)

Murdock1979 06-30-2005 05:13 PM

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!
MRDK

zackarya 06-30-2005 05:19 PM

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.

Zack

Murdock1979 06-30-2005 05:26 PM

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
MRDK

PTrenholme 06-30-2005 05:37 PM

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.


All times are GMT -5. The time now is 05:12 PM.