Re: [vserver] Guests using X with X Server on Host

From: Oliver Welter <mail_at_oliwel.de>
Date: Sat 23 Feb 2008 - 21:54:37 GMT
Message-ID: <47C0961D.2050407@oliwel.de>

-----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-----
Received on Sat Feb 23 22:01:43 2008

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 23 Feb 2008 - 22:01:46 GMT by hypermail 2.1.8