Hi again,

I've be able to resolve this issue. The problem was in the SSH server config file. The only options referred to X2Go were "X11Forwarding yes" and "X11DisplayOffset 10" but there were a couple of options missed: "AllowTcpForwarding yes" and "X11UseLocalHost yes".

Now with last four options set I'm able to connect to assist to another user in the remote machine.

Thanks for all.
Regards.

----

El jue, 29-06-2017 a las 17:33 +0200, Víctor J. Sánchez escribió:

Hi all,

I'm trying to connect to an existing user session (local desktop mode) to help him in a remote host using x2godesktopsharing feature but I always get the next error (the first is in spanish):

Error en la conexión No protocol specified xwininfo: error: unable to open display ":0" No protocol specified xwininfo: error: unable to open display ":0"

The scenario is:

- Remote host: Linux Mint 18.1 x64, Plasma 5 session, nopasswordlogin user and unprivileged (user A) logged in, X2Go Desktop Sharing running and enabled, administrator (sudoer) user B included in group x2godesktopsharing

x2goversion:

x2goagent: 3.5.0.32 x2godesktopsharing: 3.1.1.3 x2goserver: 4.0.1.20 x2goserver-printing: 4.0.1.20 x2goserver-xsession: 4.0.1.20

- Local host: Fedora 25 Workstation x64, Plasma 5 session

x2goversion:

cups-x2go: 3.0.1.3 x2goagent: 3.5.0.32 x2goserver: 4.0.1.20 x2goserver-extensions: 4.0.1.20 x2goserver-fmbindings: 4.0.1.20 x2goserver-printing: 4.0.1.20 x2goserver-xsession: 4.0.1.20

Client X2Go v. 4.1.0.0 (Qt - 4.8.7)

I also tested on a local host with Windows 10 X2Go client and the error is the same. However other connection types (terminal or published applications) work fine. I've also tried with another remote sessions: XFCE, Cinnamon, ... the same result.

Also I've observed that if the remote user A executes in a terminal window the "xhost +" command, when the user B connects to remote host with local desktop mode a window to choose a desktop is presented but only appears "non-existent" user B sessions (user B, screen :0) instead of user A session.

What's wrong here?

Thanks for your support.

Regards.