Hi,
I work with x2go on a daily bases for my usual desktop. Made an Intel NUC into a thin client and connect to my main server. I love this program. Even audio and video streaming work.
(well, not Zoom or Teamviewer, but that's a story for another day)
Now I am trying to do the same from a Raspberry Pi model 4 with 8 Gb and Rapsbian OS, version 10.4.
I use 4.1.2.2-0x2go1+git20200213.1926+10.main.1 armhf on the client and x2goserver 4.1.0.3-5 on Ubuntu 20.04
When I start the client and make a connection the same as from my other client it just hangs. No session will open on the client and the gui stays grayed-out/disabled/no-focus like.
I increased the logging in the server side but that made no difference.
I started x2goclient with the --debug flag but I can't seem to find the source of the error message. But I do see an error message. I just don't know what to do with it.
x2go-DEBUG-../src/sshmasterconnection.cpp:687> User authentication OK. x2go-DEBUG-../src/sshmasterconnection.cpp:1708> LOGIN CHECK:"LOGIN OK " x2go-DEBUG-../src/sshmasterconnection.cpp:1711> don't have interaction x2go-DEBUG-../src/sshmasterconnection.cpp:1744> LOOP FINISHED x2go-DEBUG-../src/sshmasterconnection.cpp:1748> No interaction needed, continue session x2go-DEBUG-../src/sshmasterconnection.cpp:702> Login Check - OK x2go-DEBUG-../src/onmainwindow.cpp:2947> SSH connection established. x2go-DEBUG-../src/onmainwindow.cpp:3374> Continue normal X2Go session x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 0: "x2golistsessions" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0xd40950) Running masterCon->addChannelConnection(this, ' "02310883-db4c-4f5f-9dbb-f1566c1c888c" ', ' "bash -l -c 'echo "X2GODATABEGIN:02310883-db4c-4f5f-9dbb-f1566c1c888c"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2golistsessions; echo "X2GODATAEND:02310883-db4c-4f5f-9dbb-f1566c" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1810> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1812> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1814> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1977> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:1990> New channel:0xb1513ce8
x2go-DEBUG-../src/sshmasterconnection.cpp:2065> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:02310883-db4c-4f5f-9dbb-f1566c1c888c"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2golistsessions; echo "X2GODATAEND:02310883-db4c-4f5f-9dbb-f1566c1c888c";'"
x2go-DEBUG-../src/sshmasterconnection.cpp:2071> "ssh_channel_open_session failed": "Socket error: No such file or directory"
x2go-DEBUG-../src/sshprocess.cpp:478> I/O error: "ssh_channel_open_session failed."" - Socket error: No such file or directory" (0). x2go-DEBUG-../src/onmainwindow.cpp:1527> Close event received.
x2go-DEBUG-../src/onmainwindow.cpp:1551> Quitting from tray icon and closing application.
x2go-INFO-6> "Closing X2Go Client ..." x2go-DEBUG-../src/onmainwindow.cpp:1370> Saving settings ... x2go-DEBUG-../src/onmainwindow.cpp:1379> Saved settings. x2go-DEBUG-../src/onmainwindow.cpp:1401> Waiting for the SSH connection to finish ... x2go-DEBUG-../src/sshmasterconnection.cpp:764> SshMasterConnection, instance SshMasterConnection(0xdf5958) waiting for thread to finish. x2go-DEBUG-../src/sshmasterconnection.cpp:1908> Disconnecting ...
x2go-DEBUG-../src/sshmasterconnection.cpp:1917> Deleting channel connections.
x2go-DEBUG-../src/sshmasterconnection.cpp:2222> EOF sent.
Hope somebody can make some sense of this.
Kind regards,
Jeroen Baten
Am 12.08.20 um 16:15 schrieb Jeroen Baten:
Are you using X2Go-TCE (our ThinClientEdition) for this? If so, you might want to check out X2Go-TCE-MMD (MateMiniDesktop). This is more of a hybrid, than a thin client. It has a local desktop and browser, thus allowing you to run videoconferencing sessions locally. For your remote applications, you would then use "Published Applications" instead of one of the regular Desktop Environments. I'll admit that it's not production ready yet, though.
Now I am trying to do the same from a Raspberry Pi model 4 with 8 Gb and Rapsbian OS, version 10.4.
[debug log]
Hope somebody can make some sense of this.
I can assure you that X2GoClient works just fine on a Raspberry Pi model *3*. So either it's something particular to the model 4 or it's an issue with the Ubuntu server side.
Just a wild guess: The Pi 4 has an option to use a KMS driver, and in raspi-config, there's an option to turn this new mode on and off. I would try turning it off to see if maybe it's a display issue (X2GoClient being unable to open the display). See <https://www.raspberrypi.org/documentation/configuration/raspi-config.md> - I'd try setting it to "Legacy". Probably requires a reboot.
Kind Regards, Stefan Baur
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243