[XFree86] Re: 2 X servers on linux

2003-08-27 Thread Mike A. Harris
On Wed, 27 Aug 2003, Matt Ficken wrote:

>Date: Wed, 27 Aug 2003 00:47:32 -0500
>From: Matt Ficken <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>Content-Type: text/plain; charset="iso-8859-1"
>Subject: 2 X servers on linux
>
>I'm running XFree86-4.3 on i686-linux. 
> 
>I'd like to be able to run 2 X servers, each with its own display, and I want to be 
>able to run 1 of the 
>displays without a keyboard or mouse. 
>  
>I can get both X servers to run, but both each X server uses a different vty, so they 
>both won't appear t 
>the same time, I have to press CTRL+ALT+F8 to see the second one, with the first one 
>disappearing, 
>etc... 
> 
>Or, I can get both servers to run, if I start 1 and then wait a few seconds and start 
>a second server, but 
>the second server usually freezes. Also, I can't get a program to appear, ie 
>executing 'xterm -display 
>:1.0' doesn't work. 

The Linux console only allows one current tty.  When you switch 
away from the X server, it relinquishes the display and restores 
text mode, it no longer has access to the display until you 
switch back.  When you switch to the other server, it has 
control.

It doesn't matter if these are 2 individual video cards or not, 
as there can only be one current tty.

The 2.6.x kernel has features to get past this limitation, 
however I don't believe the marriage of the kernel and X server 
is quite ready yet for this to actually work.  Someone else can 
comment on that or not.

There is an ugly hack somewhere on the net which IIRC hacks both 
the kernel and X server to allow a kludged solution to do this, 
but it is just that, a "works for the guy who hacked it together" 
kludge until something more proper is ready for regular usage.
I don't remember what it is called, but either someone else 
reading this will know what I'm talking about and post a URL, or 
you can probably find it without much effort on google.

Hope this helps.
TTYL

-- 
Mike A. Harris

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Re: 2 X servers on linux

2003-08-27 Thread Aivils Stoss
>The Linux console only allows one current tty.  When you switch
>away from the X server, it relinquishes the display and restores
>text mode, it no longer has access to the display until you
>switch back.  When you switch to the other server, it has
>control.
>
>It doesn't matter if these are 2 individual video cards or not,
>as there can only be one current tty.
>
>The 2.6.x kernel has features to get past this limitation,
>however I don't believe the marriage of the kernel and X server
>is quite ready yet for this to actually work.  Someone else can
>comment on that or not.
>
>There is an ugly hack somewhere on the net which IIRC hacks both
>the kernel and X server to allow a kludged solution to do this,
>but it is just that, a "works for the guy who hacked it together"
>kludge until something more proper is ready for regular usage.
>I don't remember what it is called, but either someone else
>reading this will know what I'm talking about and post a URL, or
>you can probably find it without much effort on google.

I remeber URL of ugly hack
http://startx.times.lv

Here is a kernel patch which allow more than one current tty. tty1-tty64 is
splited to
separate ranges tty1-tty7, tty8-15 and so on. Any tty range might be
bounded with
separate keyboard.

Usage of unpatched xf86 allowed.

Check out links for others hacks.

My kinsfolk use it over one year, when my PC go to unpersonalized.

Aivils Stoss

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86