LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-07-2006, 01:03 PM   #1
Fophillips
LQ Newbie
 
Registered: Dec 2006
Posts: 7

Rep: Reputation: 0
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.
 
Old 12-07-2006, 01:40 PM   #2
MoonMind
Member
 
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
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

Edit:
Synchronous posting...

Last edited by MoonMind; 12-07-2006 at 02:24 PM.
 
Old 12-07-2006, 01:52 PM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,310

Rep: Reputation: 139Reputation: 139
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.
 
Old 12-07-2006, 04:07 PM   #4
Fophillips
LQ Newbie
 
Registered: Dec 2006
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 12-07-2006, 04:49 PM   #5
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
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.
Example:
Code:
$ startx -- :1
 
Old 12-07-2006, 06:22 PM   #6
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,310

Rep: Reputation: 139Reputation: 139
I think he means that he wants to run with two monitors, one running X and the other displaying a command line terminal.
 
Old 12-07-2006, 07:24 PM   #7
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
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>.
 
  


Reply

Tags
display, dual, opensuse, startx


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
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 10:34 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 02:45 PM
How to launch an app in terminal, & keep it running after I close terminal? kornerr Linux - General 7 06-24-2006 05:54 PM
what is the command line in terminal for monitor setup? bbmak Linux - Software 1 08-11-2004 11:21 PM
Changing the monitor hardware from the terminal screen? qwert123456 Linux - Hardware 2 01-29-2003 06:30 PM


All times are GMT -5. The time now is 09:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration