Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

X inside VE

457 bytes added, 21:13, 28 October 2007
no edit summary
== X forwarding ==
 
=== Single application ===
To run an X application inside a [[VE]], one need simply to connect to a VE with '''ssh -X''':
</pre>
=== Desktop === Note, that if : If you want to run complete X window environment (including window manager), you should kill local window manager and run only pure X server. Secondly you shoud should use '''-Y''' option when invoking ssh. And if you want to run gnome/kde/..., don't forget to increase [[UBC]] limits, 'cause default values are certainly too small for these monsters. ;) You can run a desktop with ''xinit'' (on the node): <pre>xinit -e ssh -Xc blowfish user@ip_address xterm -- :1 & disown</pre> Enter your ssh login -> xterm will start In the terminal enter : <pre>/usr/bin/xfce4-session & disown</pre> * Substitute the window manager of choice* Once xfce has started, you can then close the xterm if you like Your node will be on Ctrl-Alt-F7 And your VM on Ctrl-Alt-F8 
== VNC for X desktop ==
7
edits