Re: Multiple X Sessions on OSR 6
From: Bob Stockler (bob_at_trebor.iglou.com)
Date: 10/23/05
- Next message: Dion: "Calculate percentages"
- Previous message: Jean-Pierre Radley: "Re: Multiple X Sessions on OSR 6"
- In reply to: Jean-Pierre Radley: "Re: Multiple X Sessions on OSR 6"
- Next in thread: Roger Cornelius: "Re: Multiple X Sessions on OSR 6"
- Reply: Roger Cornelius: "Re: Multiple X Sessions on OSR 6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Oct 2005 21:02:06 -0400
Jean-Pierre Radley wrote (on Sat, Oct 22, 2005 at 06:41:09PM -0400):
| Bob Stockler typed (on Wed, Oct 19, 2005 at 08:26:02PM -0400):
| |
| | #!/bin/ksh
| | # @(#) xstart - Start X using the lowest unused session number.
| | integer i j ; cd /tmp ; set -A xs .X*-lock ; cd -
| | for i in 0 1 2 3 4 5 6 7 8 9
| | do session=${xs[$i]} ; session=${session#".X"}
| | session=${session%"-lock"} ; j=$session
| | (( i != j )) && {
| | echo "exec /usr/bin/startx -- :$i"
| | exec /usr/bin/startx -- :$i
| | }
| | done
|
| It fails syntacticly if NO X-session is running at all, and
| it also fails here for me if session 0 is running, with:
|
| exec /usr/bin/startx -- :1
|
| Fatal server error:
| Server is already active for display 0
| If this server is no longer running, remove /tmp/.X0-lock
| and start again.
|
| I get the same error if I just type 'startx -- :5'.
Yeah, and command line startx fails with me in various ways.
I'm happy with it, but I don't think OSR 6 is ready for Prime Time.
The display you fixed for me on my console I like (as user "bob").
However, after it's in place, other startx as user "root" work
sometimes, others not - most often failing with an error message
saying that /dev/mouse can't be opened.
Sometimes after I've started VNC, sometimes before.
Sometimes I can get two X sessions running, sometimes not (doing
a reboot between tests sometimes). When I get a second running,
I can't close it down within that second session - I have to go
to the first one and send an HUP to the login of the second one.
There's work to be done, but I'm a happy camper.
Bob
-- Bob Stockler +-+ bob@trebor.iglou.com +-+ http://members.iglou.com/trebor Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus. Fully functional (time-limited) demos available by email request (specify OS).
- Next message: Dion: "Calculate percentages"
- Previous message: Jean-Pierre Radley: "Re: Multiple X Sessions on OSR 6"
- In reply to: Jean-Pierre Radley: "Re: Multiple X Sessions on OSR 6"
- Next in thread: Roger Cornelius: "Re: Multiple X Sessions on OSR 6"
- Reply: Roger Cornelius: "Re: Multiple X Sessions on OSR 6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|