GNU / Linux was basically used with CUI without a desktop environment.
However, recently, I often find it convenient to be able to connect to a GUI GNU / Linux environment by remote desktop, so I made a note of how to do it.
Use xrdp.
sudo apt install xrdp lxde
Edit /etc/xrdp/xrdp.ini.
[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
code=20
Comment out sections other than Xorg.
Specified in ~ / .xsession.
cinnamon-session
Measures for this.
gsettings set org.gnome.Vino require-encryption false
sudo service xrdp restart
Change iptables to open port 3389.
If successful, it will look like this.
Since I often remote desktop to another Windows environment, it is convenient to be able to connect to GNU / Linux with the same glue.
It is assumed to be used in a LAN.
Recommended Posts