XRDP

From Chorke Wiki
Jump to navigation Jump to search
sudo apt install xrdp
sudo systemctl status xrdp
sudo systemctl enable --now xrdp
tee ${HOME}/.xsessionrc >/dev/null <<'EOF'
export GNOME_SHELL_SESSION_MODE=ubuntu
export XDG_CURRENT_DESKTOP=ubuntu:GNOME
export XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
EOF

Playground

systemctl start bluetooth
2388px × 1668px
1194px ×  834px
sudo apt install tlp
sudo bluetooth off
sudo bluetooth on
sudo apt install bluez-tools
bt-device -i MagicMouse2
bt-device -l

sudo nmcli dev wifi con 'ChorkeOrg_2.4GHz' password 'sadaqah!'
sudo nmcli dev wifi con 'ChorkeInc' password 'sadaqah!'
sudo nmcli dev wifi con 'ChorkeOrg' password 'sadaqah!'
sudo nmcli dev wifi
sudo nmcli con
sudo nmcli dev

sudo loginctl list-sessions
sudo loginctl kill-session c1
sudo loginctl kill-user ${USER}
sudo apt install xorg gnome gnome-shell --no-install-recommends
sudo apt install xorg gnome gnome-shell
sudo nmcli dev wifi rescan

sudo vim /etc/xrdp/startwm.sh
test -x  /etc/X11/Xsession
exec     /etc/X11/Xsession

References