Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Xrdpのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Xrdp
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
{{Translateme|英語版からの記事の転載と若干の修正のみ。飜訳はまだです。}} [[Category:リモートデスクトップ]] [[en:Xrdp]] '''xrdp''' は Microsoft の [[Wikipedia:ja:Remote Desktop Protocol|Remote Desktop Protocol]] (RDP) をサポートするデーモンです。Xvnc, X11rdp, xorgxrdp をバックエンドとして使用します。 == インストール == {{AUR|xrdp}} パッケージ (または開発版を使いたい場合は {{AUR|xrdp-git}}) を[[インストール]]してください。これはバックエンドとして、Xvnc のみサポートします。 === Xorg backend === To use xorgxrdp instead for the backend, [[install]] the {{AUR|xorgxrdp}} package. Add {{ic|1=allowed_users=anybody}} to {{ic|/etc/X11/Xwrapper.config}} to allow anybody to start an X server. == 使用方法 == xrdp を起動したら RDP クライアントからローカルホストに接続できます (標準の RDP ポートは 3389)。''xrdp'' は小さなメッセージウィンドウを表示します。 ''sessman-Xvnc'' を選択した場合、ホストのアカウントのユーザー名とパスワードを指定することができ、''xrdp'' は新しい ''Xvnc'' インスタンスを起動します。{{ic|/etc/xrdp/startwm.sh}} にある ''SESSION'' リストからウィンドウマネージャが開きます。 セッションウィンドウを閉じて RDP 接続を終了すると、次回 RDP で接続したときは同じセッションにアクセスすることができます。セッションウィンドウからウィンドウマネージャやデスクトップ環境を終了した場合、セッションが終了され、次回は新しいセッションが開きます。 ''xrdp'' は既に同じジオメトリのセッションが開かれていないか確認して、ジオメトリ/解像度が一致しない場合は新しいセッションを起動します。 == Tips and tricks == === ブート時に自動起動 === {{AUR|xrdp}} パッケージには systemd のサービスファイルが含まれています。{{ic|xrdp.service}} を[[有効化]]してください。 === Graphical acceleration === For Xorg sessions, you can enable [[OpenGL]] and [[Vulkan]] graphical acceleration by installing {{AUR|xorgxrdp-glamor}} for Intel and AMD GPUs and {{AUR|xorgxrdp-nvidia}} for Nvidia GPUs. === Sound === Install the necessary [[PulseAudio]] modules with {{AUR|pulseaudio-module-xrdp}}. === Vino で実行 (root セッションの Gnome VNC-Server) === サーバーを有効化すると vino-preferences から確認できるようになります。Vino はデフォルトでポート 5900 を使って接続するので、xrdp の設定ファイルを編集する必要があります。以下のコードを使って xrdp の設定ファイル ({{ic|/etc/xrdp/xrdp.ini}}) に vino のセッションを追加してください。 {{hc|/etc/xrdp/xrdp.ini|2= [xrdp8] name=Vino-Session lib=libvnc.so username=ask password=ask ip=127.0.0.1 port=5900 }} VNC 接続エラーが発生した場合は、{{ic|vino-server}} デフォルトで TLS 接続のみを受け入れることが原因である可能性があります。{{ic|xrdp}} 接続できるように、これを標準の VNC 認証に変更する必要があります。 $ gsettings set org.gnome.Vino require-encryption false {{ic|vino-server}} ループバックインターフェースのみリッスンするように制限することもできます $ gsettings set org.gnome.Vino network-interface lo xrdp サーバを再起動することを忘れないでください。そうすれば、vino セッションに接続できるはずです(xfreerdp を使ってテスト済み)。 == トラブルシューティング == === Black box around cursor === If you encounter black box around mouse pointer create {{ic|~/.Xresources-xrdp}} with line {{ic|Xcursor.core:1}} and load it in {{ic|~/.xinitrc}} like {{bc|<nowiki> xrdb ~/.Xresources-xrdp exec startlxde </nowiki>}} You may need to install {{pkg|xorg-xrdb}}. === Black screen === You may get a black screen after logging into the session manager if your {{ic|~/.xinitrc}} has {{ic|--exit-with-session}} set in the {{ic|dbus_args}}. Try copying {{ic|~/.xinitrc}} to {{ic|~/.xrdpinitrc}}, removing {{ic|--exit-with-session}}, and updating {{ic|/etc/xrdp/startwm.sh}} to call {{ic|~/.xrdpinitrc}} instead of {{ic|~/.xinitrc}}. You might need to append your desktop environment to the call to .xrdpinitrc, as is mentioned in ~/.xinitrc; eg. {{ic|. ~/.xrdpinitrc xfce}}. === Black screen with a desktop environment === If you get a black screen and you use a desktop environment, it may be a result of [[D-Bus]] not being properly initialized. Try running the desktop environment with {{ic|dbus-launch --exit-with-session}} in your {{ic|~/.xinitrc}} file. For KDE Plasma, you can use the command {{ic|/usr/lib/plasma-dbus-run-session-if-needed startplasma-x11}}. === loginctl or systemctl --user not working === Try commenting out all the references to {{ic|systemd-home}} in {{ic|/etc/pam.d/system-auth}}. See [https://github.com/neutrinolabs/xrdp/issues/1684 this issue]. === Prompts for gnome-keyring or KDE Wallet === If you are prompted to login to gnome-keyring or [KDE Wallet] when your session starts, modify the file {{ic|/etc/pam.d/xrdp-sesman}} as follows: {{hc|/etc/pam.d/xrdp-sesman|2= #%PAM-1.0 auth include system-remote-login '''-auth optional pam_gnome_keyring.so''' '''-auth optional pam_kwallet5.so''' account include system-remote-login password include system-remote-login '''-password optional pam_gnome_keyring.so use_authtok''' '''session optional pam_keyinit.so force revoke''' session include system-remote-login '''-session optional pam_gnome_keyring.so auto_start''' '''-session optional pam_kwallet5.so auto_start''' }} If you only use gnome-keyring it is not necessary to include the kwallet5 lines, and vice versa. === Prevent autostart items from starting === To prevent user defined {{ic|~/.config/autostart}} items for a from starting you can set the autostart directory param on the session in the {{ic|~/.xinitrc}} to use only the global {{ic|/etc/xdg/autostart}} directory. {{bc|<nowiki> get_session(){ local dbus_args=(--sh-syntax) case "$SESSION" in awesome) dbus_args+=(awesome) ;; bspwm) dbus_args+=(bspwm-session) ;; budgie) dbus_args+=(budgie-desktop) ;; cinnamon) dbus_args+=(cinnamon-session -a /etc/xdg/autostart) ;; </nowiki>}} === No sound === This could be a symptom of an issue with ''loginctl'', so try that fix [[#loginctl or systemctl --user not working|above]]. The following error may be encountered in the system [[journal]]: Failed to load module "module-x11-publish" (argument: "display=:10.0 xauthority="): initialization failed. This is the result of ''systemd'' improperly starting PulseAudio. One workaround is to [[disable]] the [[user unit]] files {{ic|pulseaudio.service}} and {{ic|pulseaudio.socket}} either for your own user or for all users, and make PulseAudio start when needed by setting {{ic|autospawn}} to {{ic|yes}} in {{ic|/etc/pulse/client.conf}}. If sound still does not work, try manually starting PulseAudio with {{ic|pulseaudio &}} in your {{ic|~/.xinitrc}}. == 参照 == * [[Vncserver|TigerVNC]] - RDP の代替としてバックエンドで使われる VNC *{{Pkg|freerdp}} - ネットワークレベル認証 (NLA) などの RDP 7.1 の機能をサポートしている rdesktop フォーク。[http://askubuntu.com/a/97932/217269] を参照。
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Bc
(
ソースを閲覧
)
テンプレート:Hc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
Xrdp
に戻る。
検索
検索
Xrdpのソースを表示
話題を追加