Difference between revisions of "Xserver Issues"

From Blue-IT.org Wiki

 
Line 2: Line 2:
 
If you like to start a single program, e.g. ''mythfrontend'' on another screen - e.g. a TV or a second monitor, simple use the next line:
 
If you like to start a single program, e.g. ''mythfrontend'' on another screen - e.g. a TV or a second monitor, simple use the next line:
 
  xinit /bin/sh -c "DISPLAY=:1 mythfrontend" -- /usr/bin/X :1 -ac
 
  xinit /bin/sh -c "DISPLAY=:1 mythfrontend" -- /usr/bin/X :1 -ac
 +
 +
And from [http://gentoo-wiki.com/Talk:HOWTO_Setup_MythTV HowTo Setup MythTV]
 +
 +
[...]
 +
I have this first script run at boot up time:
 +
#!/bin/bash
 +
cd /root
 +
HOME='/root'
 +
export HOME
 +
xinit /root/xinitmyth -- :0 &
 +
 +
and the startup file /root/xinitmyth
 +
xsetroot -solid gray &
 +
mythfrontend
 +
[...]

Revision as of 16:34, 19 August 2006

Start a program in fullscreen X session

If you like to start a single program, e.g. mythfrontend on another screen - e.g. a TV or a second monitor, simple use the next line:

xinit /bin/sh -c "DISPLAY=:1 mythfrontend" -- /usr/bin/X :1 -ac

And from HowTo Setup MythTV

[...] I have this first script run at boot up time:

#!/bin/bash
cd /root
HOME='/root'
export HOME
xinit /root/xinitmyth -- :0 &

and the startup file /root/xinitmyth

xsetroot -solid gray &
mythfrontend

[...]