Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

X inside VE

116 bytes added, 09:03, 13 April 2016
Using Xephyr: changed comma to dot in DISPLAY value
=== Single application ===
To run an X application inside a [[container]], one need needs simply to connect to a container with '''ssh -X''':
<pre>
host# ssh -2 -c blowfish -X user@address
Change your display settings (don't forget to change them back after you establish a connection)
<pre>DISPLAY=:1,.0</pre>
Forward your application or desktop over ssh to Xephyr
===== GDM =====
Edit the '''gdm.conf''' file and in xdmcp section, comment out the '''0=standard ''' line under the [servers] section - this will prevent gdm from trying to launch an X server on the local machine - it will simply listen for xdmcp requests. Insert '''0=inactive''' in [servers] section. Insert '''Enable=1''' in [xdmcp] section. Also, change from VCAllocation=true to VTAllocation=false and comment out the FirstVT=7 lineif that lines exists. Change the access restrictions (if any) to suit your needs and then start GDM.
=== Client/Host Configuration ===
Anonymous user