LoginSignup
3
1

More than 5 years have passed since last update.

XRDP を ubuntu18.04に aptで インストールして使う

Last updated at Posted at 2018-05-09

標準の環境がgnomeになって さらに 簡単になった
インストールしたあと 修正点は2か所

インストール

aptコマンドで 簡単インストール

sudo apt install xrdp

設定変更1

/etc/X11/Xwrapper.config の内容を

allowed_users = anybody

に 書き換える

設定変更2

polkitの設定を修正しないと "Authentication is required to create a color managed device" と言われる

/etc/polkit-1/localauthority.conf.d/02-allow-colord.conf を作成して次のように記述する

polkit.addRule(function(action, subject) {
  if (action.id == "org.freedesktop.color-manager.create-device" ||
       action.id == "org.freedesktop.color-manager.create-profile" ||
       action.id == "org.freedesktop.color-manager.delete-device" ||
       action.id == "org.freedesktop.color-manager.delete-profile" ||
       action.id == "org.freedesktop.color-manager.modify-device" ||
       action.id == "org.freedesktop.color-manager.modify-profile") {
     return polkit.Result.YES;
  }
});

注意点

注意点としては コンソールで x環境使っているユーザはログインできないようです。

3
1
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
3
1