Ubuntu 18.04 install Remote Desktop

Original link: https://baijiahao.baidu.com/s?id=1619271691270163095&wfr=spider&for=pc

Installation tightvncserver, xrdp sudo install APT tightvncserver xrdp

安装xubuntu-desktopsudo apt install xubuntu-desktop

Configured to generate ~ / .xsession the xfce4-session are written to the file .xsession

echo xfce4-session >~/.xsession

Modify /etc/xrdp/startwm.sh file: sudo vim /etc/xrdp/startwm.sh

Xfce4-session added in test -x / etc / X11 / Xsession && exec / etc / / over Xsession X11

 

 

Modify / etc / X11 / Xsession file: Add xfce4-session at the top of the file:

 

 

Restart xrdp service sudo systemctl restart xrdp.service

windows terminal landing Remote Desktop win + r health after the start input: mstsc command:

 

 

Click "OK" to enter the connection interface:

 

 

Enter the IP address (Ubuntu's IP address), click on the link.

 

 

After successful connection interface is shown below:

 

 

Enter your user name and password login system.

Guess you like

Origin www.cnblogs.com/fswhq/p/11836614.html