You are not logged in.

#1 2009-05-27 15:28:59

tuomas22
Member
Registered: 2009-05-25
Posts: 9

How to start KDE on secondary screen?

Hi. I have set up dual monitors with nvidia config tool. On my primary screen everything is fine, but on my secondary screen theres only that "X test screen" or whatever it is called - black background and white X-cursor which I can move with my mouse. How can I start KDE session on that screen too? Without using xinerama or twinview...

thanks in advance

Last edited by tuomas22 (2009-05-27 17:16:12)

Offline

#2 2009-05-27 20:07:55

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: How to start KDE on secondary screen?

should be DISPLAY=:0.1 startkde


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#3 2009-05-27 22:15:30

tuomas22
Member
Registered: 2009-05-25
Posts: 9

Re: How to start KDE on secondary screen?

hmm...I get "KDE seems to be already running on this display." There also come a popup window on the second monitor with the same message.

Offline

#4 2009-05-27 22:38:57

dwidmann
Member
From: Gordonsville, Virginia, US
Registered: 2009-05-27
Posts: 60

Re: How to start KDE on secondary screen?

I'm fairly certain this can't be done with any version of KDE4. (I've been interested in doing it since it was still in beta ... and now it's perhaps years later and still nothing)


"I refuse to be part of a society that encourages the rampant abuse of its own language." ~ BM

Offline

#5 2009-05-27 23:26:23

sveri80
Member
Registered: 2008-11-12
Posts: 38

Re: How to start KDE on secondary screen?

Wow, that would be crazy. What an idea.
On one screen the nice and beatiful kde and on the other one a tiling WM to manage all the console sessions.
Somebody knows if that is possible?

PS: Sorry for hijacking your thread.

Offline

#6 2009-05-28 01:16:47

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: How to start KDE on secondary screen?

You want "separate X-sessions" which is set with the nvidia-settings tool or XrandR.

Offline

#7 2009-05-28 01:37:42

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: How to start KDE on secondary screen?

do you try?

startx (open on first free virtual console [normally tty7])
startx -- :1 (open .... tty8)
startx -- :2
...
startx -- :63

Offline

#8 2009-05-28 08:19:46

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: How to start KDE on secondary screen?

sveri80 wrote:

Wow, that would be crazy. What an idea.
On one screen the nice and beatiful kde and on the other one a tiling WM to manage all the console sessions.
Somebody knows if that is possible?

PS: Sorry for hijacking your thread.

as mentioned already you simply need 2 seperate X-sessions running for every monitor and either try "xinit /usr/bin/YOURTILINGWM -- :0.1" or "DISPLAY=:0.1 YOURTILINGWM"


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#9 2009-05-28 08:57:07

tuomas22
Member
Registered: 2009-05-25
Posts: 9

Re: How to start KDE on secondary screen?

You want "separate X-sessions" which is set with the nvidia-settings tool or XrandR.

Yes I have that, but the other screen is just black with the white X-cursor.

do you try?

startx (open on first free virtual console [normally tty7])
startx -- :1 (open .... tty8)
startx -- :2

I tried, startx -- :1 just started another desktop ontop my old desktop, not on the second monitor neutral startx --:2 gave fatal server error

as mentioned already you simply need 2 seperate X-sessions running for every monitor and either try "xinit /usr/bin/YOURTILINGWM -- :0.1" or "DISPLAY=:0.1 YOURTILINGWM"

yup, that says I already have kde running there. I guess I do then, but how I get the desktop there. I can open applications there from console with DISPLAY=:0.1 appname, but the font size is ridiculously small in those applications lol

Offline

#10 2009-05-28 10:02:15

sveri80
Member
Registered: 2008-11-12
Posts: 38

Re: How to start KDE on secondary screen?

Hm, it doesnt work for me too.
With "DISPLAY=:0.1 musca" i get a segfault.
"xinit /usr/bin/musca  -- :0.1" gives me:
Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the The X.Org Foundation support
         at http://wiki.x.org
for help.

xinit:  Server error.

And "DISPLAY=:0.1 konsole"
starts the konsole on the other screen but i cannot reach it with my mouse or keyboard.
So i am stuck right now.

EDIT: DISPLAY=:0.1 app seems to work for dmi and wmii. This comes closest to what i want.
Awesome and musca segfault or complain about an already running X Server. So its up
to luck if you get running what you want.

That all works with kde 4.2.8x on one screen, Nvidia graphics card with separated X screens
and without xinerama.

Last edited by sveri80 (2009-05-28 10:49:50)

Offline

#11 2009-05-28 16:35:55

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: How to start KDE on secondary screen?

sveri80 wrote:

Hm, it doesnt work for me too.
With "DISPLAY=:0.1 musca" i get a segfault.
"xinit /usr/bin/musca  -- :0.1" gives me:
Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the The X.Org Foundation support
         at http://wiki.x.org
for help.

xinit:  Server error.

And "DISPLAY=:0.1 konsole"
starts the konsole on the other screen but i cannot reach it with my mouse or keyboard.
So i am stuck right now.

EDIT: DISPLAY=:0.1 app seems to work for dmi and wmii. This comes closest to what i want.
Awesome and musca segfault or complain about an already running X Server. So its up
to luck if you get running what you want.

That all works with kde 4.2.8x on one screen, Nvidia graphics card with separated X screens
and without xinerama.

The musca segfault makes sense.. it automatically uses active displays, so it should already be using it anyway.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

Board footer

Powered by FluxBB