diff --git a/web/support/FAQ.rst b/web/support/FAQ.rst index c00bd46f4a924f73f0dec88060fa49545320e6e9..738c53e9bf5f61358fe0332d567a81feca59d04d 100644 --- a/web/support/FAQ.rst +++ b/web/support/FAQ.rst @@ -689,15 +689,15 @@ it depends on your SSH Client. 1. SSH login to your OpenStack VM 2. install XFCE4: `sudo apt-get install ubuntu-gnome-desktop gnome-icon-theme tigervnc-standalone-server` 3. create a .vnc folder in your user home: `mkdir .vnc` -4. create xstartup file in `~/.vnc/` and paste the following content: - :: +4. create xstartup file in `~/.vnc/` and paste the following content:: + #!/bin/sh # Start Gnome 3 Desktop [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources vncconfig -iconic & dbus-launch --exit-with-session gnome-session & - :: + 5. run `vncpasswd` and set VNC password (you can skip the viewer password) 6. run `vncserver -geometry WIDTHxHEIGHT -localhost yes -rfbport PORT`, replace **WIDTH** and **HEIGHT** with desired values (ex: 1024x768) and PORT (ex: 5901, default port) @@ -708,15 +708,15 @@ it depends on your SSH Client. When you do not need anymore VNC you can stop it; on your OpenStack VM: -1. run `vncserver --list`, you should get a list of active VNC displays - :: +1. run `vncserver --list`, you should get a list of active VNC displays:: + testuser@test-gui:~$ vncserver --list TigerVNC server sessions: X DISPLAY # RFB PORT # PROCESS ID :2 5902 36811 - :: + 2. kill the proper VNC display: `vncserver -kill :DISPLAY`, replace **DISPLAY** with correct value (ex: 2 in our example) 3. logout