[小技巧] ubuntu安装gnome-desktop + xrdp登录

date
Mar 6, 2024
slug
tip-ubuntu-gnome-desktop-xrdp
status
Published
summary
小技巧
tags
tip
type
Post
notion image

Problem & Summary

# if not enabled yet
sudo apt update
sudo apt install ubuntu-desktop



sudo apt install -y xrdp
sudo systemctl enable xrdp
sudo systemctl status xrdp


sudo passwd any-user-name
sudo adduser any-user-name ssl-cert
sudo adduser xrdp ssl-cert

# if linux mint, add this line otherwise black screen
# echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS cinnamon-session>~/.xsession

sudo systemctl restart xrdp

# port forward
modem: 34589 ->
ubnt switch: 34589 ->
sh88qh_ubt22qh18vm: 3389

Solution

  • vi /etc/X11/xrdp/xorg.conf
notion image

    Screenshots

    notion image
     

    © Ying Bun 2021 - 2024