Re: How do I start a second X server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 30 Jul 2004 18:51:54 +1000, Cameron Simpson <cs@xxxxxxxxxx> wrote:
> On 10:38 30 Jul 2004, Rasmus Back <rasmus.back@xxxxxxxxx> wrote:
> | I have two graphic cards in my system and I'm trying to configure the
> 
> 
> | second card so that I can use its tv-out feature to play dvds on my
> | tv. Since I only watch movies once in while I'd like to be able to
> | start a second X server with a minimal window manager and specify the
> | server layout for the tv-out video card. Probably something like
> | "startx twm -- -layout tv-out :1".
> |
> | I thought that the startx command would do it but it fails with the
> | error: /usr/X11R6/bin/xterm:  bad command line option "twm". startx
> | without the "twm" option tries to start another gnome-session on vt8.
> 
> If you have a gander at the startx script you'll see it tries to be
> ultra clever.  If that first arg (your "twm") is a full path it's taken
> to be a program name, otherwise it's an argument for the default program,
> thus causing it to invoke the command "xterm twm" eliciting the error you
> see. So find the full path of twm ("which twm" says "/usr/X11R6/bin/twm"
> on my system) and go:
> 
>         startx /usr/X11R6/bin/twm -- -layout tv-out :1

Thanks!

I got a litlle further with your help, but not quite there yet :)
startx /usr/X11R6/bin/twm -- -layout tv-out vt8 :1
starts the X server but apparently twm still tries to connect to the
first server since I get these error messages:
/usr/X11R6/bin/twm:  another window manager is already running on screen 0?
/usr/X11R6/bin/twm:  unable to find any unmanaged screens
 
Passing the -display :1 option to twm I run into this:
AUDIT: Mon Aug  2 09:30:11 2004: 19479 X: client 1 rejected from local host
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified

I think this is because my magic cookies aren't set up right for the
second X server, but I don't know how to fix this. Is there some xrdb
voodoo involved? I cant use xhost to allow access because xhost can't
connect to the second X server either.

Rasmus



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux