Subject: Re: [vserver] Guests using X with X Server on Host
From: Oliver Welter <mail@oliwel.de>
Date: Sat, 23 Feb 2008 22:54:37 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Thomas,

> There is no need to have an X Server running at all on the same host or
> vserver that runs the client (your GUI).
> So in your case you might want to setup one vserver which hosts an X
> Server realized via Xfvb + a running vncserver. Now configure all the
> gui-frontends in your various vservers to display ont that one X Server
> (set DISPLAY environment in the clients and grant access on the X
> server) and every single vserver instance will display on one (virtual)
> screen wich you can access via vnc.

I finally tested it yesterday, you were right that I was misinformed
about how X actually works.

What I did is quite easy:
I have a full blown X Server on the host machine
Customer connects to it using vnc
You can now simply open a shell on the Desktop, tweak X auth (xhost +)
and than change into the guest using "vserver guest enter". Now setting
the DISPLAY to <public ip>:0 and installing just some X client libraries
inside the guest does the job...

Oliver

- --
Protect your environment -  close windows and adopt a penguin!
PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHwJYdyrew3TmFFyERAkJEAJ9bfPLgcRhXd/DPUW44IV5oCvi9ywCdEkQX
Cx2idEdyp4zPURXOFIgssNo=
=PZFw
-----END PGP SIGNATURE-----