Harukaのnote

Linuxやプログラミング,写真,旅行等の記録帳

Manjaro Xfce4 で Chrome-remote-desktop

GnomeChrome-remote-desktop (以下 crd)はあまり相性が良くないらしく,Xfceをインストールして使っています.

Manjaro(Arch)で crd を使うための設定を以下に残しておきます.

crd のインストール

$ yay -S chrome-remote-desktop

yay が無い場合は,以下のコマンドで事前にインストールします.

$ sudo pacman -S yay

crd の設定

一般的な Linux での crd は /opt/google/chrome-remote-desktop/chrome-remote-desktopを編集しますが,私の場合は立ち上げにエラーが発生したため編集しません.

~/.chrome-remote-desktop-session を編集します.
以下のように記載します. fcitxによる日本語入力の設定もしています.

eval $(dbus-launch --sh-syntax)
export GTK_IM_MODULE=fcitx 
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
exec /usr/bin/startxfce4

crd を起動

以下のコマンドで再起動することで,他のPCからアクセスできると思います.

$ systemctl --user enable chrome-remote-desktop
$ systemctl --user start chrome-remote-desktop
$ crd --restart

以下のサイトを参考にさせていただきました.
qiita.com