LoginSignup
5
7

More than 5 years have passed since last update.

Debian8にWindowsからリモートデスクトップでログインするための環境構築

Last updated at Posted at 2016-04-02

主題を実現するまでの手順

手段

xrdpを使う。

xrdpとは

フロントページ - 日本 xrdp ユーザ会
https://xrdp.vmeta.jp/

xrdp はオープンソースで開発されている Remote Desktop Protocol のサーバソフトウェアです。

xrdpをインストール

ログインしたいDebianにxrdpをインストールする。

sudo aptitude install xrdp
sudo systemctl enable xrdp.service
sudo systemctl start xrdp.service

デスクトップ環境をインストール

GNOMEを入れていたが、xrdpはGNOMEに対応していないらしい。
xrdpが対応しているデスクトップ環境は複数ある。
今回はXfceを使う。

Xfceをインストール

sudo aptitude install xfce4

環境設定

echo "xfce4-session" > ~/.xsession
sudo systemctl restart xrdp.service

Windowsからログイン

リモートデスクトップでログイン。

スクリーンセーバー停止

Xfceを入れてから、tessellimage/cwaves/fiberlamp/fuzzyflakesといったプロセスがCPU使用率100%になる。
これらはスクリーンセーバーのプロセスのようだ。
設定でスクリーンセーバー無効にしても動くのでスクリーンセーバーをアンインストールした。

aptitude purge xscreensaver

参考

XRDPのインストール方法 - Narrow Escape
http://hiroom2.jimdo.com/2015/06/13/xrdp%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E6%96%B9%E6%B3%95/

server - How to configure XRDP to start cinnamon as default desktop session - Ask Ubuntu
http://askubuntu.com/questions/135483/how-to-configure-xrdp-to-start-cinnamon-as-default-desktop-session

5
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
7