
Once xfce has started, you can then close the xterm if you likeįirst, one need to run Xvnc server inside container.Substitute the window manager of choice.Xinit -e ssh -XCc blowfish "/usr/bin/xfce4-session &" - :1 & disown You can run a desktop with xinit (on the node): 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. ) Secondly you should use -Y option when invoking ssh. Note : If you want to run complete X window environment (including window manager), you should kill local window manager and run only pure X server. Now you can run X applications from your container: Note: Don't forget to reconnect after this Also container should contain xauth package, thus install xauth if it is missing (in Debian this is part of the xbase-clients package). You should set parameter X11Forwarding to yes. In most Linux distros sshd configuration is stored in /etc/ssh/sshd_config. In case $DISPLAY is not set, make sure that X forwarding is enabled in sshd config inside container. Host# ssh -2 -c blowfish -X login to container check that $DISPLAY variable is set and X11 forwarding is enabled: To run an X application inside a container, one needs simply to connect to a container with ssh -X: 2.2 Connecting with VNC from firewalled network.
