XRDP: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==References== {| | valign="top" | * [https://askubuntu.com/questions/1407444/ xRDP » Ubuntu 22.04 Headless Remote Desktop] * [https://askubuntu.com/questions/1442514/ xRDP...") |
|||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<source lang="bash"> | |||
sudo apt install xrdp | |||
sudo systemctl status xrdp | |||
sudo systemctl enable --now xrdp | |||
</source> | |||
<source lang="bash"> | |||
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 | |||
</source> | |||
==Playground== | |||
{| | |||
| valign="top"| | |||
systemctl start bluetooth | |||
2388px × 1668px | |||
1194px × 834px | |||
| valign="top"| | |||
sudo apt install tlp | |||
sudo bluetooth off | |||
sudo bluetooth on | |||
| valign="top"| | |||
sudo apt install bluez-tools | |||
bt-device -i MagicMouse2 | |||
bt-device -l | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" colspan="2"| | |||
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!' | |||
| valign="top" | | |||
sudo nmcli dev wifi | |||
sudo nmcli con | |||
sudo nmcli dev | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" | | |||
sudo loginctl list-sessions | |||
sudo loginctl kill-session c1 | |||
sudo loginctl kill-user ${USER} | |||
| valign="top" colspan="2"| | |||
sudo apt install xorg gnome gnome-shell --no-install-recommends | |||
sudo apt install xorg gnome gnome-shell | |||
sudo nmcli dev wifi rescan | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" | | |||
sudo vim /etc/xrdp/startwm.sh | |||
test -x /etc/X11/Xsession | |||
exec /etc/X11/Xsession | |||
| valign="top" | | |||
| valign="top" | | |||
|} | |||
==References== | ==References== | ||
{| | {| | ||
Line 4: | Line 77: | ||
* [https://askubuntu.com/questions/1407444/ xRDP » Ubuntu 22.04 Headless Remote Desktop] | * [https://askubuntu.com/questions/1407444/ xRDP » Ubuntu 22.04 Headless Remote Desktop] | ||
* [https://askubuntu.com/questions/1442514/ xRDP » Ubuntu Gnome Default Remote Desktop] | * [https://askubuntu.com/questions/1442514/ xRDP » Ubuntu Gnome Default Remote Desktop] | ||
* [https://www.digitalocean.com/community/tutorials/how-to-enable-remote-desktop-protocol-using-xrdp-on-ubuntu-22-04 xRDP » Enable Remote Desktop Protocol] | |||
* [[Linux Virtual Display for iPad Pro]] | * [[Linux Virtual Display for iPad Pro]] | ||
* [https://cloudzy.com/blog/gnome-remote-desktop/ RDP Gnome Remote Desktop] | * [https://cloudzy.com/blog/gnome-remote-desktop/ RDP Gnome Remote Desktop] | ||
* [[AwesomeWM]] | |||
* [[Neovim]] | |||
* [[TMux]] | |||
| valign="top" | | | valign="top" | | ||
Line 17: | Line 94: | ||
|- | |- | ||
| valign="top" | | | valign="top" | | ||
* [https://support.apple.com/kb/SP784?locale=en_US iPad Pro » 11" G1 » Specification] | |||
* [https://askubuntu.com/questions/380096/ Turn on/off Bluetooth from shell] | |||
* [https://support.apple.com/en-my/HT209186 USB4 » Thunderbolt » iPad Pro] | * [https://support.apple.com/en-my/HT209186 USB4 » Thunderbolt » iPad Pro] | ||
* [https://www.apple.com/my/ipad-pro/specs/ iPad Pro » Specification] | * [https://www.apple.com/my/ipad-pro/specs/ iPad Pro » Specification] | ||
Line 22: | Line 101: | ||
* [[Apple iPad Pro]] | * [[Apple iPad Pro]] | ||
* [[Thunderbolt]] | * [[Thunderbolt]] | ||
* [[Remmina]] | |||
* [[X11VNC]] | * [[X11VNC]] | ||
Latest revision as of 01:18, 9 May 2024
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
|
||
| ||