Remote desktop to Ubuntu Linux via x2go









I. Install X2Go server on the remote Ubuntu Linux host

  1. Add the X2Go repository:
    sudo add-apt-repository ppa:x2go/stable
    and confirm this with [Enter]. Then, update the package lists:
    sudo apt-get update
  2. Install the X2Go server:
    sudo apt-get install x2goserver x2goserver-xsession
  3. Install extra bindings depend on what window manager you use:
    • for LXDE:
      sudo aptitude install --reinstall lxde lxsession-logout x2golxdebindings
    • for GNOME:
      sudo apt-get install x2gognomebindings
      GNOME only works for versions earlier than gnome 3.10, better earlier than gnome 3.08
    • for KDE:
      sudo apt-get install plasma-widget-x2go
  4. Test if the service is up and running:
    sudo service --status-all | grep x2go
    If not, try starting it manually:
    sudo service x2goserver start

II. Install X2Go Client on the local computer

  • Windows: Download and install the newest windows client from the X2Go website
  • Linux:
    sudo apt-get install x2goclient
  • Mac OS:

III. Connect to remote Linux host using X2Go client

  • For Mac OS, starts XQuartz first then X2Go client. You need to set the prefences of XQuartz to allow connections:






See also




Java: System Tray (awt) to control JavaFX application








System Tray (AWT) to control a JavaFX application.


Java: watching directory for changes








https://docs.oracle.com/javase/tutorial/essential/io/notification.html


see also




Java: Open a socket only listening to localhost








new ServerSocket(9090, 0, InetAddress.getLoopbackAddress());






see also




NoMachine: Setup public key authentication








  • Server side:
    • Edit ~/.nx/config/authorized.crt and append public key to it.
      mkdir -p ~/.nx/config
      vi ~/.nx/config/authorized.crt
      


see also




Java & Python SSH/SCP Code examples












Acrow Prop Hire in Melbourne








墨尔本【可调钢支架】出租

Smart Hire Oakleigh

21-25 Coora Road,Oakleigh South, VIC 3167
Phone: 03 8546 5744

Smart Hire Carnegie

1076 Dandenong Road,Carnegie, VIC 3163
Phone: 03 9571 9488

Trading Hours

We're open on the following day and hours:
Mon to Fri: 7am - 5pm
Sat : 7:30am - 1pm
Sun: Closed