Hi X2go devs,
Package: x2goclient
Version: 4.1.2.2 (Linux Mint based on Ubuntu Bionic, using PPA)
I often get an error message when I try to connect to my Debian buster docker
image, running x2goserver and XFCE, via the X2Go Client on my host machine.
It will give the following error message (when using the --debug flag on the
x2goclient):
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).
I created a detailed video, I posted it on YouTube, please take a look at the
video:
https://youtu.be/LAlLtBNTIUo
Logging details, reproducibility and more is explained in the video itself.
You'll notice that I can sometimes connect to the XFCE session and sometimes I
can't. Although connecting via the ssh cli command is always working without
any issues. Meaning there is really some kind of bug in the X2Go Client. I'm
afraid.
Again, I really hope somebody could help me in finding the root-cause and
fixing the issue.
Since I really love X2Go. And I would like to use this tool in production.
I'm also a software developer so maybe I can help debugging the problem.
Similar (same) bug is reported in the past (from 2019):
https://lists.x2go.org/pipermail/x2go-user/2019-March/005512.html
All the details regarding this Docker image and setup can be found in this git
repo: https://gitlab.melroy.org/melroy/xfcevdi
See attachments for additional debug logs of the client itself. One when
successful and one during the error.
Thanks in advance!
Kind regards,
Melroy van den Berg
Ps. You can contact me by mail of course. But I can understand that debugging
this issue would be preferable be done via VoIP for example.⯠x2goclient --debug
x2go-INFO-1> "Starting X2Go Client 4.1.2.2..."
x2go-WARNING-1> English language requested, not loading translator.
x2go-WARNING-1> English language requested, not loading translator.
x2go-INFO-3> "Started X2Go Client."
x2go-DEBUG-../src/onmainwindow.cpp:575> "$HOME=/home/melroy"
x2go-DEBUG-../src/onmainwindow.cpp:2266> Reading 2 sessions from config file.
x2go-DEBUG-../src/sessionbutton.cpp:361> Creating QPixmap with session icon: ":/img/icons/128x128/x2gosession.png".
x2go-DEBUG-../src/sessionbutton.cpp:361> Creating QPixmap with session icon: ":/img/icons/128x128/x2gosession.png".
x2go-DEBUG-../src/onmainwindow.cpp:13290> libssh not initialized yet. Initializing.
x2go-DEBUG-../src/onmainwindow.cpp:2752> Creating QPixmap with session icon: '":/img/icons/128x128/x2gosession.png"'.
x2go-INFO-8> "Starting connection to server: localhost:"
x2go-DEBUG-../src/onmainwindow.cpp:2853> Starting new ssh connection to server:"localhost":"" krbLogin: false
x2go-DEBUG-../src/sshmasterconnection.cpp:168> SshMasterConnection, host "localhost"; port ; user "melroy"; useproxy false; proxyserver ""; proxyport 22
x2go-DEBUG-../src/sshmasterconnection.cpp:248> Starting SSH connection without Kerberos authentication.
x2go-DEBUG-../src/sshmasterconnection.cpp:250> SshMasterConnection, instance SshMasterConnection(0x55f68a896680) created.
x2go-DEBUG-../src/sshmasterconnection.cpp:495> SshMasterConnection, instance SshMasterConnection(0x55f68a896680) entering thread.
x2go-DEBUG-../src/sshmasterconnection.cpp:797> Session port before config file parse:
x2go-DEBUG-../src/sshmasterconnection.cpp:807> Session port after config file parse:
x2go-DEBUG-../src/sshmasterconnection.cpp:870> Session port before config file parse (part 2):
x2go-DEBUG-../src/sshmasterconnection.cpp:880> Session port after config file parse (part 2):
x2go-DEBUG-../src/sshmasterconnection.cpp:904> cserverAuth
x2go-DEBUG-../src/sshmasterconnection.cpp:943> state: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:1218> Trying password mechanism if available.
x2go-DEBUG-../src/sshmasterconnection.cpp:1222> Password mechanism available. Continuing.
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(0x55f68a89c6d0) Running masterCon->addChannelConnection(this, ' "30b0be62-d1b2-40fa-9a6f-da229662" ', ' "bash -l -c 'echo "X2GODATABEGIN:30b0be62-d1b2-40fa-9a6f-da229662"; export PATH="/usr/local/bin:/usr/bin:/bin";export