Last active
May 9, 2024 07:03
-
-
Save schartz/0d72f51b03ef294f83e503c6181869f7 to your computer and use it in GitHub Desktop.
Revisions
-
schartz revised this gist
May 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Uninstall any old installations of xrdp xorgxrdp yay -Rncs xrdp-git xrdp-git-debug xorgxrdp-git xorgxrdp-git-debug ``` Install xrdp and xorgxrdp ``` yay -S xrdp xorgxrdp ``` -
schartz renamed this gist
May 9, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
schartz created this gist
May 9, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,57 @@ Uninstall any old installations of xrdp xorgxrdp ``` yay -Rncs xrdp-git xrdp-git-debug xorgxrdp-git xorgxrdp-git-debug ``` Instal xrdp and xorgxrdp ``` yay -S xrdp xorgxrdp ``` Make `libtool` finish it's job ``` libtool --finish /usr/lib libtool --finish /usr/lib/xrdp libtool --finish /usr/lib/xorg/modules libtool --finish /usr/lib/xorg/modules/drivers libtool --finish /usr/lib/xorg/modules/input ``` Enable services for xrdp ``` sudo systemctl enable xrdp xrdp-sesman ``` Add following lines in `/etc/X11/Xwrapper.config` if not already there ``` allowed_users=anybody needs_root_rights=no ``` Change the value of `param` key in `/etc/xrdp/sesman.ini` if not already there ``` param=/usr/lib/Xorg ``` Add following line at the end of `~/.xinitrc` if not already there ``` /usr/lib/plasma-dbus-run-session-if-needed startplasma-x11 ``` Optionally, to avoid frequeent password prompts in RDP create a file `/etc/polkit-1/rules.d/45-colord.rules` if not already there and add following line in it: ``` polkit.addRule(function(action, subject) { if ((action.id == "org.freedesktop.color-manager.create-device" || action.id == "org.freedesktop.color-manager.create-profile") && subject.isInGroup("wheel")) { return polkit.Result.YES; } }); ``` Lastly, reboot the system ``` sudo /sbin/reboot now ```