Report this

What is the reason for this report?

X2go Windows Client Won't Connect

Posted on February 18, 2022

Connected Tutorial(This question is a follow-up to this tutorial):

How To Set Up a Remote Desktop with X2Go on Ubuntu 20.04

I followed the setup guide to the letter, and after installing the X2Go client on my Windows 10 machine, I tried connecting the session the guide helped me create. The X2Go UI said, “connecting”, and then asked if I wanted to trust the key of the server, I said yes, and waited a short while.

Then an Error dialogue appeared that said “bash: line 1: x2golistsessions: command not found”. Then I clicked OK and got shown a password login dialogue on the X2Go client. I tried that with the same resulting error. How can I go about troubleshooting this error? I am running Ubuntu 20.10 on my droplet.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

Have you tried restarting your Windows PC after you installed the client?

Also what I could suggest is checking your X2Go logs for some more information on what could be going wrong.

Feel free to share the output of the logs here.

Best,

Bobby

Heya,

I just wanted to update this question since I’ve been in a similar situation, It’s possible that the x2golistsessions command is not in your PATH environment variable. You can check if it’s installed and its location by running:

sudo updatedb locate x2golistsessions

If the command is found, make sure its location is in your PATH. You can add it to your PATH by modifying your ~/.bashrc file and adding the following line:

export PATH=$PATH:/path/to/x2golistsessions

Replace “/path/to/x2golistsessions” with the actual path where x2golistsessions is located.

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.