LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   having two WMs open? (https://www.linuxquestions.org/questions/linux-general-1/having-two-wms-open-353608/)

DJOtaku 08-15-2005 05:43 PM

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?

birdseye 08-15-2005 06:15 PM

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

ozar 08-15-2005 07:43 PM

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.

cs-cam 08-15-2005 10:47 PM

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).

DJOtaku 08-16-2005 12:30 PM

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?

birdseye 08-16-2005 03:49 PM

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.

oneandoneis2 08-16-2005 04:30 PM

The command

startx -- :1.0

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


All times are GMT -5. The time now is 07:13 PM.