LinuxMint 18: Remote connect to Cinnamon with VNC/XRDP

This article will describe installing tigervnc and remote connect to Cinnamon with VNC/XRDP.


1 Install tigervnc

Build and install tigervnc. Use build script for Ubuntu 16.04 in tigervnc source code.


# Remove vnc4server.
sudo apt remove -y vnc4server

# Create working directory.
mkdir tigervnc
cd tigervnc

# Download source code.
git clone
cd tigervnc/

# Avoid compiler error.
git checkout ff872614b507d0aa8bfbd09ef41550390cfe658a

# Prepare to build package.
ln -s contrib/packages/deb/ubuntu-xenial/debian
chmod a+x debian/rules
sudo apt install -y -o 'apt::install-recommends=true' \
     `dpkg-checkbuilddeps 2>&1 | \
sed -e 's/.*build dependencies://g' -e 's/([^)]*)//g'`

# Build package.
fakeroot debian/rules binary
cd ..

# Install package with resolving dependent package.
sudo dpkg -i *.deb || (sudo apt-get -f install -y ; sudo dpkg -i *.deb || exit 1)
cd ..

2 Run VNC server

Run VNC server with vncserver command.

$ vncserver

You will require a password to access your desktops.

Would you like to enter a view-only password (y/n)? n

Connect to vnc://<server>:5901.


3 Run XRDP server

Install xrdp with apt.

$ sudo apt install -y xrdp

Connect to server with remote desktop.