X2Go “stdin: is not a tty” error on login

Apparently from time to time the contents of /root/.profile are for some reason changed within the Ubuntu 16.04 installation. The default looks like this: # ~/.profile: executed by Bourne-compatible login shells. if [ "$BASH" ]; then if [ -f ~/.bashrc ]; then . ~/.bashrc fi fi mesg n Which doesn't work well together with X2Go interface. Basically you need to amend the last line "mesg n" with following: tty -s && mesg n Reboot the machine and profit 🙂 Read more [...]

How to deal with X2Go Client error “Unable to create SSH tunnel for X2Go session (NX) startup”

Today I had a weird problem – my X2Go Client just kept saying “Unable to create SSH tunnel for X2Go session (NX) startup”. I tried to reboot remote server but no luck. What is the solution?

It’s rather easy – reboot the local computer you are trying to connect from (yes the PC you are sitting in front of), after that it should be fine.

Setup: Ubuntu x64 server 14.04.3 LTS running XFCE as GUI. The client I was connecting from: Windows 7 Pro x64.

How to install x2go on Ubuntu 12.04 LTS x64 server

Yeah I already hear you - why would anyone want a GUI on server machine. Well I do as I'm very used to Windows environment and I understand that it's might not be as secure as the raw console only server but... Anyway - here is a little how to install the x2go on Ubuntu 12.04 LTS x64 server. To those who are not familiar with x2go - it's sort of Remote desktop for Linux - it doesn't work so flawlessly as on Windows but it's free :). Instructions: 1) we need to install GUI environment: sudo Read more [...]