Last active
May 1, 2022 09:18
-
-
Save HubKing/f48504e19e593bdefa7c332e74f82ee1 to your computer and use it in GitHub Desktop.
Revisions
-
HubKing revised this gist
May 1, 2022 . 1 changed file with 5 additions 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 @@ -22,4 +22,8 @@ git clone https://github.com/matt335672/pam_close_systemd_system_dbus sudo make install sudo nano /etc/pam.d/xrdp-sesman Add `session optional pam_close_systemd_system_dbus.so` above existing `session include`. Order matters. sudo reboot [Disable login screen sleep] Disable automatic sleep for a user, and then execute the following command with `username` replaced with the actual user ID. `IFS=$'\n'; for x in $(sudo -u username gsettings list-recursively org.gnome.settings-daemon.plugins.power); do eval "sudo -u gdm dbus-launch gsettings set $x"; done; unset IFS` -
HubKing revised this gist
May 1, 2022 . 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 @@ -21,5 +21,5 @@ git clone https://github.com/matt335672/pam_close_systemd_system_dbus `cd pam_` (tab) sudo make install sudo nano /etc/pam.d/xrdp-sesman Add `session optional pam_close_systemd_system_dbus.so` above existing `session include`. Order matters. sudo reboot -
HubKing created this gist
Apr 30, 2022 .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,25 @@ [Enable AUR] Note: Don't do it with the `root` account. makepkg refuses to run under root. sudo pacman -S git base-devel sudo pacman -S git git clone https://aur.archlinux.org/yay.git cd yay makepkg -si [Enable RDP] Note: Assembled from various web sources including https://github.com/txhx38/manjaro-gnome-xrdp yay -S xrdp xorgxrdp sudo systemctl enable xrdp.service sudo systemctl enable xrdp-sesman.service sudo nano /etc/X11/Xwrapper.config Add `allowed_users=anybody` and save. nano ~/.xinitrc Add `exec dbus-launch --sh-syntax gnome-session` ands save. git clone https://github.com/matt335672/pam_close_systemd_system_dbus `cd pam_` (tab) sudo make install sudo nano /etc/pam.d/xrdp-sesman Add `session optional pam_close_systemd_system_dbus.so` above existing `session optional`. Order matters. sudo reboot