LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-15-2005, 05:43 PM   #1
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Rep: Reputation: 37
having two WMs open?


By hitting alt-ctl-F1-4 I can go to these login screens. If I type startx it says that x is already running. What do most people use these for? Can I use them instead of opening xterms in my WM? Can I use it to run two WMs? I know that'd be a crazy use of resources, but is it possible?
 
Old 08-15-2005, 06:15 PM   #2
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
Hi,

There are multiple virtual consoles in most versions of Linux. When you start the computer, consoles 1-6 (i.e. F1-6) are created. When you start an X session, it usually binds to F7. You can use any of these at any time, it is like an xterm, but does not require X. This is what was used before X came along.

As far as starting multiple X-sessions - that is a different issue. I know there is a way if you are gnome - look in the menus for 'new login'.

Hope that answers your question.

Rhys
 
Old 08-15-2005, 07:43 PM   #3
ozar
Member
 
Registered: May 2004
Location: USA
Distribution: Arch Linux
Posts: 415

Rep: Reputation: 85
You can use Xnest to run several different window managers at one time if you want. It works by allowing you to nest additional Xsessions inside of already running Xsessions. I think Xephr might also do this.
 
Old 08-15-2005, 10:47 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
I've never done this and I don't really want to test it right now but I think it'll work. Hit Alt-Ctrl-F2 and type startx :1, that *might* start another X server on vt/8 (Alt-Ctrl-F8).
 
Old 08-16-2005, 12:30 PM   #5
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
these virtual terminals @ 1-6 -> from you what you said above: I gather they can run anything that doesn't need a gui.

Is there an advantage to using these terminals "since they're already there" instead of opening xterm, etc in the GUI?
 
Old 08-16-2005, 03:49 PM   #6
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
If you have a window manager open, there is very little difference. There will be a little more memory used by the xterm, etc, but only a little. On the other hand, they are meddlesome to get to, and I find it is easier to use an xterm.

It's more of a matter of choice than one of importance.
 
Old 08-16-2005, 04:30 PM   #7
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
The command

startx -- :1.0

is what you need to start a GUI session on the F8 screen
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Multiple WMs ncf Slackware 4 11-03-2005 10:00 PM
Lots of WMs khsater Linux - Distributions 3 03-26-2005 10:12 PM
WMs from the console nub47 Linux - Newbie 2 01-05-2004 04:00 PM
WMs from the console nub47 Debian 3 01-05-2004 11:11 AM
DEs and WMs KptnKrill Linux - General 3 06-22-2003 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:39 AM.

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
Open Source Consulting | Domain Registration