LoginSignup
0
1

More than 1 year has passed since last update.

Dockerでリモートデスクトップがubuntuに繋がらなくなった場合の対処法

Last updated at Posted at 2021-07-25

Docker上でWindowsのリモートデスクトップでubuntuのデスクトップを表示し、終了して、
再起動して再びリモートデスクトップで繋ごうとしたら、繋がらなくなった。

繋がる場合は↓のようになる。

スクリーンショット 2021-07-25 093717.png

繋がらない場合は↓のようになる。

スクリーンショット 2021-07-25 094100.png

service xrdp start でスタートさせると、下記のような表示になる。

service xrdp start
 * Starting Remote Desktop Protocol server                                                                              It looks like xrdp is allready running,
if not delete the xrdp.pid file and try again
sesman is already running.
if it's not running, try removing /var/run/xrdp/xrdp-sesman.pid

ここで、/var/run/xrdp/xrdp-sesman.pid を削除しても繋がらない

rm /var/run/xrdp/* 

とし、(/var/run/xrdpフォルダ内をすべて削除)
service xrdp stop
service xrdp start

とすると、繋がる。

以上

これでもダメな場合下記記事を参照してください。
https://qiita.com/nihonmatsu/items/90a397b1286f7c31bf3a

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