this is just a quick way to run linux applications on an X session from another linux/opensolaris client. i mean you want to run an x application - such as gimp, rhytmbox etc.- on linux box inside an X session in an X environment, which looks like this.
so todo that i first ssh -X to linux box,
ssh -X mediapc
then i run Xephyr - or you can run Xnest, but xephyr is a little bit faster -, then run an xterm with blackbox.
Xephyr -screen 1150x750 :2 &
xterm -display :2 -e blackbox &
or you can put them in a shell script like this
aybars@ubuntu:~$ cat ./xepstart
#!/bin/bash
Xephyr -screen 1150x750 :2 &
sleep 2
xterm -display :2 -e blackbox &
you need to wait/sleep for a couple of seconds for X to initialize. or if you like gnome, you can say
aybars@ubuntu:~$ cat ./xepstart
#!/bin/bash
Xephyr -screen 1150x750 :2 &
sleep 2
xterm -display :2 -e gnome-session &
to install xephyr on ubuntu
sudo apt-get install xserver-xephyr
No comments:
Post a Comment