You are not logged in.

#1 2013-03-12 22:47:52

uhuu
Member
From: Estonia
Registered: 2010-11-22
Posts: 23

Alternate Xorg session with desktop [SOLVED]

My goal is to run multiple X sessions with separate openbox and KDE enviroments.
I open TTY6 with alt+ctrl+F6 and run xinit /usr/bin/openbox -- :1 and my new and shiny openbox opens nicely.

The problem is, that when I return to my KDE with alt+ctrl+F7 and then try to switch to my still running openbox instance - I see only running xorg messages on my TTY6 but no desktop.
I can kill xorg on TTY6 with ctrl+C and start openbox session again, but it's still very annoying.
I can start that other xorg session with any desktop enviroment, even altrnate KDE, but the result is the same, console screen with running xorg messages.

Any ideas would be appreciated.

Last edited by uhuu (2013-03-12 23:37:57)


Windows is not a virus, virus does something...

Offline

#2 2013-03-12 23:03:28

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Alternate Xorg session with desktop [SOLVED]

I think I see what the problem is... I think the solution is gonna make you laugh. wink

Check all of the other TTY screens for you missing X session.

Offline

#3 2013-03-12 23:23:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: Alternate Xorg session with desktop [SOLVED]

drcouzelis nailed it.  For instance, if you are using systemd (you are using systemd, right?) you will find that your Xorg sessions no longer start at tty6.  Look down on 2.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2013-03-12 23:37:10

uhuu
Member
From: Estonia
Registered: 2010-11-22
Posts: 23

Re: Alternate Xorg session with desktop [SOLVED]

You were right, IT DID make me laugh big_smile, my openbox travelled to TTY2.
How does systemd cause this?

Damn it, I Googeled the solution for 5 hours without any hits...

Thank you for saving my day.


Windows is not a virus, virus does something...

Offline

#5 2013-03-13 05:01:56

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Alternate Xorg session with desktop [SOLVED]

You're welcome. smile

A TTY can't be both a terminal and an X server. For example, on my computer, when my computer boots it automatically makes TTY1 my X server. Then I go to TTY2 and use the "startx -- :1" command, and the new X server starts on TTY3.

The same thing happened before systemd, except traditionally it was TTY1 - TTY6 for terminals and TTY7 - TTY10 for X servers, so it was easier to know where things were going to be (you can still setup systemd to behave that way)

Also, I don't think "TTY" is the correct word to use... But I don't know the correct term. tongue

Offline

#6 2013-03-13 10:11:38

uhuu
Member
From: Estonia
Registered: 2010-11-22
Posts: 23

Re: Alternate Xorg session with desktop [SOLVED]

Well that makes sense. Thanks for explaining smile


Windows is not a virus, virus does something...

Offline

Board footer

Powered by FluxBB