From Unix Wiki
Jump to: navigation, search

XFCE 4.10, GNOME 3

New nice looking XFCE 4.10, GNOME 3 and etc. requires RENDER extension by default. So in case if you need start those de's in VNC use following syntax:

vncserver :1 -extension RENDER

GL software rendering

If you need to run GL app in VNC session for example glxgears and you face following error:

Error: couldn't get an RGB, Double-buffered visual


Error: couldn't find RGB GLX visual or fbconfig

Install libgl1-mesa-swx11 package:

apt-get install libgl1-mesa-swx11

Connect to Oracle VM guest


Configure your vino server by running vino-preferences as root(use X forwarding if you don't have GUI access):

ssh -XC root@server

Add following string before exit 0 in /etc/gdm3/Init/Default:

# Allow connections for non priviledged users
xhost +
# Start VINO server
/usr/lib/vino/vino-server --sm-disable &

Run X11 through SSH as another user

Run VNC server from your SSH session and remember your display, then run

xhost + grant any hosts use X11 connections to your display

Connect to remote host

ssh -X remote_user@remote_host
export DISPLAY=source_host:display_num

...and then run your X11 application