Acesso remoto via VNC + RDP ao Ubuntu 20.04.3 LTS
  1. Instale tigervnc-standalone-server e xinetd:
    apt-get install tigervnc-standalone-server xinetd
  2. Crie o arquivo /etc/xinetd.d/xvncserver:
    service vnc-1024x768x16
    {
      disable     = no
      protocol    = tcp
      socket_type = stream
      type        = UNLISTED
      port        = 5904
      wait        = no
      user        = nobody
      server      = /usr/bin/Xvnc
      server_args = -inetd -query localhost -once -geometry 1024x768 -depth 16 securitytypes=none
    }
  3. Reinicie o serviço xinetd.
  4. Edite o arquivo /etc/gdm3/custom.conf:
    ...
    [xdmcp]
    Enable=true
    ...
  5. Reinicie o serviço gdm.
  6. Instale o xrdp:
    apt-get install xrdp
IP
3.236.51.151