If it is not explicitly told in following recipe, setting up services are described for Ubuntu 20.04 server, but applications are described for Xubuntu 20.04 workstation. If you use different Ubuntu version or Linux distribution, settings as well as content, names and places of configuration files may be different!
Got it.

1. Preparation for remote desktop

Main steps

About the course


Set up tools for remote connection

  1. Download and extract TightVNC Viewer, if necessary, look at guide
    Download and install RPD client

  2. Download and install PuTTY, if necessary, look at guide in English or in Latvian
    install Windows Sybsystem for Linux (WSL)

Connect to remote workstation

  1. Get information for username, password and port number from the teacher
  2. Connect to remote workstation using VNC or RPD client:


    59XX (ceremonial) or XX (shorthand, without leading zeroes, may not work on some viewers)

    where XX is number given to you by teacher

Adjust settings of remote workstation

  1. If necessary, familiarize yourself with Terminal and ways to copy-paste and execute commands
  2. Change password for system user (SSH connections) by entering command:


    and enter required input:

    Current password:
    New password:
    Retype new password:

    password given to you by teacher
    your password
    your password

    Don't be confused that password is not shown as stars. It is accepted without any visible feedback.

  3. Change password for VNC connections by entering commands:


    and enter required input:

    Would you like to enter a view-only password (y/n)?

    your password
    your password

    Don't be confused that password is not shown as stars. It is accepted without any visible feedback.

    1. Remove unneeded icons from the desktop:
      1. Right click on empty desktop, select Desktop settings... entry, and select Icons tab
      2. In Default icons section unselect Removable Devices entry and press Close button

    Error solutions

    Too many authentication errors

    If you have error like "Too many authentication errors" while connecting to remote desktop using RDP or VNC:

    1. Open PuTTY or WSL and connect to the server using SSH. E.g. in Bash:

      ssh uXX@tools.odo.lv

      where XX is number given to you by teacher.

      Accept server public key when it is shown!

    2. Restart your VNC session by entering command in terminal:


    Connection timeout

    If you have connection timeout:

    1. Check, what happens when you run command in terminal:

      ping tools.odo.lv

      It should return something like this:

      PING tools.odo.lv ( 56(84) bytes of data.
      64 bytes from tools ( icmp_seq=1 ttl=43 time=36.5 ms
      64 bytes from tools ( icmp_seq=2 ttl=43 time=37.6 ms

      Stop it by pressing Ctrl+C

    2. Open https://www.whatismyip.com/ and check what is public IP address for your computer. Notify teacher (say it and write IP address in Zoom chat).
    3. Wait while teacher will disban your computer from blacklist.



Created by Valdis Vītoliņš on 2021-02-11 14:32
Last modified by Valdis Vītoliņš on 2021-05-24 11:26
Xwiki Powered
Creative Commons Attribution 3.0 Unported License