Connecting to Ubuntu 22.04 with Remote Desktop

I simply installed:

sudo apt install ubuntu-desktop-minimal -y
sudo apt install xrdp -y
systemctl status xrdp

and was able to connect with Remote Desktop from Windows as root user:

but it worked terribly slow.

And I was unable to login with a regular user:

LXQT worked a bit better:

sudo apt install lxqt -y
sudo apt install xrdp -y
systemctl status xrdp

Resized my VPS to 8GB RAM:

And it still worked slow:

df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           795M  1.2M  794M   1% /run
/dev/sda         24G  6.8G   17G  29% /
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           795M   52K  795M   1% /run/user/1000
tmpfs           795M   52K  795M   1% /run/user/0

But VNC server worked fast enough:

vncserver -geometry 1920x1200
vncserver -geometry 1400x850

6 Responses to Connecting to Ubuntu 22.04 with Remote Desktop

  1. dmitriano says:

    How to install Graphical User Interface (GUI) for Ubuntu 22 Cloud Servers

    How to Install a Desktop Environment (GUI) on an Ubuntu 22.04 or 20.04 Server

  2. dmitriano says:

    The default settings for an XRDP installation are not optimized. To increase XRDP performance try the following:

    Assuming you use Xfce4, try disabling compositing with

  3. dmitriano says:

    How to Install and Configure VNC on Ubuntu 22.04
    vncserver -geometry 1600×1200 -randr 1600×1200,1440×900,1024×768

    Real VNC server 4.4 includes support for Xrandr, which allows resizing the VNC. Start the server with:
    vncserver -geometry 1600×1200 -randr 1600×1200,1440×900,1024×768

    Win OpenSSH and ubuntu-gnome-desctop:

    How To Install and Configure VNC Server on Ubuntu 20.04
    ls /usr/share/xsessions/

  4. dmitriano says:

    4 Ways to install Firefox browser on Ubuntu 22.04 LTS Jammy

Leave a Reply

Your email address will not be published. Required fields are marked *