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 または xorgxrdp をバックエンドとして使用します。 == インストール == {{AUR|xrdp}} パッケージ (または開発版を使いたい場合は {{AUR|xrdp-git}}) を[[インストール]]してください。これはバックエンドとして、Xvnc のみサポートします。 === Xorg バックエンド === バックエンドの代わりに xorgxrdp を使用するには、{{AUR|xorgxrdp}} パッケージを [[インストール]] して下さい。 == 使用方法 == xrdp を起動したら RDP クライアントからローカルホストに接続できます (標準の RDP ポートは 3389)。''xrdp'' は小さなメッセージウィンドウを表示します。 ''sessman-Xvnc'' を選択した場合、ホストのアカウントのユーザー名とパスワードを指定することができ、''xrdp'' は新しい ''Xvnc'' インスタンスを起動します。{{ic|/etc/xrdp/startwm.sh}} にある ''SESSION'' リストからウィンドウマネージャが開きます。 セッションウィンドウを閉じて RDP 接続を終了すると、次回 RDP で接続したときは同じセッションにアクセスすることができます。セッションウィンドウからウィンドウマネージャやデスクトップ環境を終了した場合、セッションが終了され、次回は新しいセッションが開きます。 ''xrdp'' は既に同じジオメトリのセッションが開かれていないか確認して、ジオメトリ/解像度が一致しない場合は新しいセッションを起動します。 == ヒントとテクニック == === ブート時に自動起動 === {{AUR|xrdp}} パッケージには systemd のサービスファイルが含まれています。{{ic|xrdp.service}} を[[有効化]]してください。 === グラフィックアクセラレーション === Xorg セッションの場合、Intel および AMD GPU の場合は {{AUR|xorgxrdp-glamor}}、Nvidia GPU の場合は {{AUR|xorgxrdp-nvidia}} をインストールすることで、[[OpenGL]] および [[Vulkan]] グラフィック アクセラレーションを有効にできます。 === サウンド === 必要な [[PulseAudio]] モジュールを {{AUR|pulseaudio-module-xrdp}} でインストールします。 [[PipeWire]] ユーザーの場合は、{{AUR|pipewire-module-xrdp-git}} をインストールしてください === 非 root ユーザー === {{ic|Xwrapper.config}} に次の行を含めます: {{hc|/etc/X11/Xwrapper.config|2= allowed_users=anybody needs_root_rights=no }} 上記の行が存在しない場合、[[Remmina]] などのアプリケーションからのリモートデスクトップ接続は空の画面で開始されます。 == トラブルシューティング == === カーソルの周りの黒いボックス === マウスポインタの周りに黒いボックスがある場合は、{{ic|Xcursor.core:1}} 行を含む {{ic|~/.Xresources-xrdp}} を作成し、次のように {{ic|~/.xinitrc}} にロードします。 {{bc|<nowiki> xrdb ~/.Xresources-xrdp exec startlxde </nowiki>}} {{pkg|xorg-xrdb}} のインストールが必要になる場合があります。 === 黒いスクリーン === {{ic|~/.xinitrc}} の {{ic|--exit-with-session}} が {{ic|dbus_args}} に設定されている場合、セッションマネージャーにログインした後に黒い画面が表示されることがあります。 {{ic|~/.xinitrc}} を {{ic|~/.xrdpinitrc}} にコピーし、{{ic|--exit-with-session}} を削除して、{{ic|~/.xinitrc}} の代わりに {{ic|~/.xrdpinitrc}} を呼び出すように {{ic|/etc/xrdp/startwm.sh}} を更新してみてください。{{ic|~/.xinitrc}} で説明されているように、{{ic|~/.xrdpinitrc}} への呼び出しにデスクトップ環境を追加する必要がある場合があります。 例えば {{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. Some DEs (like KDE Plasma) might also be able to restore fully working applications/windows from a previous session, which makes it seem that "only plasmashell" is missing. 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}} or {{ic|dbus-launch --exit-with-session startplasma-x11}}. === Green screen === If the login dialog appears, but no desktop environment starts when you click OK, change {{ic|1=param=Xorg}} to {{ic|1=param=/usr/lib/Xorg}} in {{ic|/etc/xrdp/sesman.ini}}. === 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 include system-remote-login '''-session optional pam_gnome_keyring.so auto_start''' '''-session optional pam_kwallet5.so auto_start''' }} Then, add {{ic|etc/pam.d/xrdp-sesman}} (no leading slash) to {{ic|NoUpgrade}} in {{ic|/etc/pacman.conf}}. 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 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}}. === Two-finger scrolling is too fast === Use the xorg backend, make sure xorgxrdp is 0.9.19 or newer. Then add {{ic|1=XRDP_XORG_TOUCHPAD_SCROLL_HACK=yes}} to the {{ic|[SessionVariables]}} section of {{ic|/etc/xrdp/sesman.ini}}. See [https://github.com/neutrinolabs/xorgxrdp/issues/150 upstream issue #150] for details. === Restricted functionality within remote system === A user may not have the same access permissions when logged into a system remotely as the same user does when logged in locally. Additional configuration may be required of the [[polkit]] permissions policies to grant access, including to mounted drives or to control network connections. ==== Mounted drives ==== For remote access permissions to mounted drives see [[udisks#Permissions]]. ==== NetworkManager ==== For remote access permissions to NetworkManager see [[NetworkManager#Set up PolicyKit permissions]]. == 参照 == * [[Vncserver|TigerVNC]] - RDP の代替としてバックエンドで使われる VNC *{{Pkg|freerdp}} - ネットワークレベル認証 (NLA) などの RDP 7.1 の機能をサポートしている rdesktop フォーク。[http://askubuntu.com/a/97932/217269] を参照。
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Bc
(
ソースを閲覧
)
テンプレート:Hc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
Xrdp
に戻る。
検索
検索
Xrdpのソースを表示
話題を追加