Hi all.
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.
So, any suggestions?
Rasmus
On Fri, 2004-07-30 at 14:38, Rasmus Back wrote:
Hi all.
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.
So, any suggestions?
Rasmus
You can do it with gdmflexiserver, that bring the gdm login again and login with different session and user.
Hope this help.
Hansen
On 10:38 30 Jul 2004, Rasmus Back rasmus.back@gmail.com 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
Cheers, -- Cameron Simpson cs@zip.com.au DoD#743 http://www.cskk.ezoshosting.com/cs/
If it can't be turned off, it's not a feature. - Karl Heuer
On Fri, 30 Jul 2004 18:51:54 +1000, Cameron Simpson cs@zip.com.au wrote:
On 10:38 30 Jul 2004, Rasmus Back rasmus.back@gmail.com 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
startx/xinit are very picky about being givencomplete paths. Try:
startx /usr/bin/twm -- -layout tv-out :1
--Brad
On Fri, 30 Jul 2004 10:38:01 +0300, Rasmus Back rasmus.back@gmail.com wrote:
Hi all.
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.
So, any suggestions?
Rasmus
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list