Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for Compute Cloud
    • You are unable to add a Committed Volume of Services (CVoS) for Compute Cloud
    • You see a "Permission denied" error when connecting to a VM created in Terraform
    • No nested virtualization support
    • UEFI support and data import from GPT-formatted disks
    • Fixing the "Not enough resources" error on launching a virtual machine
    • Recovering access to a VM with a lost SSH key
    • Fixing issues with creating disk snapshots
    • Boot disk size failed to increase
    • VM instance shuts down on the "instance guest stop processing" operation
    • Fixing the "WARNING REMOTE HOST IDENTIFICATION HAS CHANGED" error
    • Fixing a non-replicable disk breakdown
    • Fixing connection issues with Kosmos VM
    • Fixing password reset issues for VMs based on a Kosmos image
    • Options to migrate a VM image to Yandex Cloud
    • Changing the boot disk for an instance to SSD
    • Getting details about RAM consumption for Compute Cloud instances
    • Creating VMs having multiple network interfaces
    • Decreasing VM disk size
    • Exporting disk images of Compute Cloud VM instances
    • Transferring VMs between folders or clouds
    • Setting up GUI and graphic environment on Linux VMs
    • Using an ISO image for deploying VM instances
    • Monitoring incoming or outgoing VM traffic
    • How to use WinSCP to connect to a Linux VM in Yandex Cloud with a key generated at VM creation
    • How to back up a VM with rollback support
    • How to connect via SSH as root with a password or key
    • How to track memory usage
    • How to save snapshots and images locally
    • How to change an internal IP address
    • How to read the "Connections quota utilization" chart
    • What is the disk access speed for a VM
    • How to create a VM with password access
    • What is the maximum number of network interfaces that can be connected to a VM

In this article:

  • Issue description
  • Solution
  1. Compute Cloud
  2. Setting up GUI and graphic environment on Linux VMs

Setting up GUI and graphic environment on Linux VMs

Written by
Yandex Cloud
Updated at November 27, 2023
  • Issue description
  • Solution

Issue descriptionIssue description

  • You need to use graphical applications on VM instances with Linux OS

SolutionSolution

There are three options that allow you to use a graphical desktop environment on Linux VMs:

  • Use VNC or RDP To do this:

    1. Install a desktop environment
    2. After this, install xrdp or a VNC server (for connecting via RDP or VNC, respectively)
      We recommend using a combination of a VNC server that listens only to localhost, and an SSH tunnel: in this case, you will eliminate the risk of attackers connecting to your VM via VNC, as well as encrypt your VNC traffic. The guide at this link might help you.
  • Forward Xorg to your local computer. There are also numerous articles online on how to do this. Use Xming for Windows:

    1. Install a desktop environment
    2. Set up Xorg forwarding in your SSH client and connect to the VM
    3. Start the graphical application from the terminal.
  • Use Terraform to create a VM with an installed graphical environment, like here.

Alert

Our technical support does not provide advice on the setup and use of third-party software on VM instances.
Yandex Cloud users are solely responsible for administering operating systems, setting up third-party software, and writing code in various programming languages.

Was the article helpful?

Previous
Transferring VMs between folders or clouds
Next
Using an ISO image for deploying VM instances
© 2025 Direct Cursus Technology L.L.C.