-   Linux - Hardware (
-   -   Terminal monitor (

Fophillips 12-07-2006 01:03 PM

Terminal monitor
If you are running X and then type startx in terminal it says "Server is already operation on display 0" (or something to that effect), does that mean you can have X running on display 0 and have a terminal not running X on display 1? If so, how would you go about doing it? I'm running openSUSE 10.1, hoping to upgrade to 10.2 when it finishes downloading (two days according to the torrent), at the moment I am running kernel 2.6.12.

MoonMind 12-07-2006 01:40 PM

Normally, you'll have a couple of virtual terminals running on your system (most distributions I've used use either six or four); you can reach them by pressing Ctrl+Alt+[F1-F6]. But please, before you try that out, you'll have to know how to get back to your X session - I can't tell you which Ctrl+Alt+Fx combination will do that on YOUR system. However, pressing them in a row will get you there... it's not dangerous, but I'd suggest trying that without any important process running within your X session in order not to spoil the learning effect ;)

Synchronous posting... :rolleyes:

kilgoretrout 12-07-2006 01:52 PM

Yes you can; it's a very basic linux thing. When you are in your graphical desktop just hit Ctrl-Alt-F1 together and you will be at a command line login prompt. Login and do whatever you want. To get back to your graphical dekstop, hit Ctrl-Alt-F7; to switch back to the terminal do Ctrl-Alt-F1. You can have up to six sessions going on most linux distros, i.e. you can open up another terminal with Ctrl-Alt-F2 or, more generically, Ctrl-Alt-Fn, where "n" corresponds to the terminal session.
You can also start a second graphical session from the command line with:

$ startx -- :1

and switch back and forth between the two graphical sessions with Ctrl-Alt-F7 and Ctrl-Alt-F8. IIRC kde now allows you to do this from an entry on the start menu("Start New Session") without going to the command line.

Fophillips 12-07-2006 04:07 PM

That's not exactly what I meant. Sorry if my post wasn't too clear. I meant to have two displays running, and having one running X and another simultaneously running a command prompt.

dxqcanada 12-07-2006 04:49 PM

The X windows server can start many sessions.
The primary session you are seeing is display :0.

Consoles are normally running on TTY1, TTY2 ... etc that you should be able to access using CTL+ALT+F1, F2 ... etc.
The X server is probably running on F8.

If you want to start another X windows session you must specify the display otherwise it will assume :0 which will conflict with the running session.

$ startx -- :1

kilgoretrout 12-07-2006 06:22 PM

I think he means that he wants to run with two monitors, one running X and the other displaying a command line terminal.

dxqcanada 12-07-2006 07:24 PM

Hmm, I don't think a second monitor would be considered a different device ... even if this was possible, there is only one keyboard/mouse <stdin>.

All times are GMT -5. The time now is 05:45 AM.