Starting process on display :1
Hi all!
I have my TV connected to my video-card, but since my TV's resolution is 640x480 - which looks really sick on my monitor :) - I start a new X on display :1 in 640x480 to switch to it when I want to watch a movie on TV. The problem is that I can only start an xterm on display :1. Maybe I should start a window manager (I don't know how...) , but what I really would like to do is start a process (e.g. a movie-player) on display :1 , from the X running on display :0. Is that possible ? (I'm sure it is, but I could not do it yet). Any help would be appriciated. Thanx. |
Quote:
Code:
movie-player -display :1 Code:
$export DISPLAY=:1 |
Thanks nx5000 , I will try it.
Anyway , the app is MPlayer with or without GUI , or with some KDE frontend... |
Thank you again, nx5000 it's working. Never tought , it would be such easy...
My next question is, that how can i start some lightweight windowmanager (e.g. xfce or enlightment) on the raw X server, when i have a KDE or Gnome running on X :0 ? Thanx |
For running twm on :1
twm -display :1 or export DISPLAY=:1 twm / xfce / .. |
Thank you nx5000!
maybe i should think, before i ask... Thanks again! |
Hi again,
I tried twm -display :1 , but all that happpened was that X switched to display :1 and drew a white rectangle to the upper section. That was all. Neither the export DISPLAY=:1 stuff is working. I tried them with twm, xfce, ratpoison and enlightment but none of them succeeded. Does anyone know something about it? |
Here's how I start xfce (for example) on tty8:
Code:
xinit /etc/X11/xinit/xinitrc.xfce -- :1 |
Maybe the rectangle is a shell? :) From there you can launch maybe kicker, panel but as ciotog said , its easier to do this:
Code:
xinit /etc/X11/xinit/xinitrc.xfce -- :1 For those looking at this post, I will post my "findings" On my debian (unstable, xorg, gdm): Code:
xfce4_setup here it took me a while because xfwm4 --daemon does not return! so xinitrc does not work (bug in xfce4?). Also not so nice the documentation is not at the usual place /usr/share/doc .... so I had to add an & add the end of the line: Code:
/usr/bin/xfwm4 --daemon & Code:
allowed_user=anybody and finally to run Xfce4 : Code:
xinit -- :1 -auth ~/.Xauthority |
All times are GMT -5. The time now is 06:24 PM. |