X11 redirection with slirp
This is basically a HOWTO question. I'm working on a pet project where I would like run an X11 window on the host system (Mac OS X 10.3) from an X11 server on the guest, preferably without running a display on the guest at all. The guest is running a custom linux install which is basically an updated version of the linux-test distro to a 2.6.14 kernel and busybox system with networking enabled. There's an example using tun/tap in the docs, but it's a little sparse on details. Part of my dilemma is my lack of knowledge with xservers (I'm using Xorg). Can someone help, or point to some clear do-it-yourself examples?
Thanks,
- Dave
Hi there,
Quoted 2 lines · Stealth Dave
Can someone help, or point to some clear do-it-yourself examples?
It should be as easy running:
$ export DISPLAY=10.0.2.2:0
in your busybox shell, followed by a usual command that you use to run X programs, for example:
$ xterm&
or
$ gnome-session
That should work if you network is configured (and provided 10.0.2.2 is the host machine's IP address, as is by default). Sometimes to allow remote TCP/IP X clients on the host you will need to run:
$ xhost +
Regards,
--
balrog 2oo5
Dear Outlook users: Please remove me from your address books
http://www.newsforge.com/article.pl?sid=03/08/21/143258
Yep, easy as that, all right! I did have to run "xhost +localhost" on the host X11 system, but after that everything was smooth sailing!
Thanks!
- Dave
Quoted 37 lines · andrzej zaborowski
Hi there,
Quoted 2 lines · Stealth Dave
Can someone help, or point to some clear do-it-yourself examples?
It should be as easy running:
$ export DISPLAY=10.0.2.2:0in your busybox shell, followed by a usual command that you use to run X programs, for example:
$ xterm&or
$ gnome-sessionThat should work if you network is configured (and provided 10.0.2.2 is the host machine's IP address, as is by default). Sometimes to allow remote TCP/IP X clients on the host you will need to run:
$ xhost +Regards,
--
balrog 2oo5Dear Outlook users: Please remove me from your address books
http://www.newsforge.com/article.pl?sid=03/08/21/143258_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel