I was having issues today after installing x2go. Here is was I did to fix them.
My first issue happened trying to install the x2gognomebindings. This is the error I was getting:
Setting up x2gognomebindings (2.0.1.3-0~47~oneiric1) ...
Settings menu not found in /etc/xdg/menus at /usr/sbin/update-gnome-menu-x2go li
ne 43.
dpkg: error processing x2gognomebindings (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
x2gognomebindings
E: Sub-process /usr/bin/dpkg returned an error code (1)
This would happen every time I tried anything with apt. What I did to fix it was simple.
sudo cp /etc/xdg/menus/gnome-settings-x2go.menu /etc/xdg/menus/gnome-settings.menusudo apt-get install x2gognomebindings
My second issue happened when I tried to connect to x2go for the first time. I was getting this error:
Authentification Failed The host key for this server was not found but an othertype of key exists.An Attacker might change the default server key toconfuse your client into thinking the key does not existThis will happen if you SSH into the server before installing x2go. SSH by default likes ecdsa keys, and x2go doesn't. On the server, edit the ssh config:
sudo nano /etc/ssh/sshd_configThen comment out this line with a #:
HostKey /etc/ssh/ssh_host_ecdsa_key
Now restart ssh:
sudo service ssh restart
On your client you need to remove your old key. I just removed all of them.
rm .ssh/known_hosts
thx - the host key solution was very useful for me!
ReplyDeleteThe text in your "Repeated here for the bots:" is wrong. You used the right word "Authentication Failed", but the dialog actually says "Authentification Failed" which is what I searched for and didn't show this helpful looking blog entry. Thankfully Google suggested the tweak you made.
ReplyDeleteThanks for sharing your fixes though!
I updated it. Thanks for letting me know.
ReplyDelete