Uncategorized

Ubuntuへxrdp接続時に真っ暗

thatisgraffiti

Windows10でマシンが空いたので、久しぶりにUbuntu Desktopをホストとしてインストールしました。
Ubuntu 24.02LTSです。
GUIアプリで実行するものがあり、Windowsマシンから並行して作業するためにxrdpをインストールしました。Windowsマシンからrdp接続すると、真っ暗に。なぜ?
パスワード間違い?権限不足?はて?

なんと既知のバグだそうです。
修正するには、以下を実行します。

sudo vim /etc/gdm3/custom.conf

すると、以下の設定が表示されます。

# GDM configuration storage
#
# See /usr/share/gdm/gdm.schemas for a list of available options.

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=XXX

# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false

上記の一部のコメントアウトを外します。

#WaylandEnable=false
→ 
WaylandEnable=false

xrdpを再起動します。

sudo systemctl restart xrdp

再度WindowsマシンからUbuntuのxrdpサービスへ接続できました。なんか、UIが異なってますが。

ABOUT ME
記事URLをコピーしました