Robert Cudmore    archive    tags    search    software


VNC in Debian 8 Jessie

Debian 8 Jessie will not run vnc using the gnome desktop. This bug will not be fixed until Debian 9.

Solution is to either use KDE or Mate desktops. Mate is a fork of Gnome.

Following this discussion.

pico /home/cudmore/.vnc/xstartup

#!/bin/sh

# Uncomment the following two lines for normal desktop:
#unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
#. /etc/X11/xinit/xinitrc
#/usr/bin/mate-session

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
mate-session &

On OS X, use VNC Viewer from realvnc

See this (I copy/pasted text below)

Add this line to /etc/apt/sources.list (don’t forget to replace #CODENAME# by stable/testing/unstable)

deb http://download.tuxfamily.org/glxdock/repository/debian #CODENAME# cairo-dock ## Cairo-Dock Stable

Then, copy-paste all this box in a terminal of your Debian stable/testing/unstable

su
wget -q http://download.tuxfamily.org/glxdock/repository/cairo-dock.gpg -O- | apt-key add - 
apt-get update 
apt-get install cairo-dock cairo-dock-plug-ins

Force APT to use packages from our repository It’s recommended to force APT to use Cairo-Dock’s packages from our repository instead of Cairo-Dock’s packages from official Debian repositories (because the latter are poorly made with a lot of unnecessary dependencies). For that, simply create this file: /etc/apt/preferences.d/cairo-dock With this content:

Package: cairo-dock* libgldi* 
Pin: origin download.tuxfamily.org 
Pin-Priority: 990

Right-click panel/tray and delete it

Tags: debian, linux

©2020. Robert Cudmore.