machine:Intel D510MO ボード
OS:Linux Mint 18 64bit
ゲートウェイマシン
sudo apt-get install openssh-server -y
リモートデスクトップの導入
sudo apt-get install xrdp vnc4server -y
cd /etc/xrdp
sudo wget http://www.mail-archive.com/xrdp-devel@lists.sourceforge.net/msg00263/km-e0010411.ini
sudo mv km-e0010411.ini km-0411.ini
sudo chmod 644 km-0411.ini
sudo ln -s km-0411.ini km-e0010411.ini
sudo ln -s km-0411.ini km-e0200411.ini
sudo ln -s km-0411.ini km-e0210411.ini
sudo service xrdp restart
touch ~/.Xauthority
echo "mate-session" > ~/.Xclients
chmod +x ~/.Xclients
sudo nano /etc/group
xrdp:x:113:hogeuser
sudo nano /etc/xrdp/startwm.sh
-----
#!/bin/sh
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi
. /etc/X11/Xsession
-----
↓
-----
#!/bin/sh
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi
#. /etc/X11/Xsession
mate-session
-----
クライアントマシン
sudo apt-get install xrdp vnc4server -y
cd /etc/xrdp
sudo wget http://www.mail-archive.com/xrdp-devel@lists.sourceforge.net/msg00263/km-e0010411.ini
sudo mv km-e0010411.ini km-0411.ini
sudo chmod 644 km-0411.ini
sudo ln -s km-0411.ini km-e0010411.ini
sudo ln -s km-0411.ini km-e0200411.ini
sudo ln -s km-0411.ini km-e0210411.ini
sudo service xrdp restart
touch ~/.Xauthority
echo "mate-session" > ~/.Xclients
chmod +x ~/.Xclients
sudo nano /etc/group
xrdp:x:113:hogeuser
sudo nano /etc/xrdp/startwm.sh
-----
#!/bin/sh
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi
. /etc/X11/Xsession
-----
↓
-----
#!/bin/sh
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi
#. /etc/X11/Xsession
mate-session
-----
プロキシは手動
192,168.2.1:8080