LinuxMint 18: CinnamonにVNC/XRDPでリモート接続する


Table of Contents

1 tigervncのインストール

tigervncをビルドしてインストールします。tigervncのUbuntu 16.04向けビルドスクリプトを利用します。

#!/bin/sh# Remove vnc4server.sudo apt remove -y vnc4server# Create working directory.mkdir tigervnccd tigervnc# Download source code.git clone tigervnc/# Avoid compiler error.git checkout ff872614b507d0aa8bfbd09ef41550390cfe658a# Prepare to build package.ln -s contrib/packages/deb/ubuntu-xenial/debianchmod a+x debian/rulessudo 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 binarycd ..# Install package with resolving dependent package.sudo dpkg -i *.deb || (sudo apt-get -f install -y ; sudo dpkg -i *.deb || exit 1)cd ..

2 VNCサーバを動かす

vncserverコマンドでVNCサーバを起動します。

$ vncserverYou will require a password to access your desktops.Password:Verify:Would you like to enter a view-only password (y/n)? n

vnc://<server>:5901に接続します。

0001_vnc.png

3 XRDPサーバを動かす

xrdpをインストールします。

$ sudo apt install -y xrdp

リモートデスクトップ接続します。

0002_xrdp.png

Android | Linux | SDL - Narrow Escape