Multiple X sessions and KDE 2.2.1

Multiple X sessions and KDE 2.2.1

Post by Alexander File » Thu, 06 Dec 2001 15:03:40



Hi,

Is anyone else having trouble running KDE in multiple X sessions? I bring
up my second session by executing "startx -- :1". I can login just fine and
everything seems ok at first but once I switch a couple of times between
the original session and the new one the second session starts exhibiting
strange UI behavior. Whole windows are not showing, menus are not being
displayed, the screen is not refreshing properly, etc. Very strange. Any
idea what's happening?

I am running Mandrake 8.1 on a Dell Inspiron 8000 laptop with an ATI Rage
Mobility 4 video card.

Thanks,
Alex

 
 
 

Multiple X sessions and KDE 2.2.1

Post by ne.. » Thu, 06 Dec 2001 22:29:11



Quote:

>Hi,

>Is anyone else having trouble running KDE in multiple X sessions? I bring
>up my second session by executing "startx -- :1". I can login just fine and
>everything seems ok at first but once I switch a couple of times between
>the original session and the new one the second session starts exhibiting
>strange UI behavior. Whole windows are not showing, menus are not being
>displayed, the screen is not refreshing properly, etc. Very strange. Any
>idea what's happening?

KDE ain't supposed to be run like that. Different users on different
X sessions is okay. The same user on different X sessions is a no-no.

--
Registered Linux User # 125653 (http://counter.li.org)
meeting, n.:
        An assembly of people coming together to decide what person or
        department not represented in the room must solve a problem.
  8:28am  up 4 days, 14:28,  4 users,  load average: 0.00, 0.01, 0.00

 
 
 

Multiple X sessions and KDE 2.2.1

Post by Danny B » Fri, 07 Dec 2001 01:18:43



Quote:> KDE ain't supposed to be run like that. Different users on different
> X sessions is okay. The same user on different X sessions is a no-no.

I'm not at all disputing this.  But could you please provide an example of
why?  I can imagine hypothetical reasons, such as the uid being used to
identify the session out of multiple sessions, but I would like to be
enlightened by an actual example.

Another question I suppose I'll ask is, is this a good design choice?  (Or
perhaps an oversight or assumption and things just evolved around it?)

Danny

 
 
 

Multiple X sessions and KDE 2.2.1

Post by Rex Diete » Fri, 07 Dec 2001 03:05:27



>> KDE ain't supposed to be run like that. Different users on different
>> X sessions is okay. The same user on different X sessions is a no-no.

I've read of at least one KDE developer who runs the "stable" KDE on one X
session, and Developer/cvs KDE versions on another X session (on the same
box), so apparently, this isn't necessarily a complete no-no.

--

Computer System Administrator   http://www.math.unl.edu/~rdieter/
Mathematics and Statistics              
University of Nebraska Lincoln

 
 
 

Multiple X sessions and KDE 2.2.1

Post by ne.. » Fri, 07 Dec 2001 09:55:40




>> KDE ain't supposed to be run like that. Different users on different
>> X sessions is okay. The same user on different X sessions is a no-no.

>I'm not at all disputing this.  But could you please provide an example of
>why?  I can imagine hypothetical reasons, such as the uid being used to
>identify the session out of multiple sessions, but I would like to be
>enlightened by an actual example.

I don't have an example at hand. The mailing list archives
at kde.org might. I do know it has to do with all the updating
that goes on in the .kde directory. It _may_ also have to do
with dcop as well.

Quote:>Another question I suppose I'll ask is, is this a good design choice?  
(Or
>perhaps an oversight or assumption and things just evolved around

it?)
Maybe not a good design choice, but we do pressure the developers
to release our FAV desktop when it might need just a little bit
more time maturing ;-). Having said that, I am sure that they
are aware of this problem. As Rex Dieter said, there is at least
one KDE developer who has solved part of the problem.

--
Registered Linux User # 125653 (http://counter.li.org)
BOFH excuse #145:

Flat tire on station wagon with tapes.  ("Never underestimate the bandwidth of a station wagon full of tapes hurling down the highway" Andrew S. Tanenbaum)
  7:54pm  up  2:14,  5 users,  load average: 0.00, 0.00, 0.00

 
 
 

Multiple X sessions and KDE 2.2.1

Post by ne.. » Fri, 07 Dec 2001 09:56:40




>>> KDE ain't supposed to be run like that. Different users on different
>>> X sessions is okay. The same user on different X sessions is a no-no.

>I've read of at least one KDE developer who runs the "stable" KDE on one X
>session, and Developer/cvs KDE versions on another X session (on the same
>box), so apparently, this isn't necessarily a complete no-no.

Do you know whether ths is as the same user? Could you
please shed some light on this?

TIA.

--
Registered Linux User # 125653 (http://counter.li.org)
For a holy stint, a moth of the cloth gave up his woolens for lint.
  7:56pm  up  2:15,  5 users,  load average: 0.00, 0.00, 0.00

 
 
 

Multiple X sessions and KDE 2.2.1

Post by Alexander File » Fri, 07 Dec 2001 12:06:59


Sorry for the confusion. I should have been more clear. I am NOT logging in
as the same user.  I switch to a different console, log in as a different
user and then execute startx -- :1. The idea is to be able to have both
myself and my girlfriend logged in at the same time.

Thanks,
Alex


>>Hi,

>>Is anyone else having trouble running KDE in multiple X sessions? I bring
>>up my second session by executing "startx -- :1". I can login just fine
>>and everything seems ok at first but once I switch a couple of times
>>between the original session and the new one the second session starts
>>exhibiting strange UI behavior. Whole windows are not showing, menus are
>>not being displayed, the screen is not refreshing properly, etc. Very
>>strange. Any idea what's happening?
> KDE ain't supposed to be run like that. Different users on different
> X sessions is okay. The same user on different X sessions is a no-no.

 
 
 

Multiple X sessions and KDE 2.2.1

Post by Kevin Kramme » Fri, 07 Dec 2001 21:31:30




>>I've read of at least one KDE developer who runs the "stable" KDE on
>>one X session, and Developer/cvs KDE versions on another X session (on
>>the same box), so apparently, this isn't necessarily a complete no-no.
> Do you know whether ths is as the same user? Could you
> please shed some light on this?

This is no problem when oyu use different $KDEHOME dirs.

Kevin

--

Student at Graz University of Technology
http://www.sbox.tu-graz.ac.at/home/v/voyager

 
 
 

Multiple X sessions and KDE 2.2.1

Post by Hendric Stattman » Sat, 08 Dec 2001 01:53:21



> Sorry for the confusion. I should have been more clear. I am NOT logging
> in
> as the same user.  I switch to a different console, log in as a
> different user and then execute startx -- :1. The idea is to be able to
> have both myself and my girlfriend logged in at the same time.

Hello Alexander,
This is working just fine for me here!
I can log on w my regular account and have KDE at Virtual Console 7, then
go back to Vconsole 2, login as guest, startx -- :1 and see another KDE
session at Vconsole 8. I can switch between them using ctrl-alt-f7|f8.

SuSE 7.3, KDE 2.2.2, kernel 2.4.16, latest NVidia closed source drivers.

Regards Hendric
--
Hendric Stattmann, Lausanne, Switzerland, Registered Linux User #178879
Visit the official Swiss Shodokan Aikido Homepage at:
http://www.shodokan.ch

 
 
 

Multiple X sessions and KDE 2.2.1

Post by James Richard Tyre » Sat, 08 Dec 2001 10:27:58



> Sorry for the confusion. I should have been more clear. I am NOT logging in
> as the same user.  I switch to a different console, log in as a different
> user and then execute startx -- :1.

When I try that it fails.

Fatal server error:
Server is already active for display 0

HELP.

JRT

 
 
 

Multiple X sessions and KDE 2.2.1

Post by Alexander File » Sat, 08 Dec 2001 15:59:38


Okay I figured out what's causing the problem. It's DRI. You can't have DRI
enabled in more than one session at a time (not sure if this is specific to
my hardware but it definitely doesn't work for me). Once I disabled it the
problem went away.

Thanks,
Alex

Quote:

> Hi,

> Is anyone else having trouble running KDE in multiple X sessions? I bring
> up my second session by executing "startx -- :1". I can login just fine
> and everything seems ok at first but once I switch a couple of times
> between the original session and the new one the second session starts
> exhibiting strange UI behavior. Whole windows are not showing, menus are
> not being displayed, the screen is not refreshing properly, etc. Very
> strange. Any idea what's happening?

> I am running Mandrake 8.1 on a Dell Inspiron 8000 laptop with an ATI Rage
> Mobility 4 video card.

> Thanks,
> Alex

 
 
 

1. x-windows(KDE) on multiple session

Hi
I have installed Storm (Debian) on my Compaq Armada
Works very well (except my sound card wich is not detected)

The problem is that when I try to open KDE on a second session the GUI
crashs at each time and makes crash the first KDE session too.

Anyone knows how to resolve this problem ?

2. Qbatch on Power

3. KDE starts multiple copies when relaunching an app that had multiple windows open

4. DOS-style text editor

5. Matrox Mystique ands X.

6. Mathematica & sound: how to do it ?

7. Is it possible to run Multiple X session at one time

8. xterm and using backspace

9. Multiple session from a character terminal

10. Nice Shell Script For Restricting Multiple Login Sessions

11. reading multiple sessions on a cd-rom

12. Multiple Monitors for a single X Windows session

13. multiple X sessions on one machine