<html><head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body><div>Hi again,</div><div><br></div><div>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".</div><div><br></div><div>Now with last four options set I'm able to connect to assist to another user in the remote machine.</div><div><br></div><div>Thanks for all.</div><div>Regards.</div><div><br></div><div>----</div><div><br></div><div>El jue, 29-06-2017 a las 17:33 +0200, Víctor J. Sánchez escribió:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
    <p>Hi all,</p>
    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):<br>
    <br>
    <style type="text/css">
p, li { white-space: pre-wrap; }
</style>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Error en la conexión</span> No protocol specified xwininfo: error: unable to open display ":0" No protocol specified xwininfo: error: unable to open display ":0" 
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The scenario is:</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- 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</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">x2goversion:</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">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

</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Local host: Fedora 25 Workstation x64, Plasma 5 session</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">x2goversion:</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">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</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Client X2Go v. 4.1.0.0</span> (Qt - 4.8.7)</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">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.</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">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.</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">What's wrong here?</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Thanks for your support.</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Regards.</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
  

</blockquote></body></html>