Recently in the lab of OpenStack virtual machine in the related development, occasionally still need to have a desktop client, however, the virtual machine does not install the desktop, the following record the practice process:
- Xfce4 Desktop Installation
- sudo apt-get install Xubuntu-desktop
- echo "Xfce4-session" >~/.xsession
- Vnc-server Installation
- sudo apt-get install Vnc4server
- VNC-related configuration file modification
- Use the "vnc4server" command to turn on the service
- Modifying the ~/.vnc/xstartup configuration file
- Restart VNC Service
- Vnc-client Installation
- Client programs that are installed on a client machine (such as Windows or Mac)
- Connect to Remote Desktop
There are some problems with PS:XRDP Remote Desktop Connection: Environment variable is not available, may be user role problem, follow-up study added supplemental explanation.
Linux Remote Desktop