# Desktop

Linux desktop environments are the graphical interfaces used to interact with the operating system.

  • The main Linux Desktop Environments: GNOME, KDE, Xfce, Mate
  • The main connection methods: :Windows remote desktop, VNC

ubuntu desktop

# Connect Desktop

There are two optional graphical login methods as follows:

# Windows remote desktop

Connect Linux desktop is the same with connect Windows Server

  1. Log in Cloud platform console, get you Internet IP Address of Cloud Server

  2. Choose a way to open a local computer remote desktop (three-in-one):

    • Open Start -> Remote Desktop
    • Open Start, input "mstsc" directly, the system will search for the Remote Desktop
    • Using the keyboard Windows Logo + R to start the command windows, input input "mstsc" to open the Remote Desktop
  3. Input Internet IP Address of Cloud Server and click the 【Connect】button image.png

  4. Click the 【Yes】when you see the below reminder
    image.png

  5. Then input your Linux credential to connect Linux Server like below enter image description here

  6. You can see the Desktop when you login successfully

    • Gnome Desktop Gnome Desktop

    • KDE Desktop Gnome Desktop

    • Mate Desktop Gnome Desktop

    • Xfce Desktop Gnome Desktop

# VNC

VNC (Virtual Network Computing) allows you to remotely control a Linux computer with another computer through a graphical interface. You will be able to observe a Linux desktop environment and interact with it using the mouse and keyboard from a different computer.

Websoft9 (opens new window) desktop solution have installed vncserver for you, below steps is for your reference:

  1. Use SSH to connect Server and set you VNC password

    sudo su
    rm -rf /root/.vnc/passwd
    vncpasswd
    
  2. Install VNC viewer (opens new window) on your local computer

  3. Login to your cloud console and enable the 5901 port of security group

  4. Open your VNC client and create a VNC connection (Server's Internet IP:5901)

  5. Click the【Continue】button to next step

  6. Input your VNC password to connection desktop

  7. If your Server is locked, please input your root password to unlock it

  8. More commands for your VNCServer

    # List all VNC
    vncserver -list
    
    # Kil a VNC
    kill -9 :1
    
    # Manage the VNCServer service
    systemctl start vncserver@:1.service
    systemctl stop vncserver@:1.service
    systemctl status vncserver@:1.service
    systemctl restart vncserver@:1.service
    

# FAQ

# Don't know the VNC password?

Please use SSH to connect Server and set your VNC password by the below commands:

vncpasswd
systemctl restart vnc

# Does the locked state of the graphical interface support secret key unlocking?

No

Yes, refer to here (opens new window)

# Which VNC Server is pre-installed?

TigerVNC (opens new window)

# How does the server using the key pair use remote desktop?

If you want to use Windows remote desktop to connection Linux Desktop, SSH to connect Server and set your root password

passwd

# What should I do if I accidentally lock the screen after logging in as root?

The login password cannot be unlocked, you can only log in after restarting the server.