Picon

x2gobroker resume session

Hi.

I use the nightly build on a 14.04 Ubuntu

Could anyone confim me that resuming/suspending a session is functionnal 
trough a broker ?

I can resume/suspend a session directly to a x2goserver but i can't with 
the broker.

Regards

Franck
Neal Becker | 28 May 20:23 2015
Picon

x2go not working with fedora f22 kde?

I just updated server to f22 (actually, clean install of OS).  When I try to 
start x2go client (from fedora f21), I get don't seem to get any kde 
desktop.  If kde was configured to restore session, I just get the window 
that I had used previously (konsole), but no panel - no action on right 
click on desktop - no way to start anything or do anything.

I tried mv'ing ~/.x2go on the server, but that didn't help.  Tried mv'ing 
~/.kde on the server - still no help.

Nothing logged under ~/.x2go, where are the logs?

--

-- 
Those who fail to understand recursion are doomed to repeat it

Michael Gale | 24 May 20:12 2015
Picon

Help with X2go Session Broker auth

Hello,

    I have been reviewing the docs here:

and am interested in:
"Furthermore, X2Go Session Broker can be extended by other (non-PAM) authentication methods. The currently available authentication mechanisms in X2Go Session Broker are listed here."

However I am unable to find out how to enable one of the following examples:

I have a custom web app I need to authenticate users against and would like to use: https_get_authmech.py

Thanks
Michael

<div><div dir="ltr">Hello,<div><br></div>
<div>&nbsp; &nbsp; I have been reviewing the docs here:</div>
<div>
<a href="http://wiki.x2go.org/doku.php/doc:installation:x2gobroker" target="_blank">http://wiki.x2go.org/doku.php/doc:installation:x2gobroker</a><br>
</div>
<div><br></div>
<div>and am interested in:</div>
<div>"<span>Furthermore, X2Go Session Broker can be extended by other (non-PAM) authentication methods. The currently available authentication mechanisms in X2Go Session Broker are listed&nbsp;</span><a href="http://code.x2go.org/gitweb?p=x2gobroker.git;a=tree;f=x2gobroker/authmechs" title="http://code.x2go.org/gitweb?p=x2gobroker.git;a=tree;f=x2gobroker/authmechs" rel="nofollow" target="_blank">here</a><span>.</span>"</div>
<div><br></div>
<div>However I am unable to find out how to enable one of the following examples:</div>
<div>
<a href="http://code.x2go.org/gitweb?p=x2gobroker.git;a=tree;f=x2gobroker/authmechs" target="_blank">http://code.x2go.org/gitweb?p=x2gobroker.git;a=tree;f=x2gobroker/authmechs</a><br>
</div>
<div><br></div>
<div>I have a custom web app I need to authenticate users against and would like to use:&nbsp;<a class="" href="http://code.x2go.org/gitweb?p=x2gobroker.git;a=blob;f=x2gobroker/authmechs/https_get_authmech.py;h=c4c25999a28d526845d1c64f80eea64f80fbf60a;hb=HEAD">https_get_authmech.py</a>
</div>
<div><br></div>
<div>Thanks</div>
<div>Michael</div>
<div>
<div><br></div>
</div>
</div></div>
Picon

Resume session

Hi.

When I open a session x2goclient -> x2goserver there is no problem to 
resume a session

When I open a session x2goclient -> x2gobroker -> x2goserver it is not 
possible to resume a session.

Any idea ?

Regards

Franck
Picon

Keyboard

Hi

I have a curious problem :

When a connect directly to my x2goserver (ubuntu 14.04 XCFE) :
   * no problem to use AltGr
   * numeric pad is OK
   * my keyboard is in azerty

When a connect trough the x2gobroker to the same x2goserver (ubuntu 
14.04 XFCE) :
   * AltGr is not fonctionnal
   * numeric pad is not fully functionnal (enter does not work nor /)
   * keyboard is in azerty

In my x2gobroker-sessionprofiles.conf I add with no success
   * layout=fr
   * model=pc105

Any idea ?

Regards

Franck

Simon Baev | 21 May 20:22 2015
Picon

Re: x2goserver on Ubuntu Mate 15.04 with 4k monitor and high font-rendering DPI

I saw this setting but for some reason it didn't affect anything when I changed it to 96. Could it be caused by the fact that ongoing (not logged out) session was active on the server (physical console) while I was trying to remotely connect to it via X2Go? 

The only way I found to connect to that server with reasonable DPI was to create a separate user that runs default settings, but that doesn't seem to be a good fix. 

--
Simon

Am 21.05.2015 um 20:05 schrieb Simon Baev:
> Hello,
>
> I'm looking for a way to run *x2goserver* on *Ubuntu Mate 15.04*
> which is living on computer with *4k monitor* attached. I changed
> *DPI* settings in Control Center -> Appearance -> Fonts -> Details
> to *168* to let all applications look good when I work on that
> machine locally.
>
> When I connect to this machine using *x2goclient* running on
> another Ubuntu Mate 15.04 (attached monitor has resolution of
> 1680x1050, fullscreen mode) I am seeing *huge* fonts (as expected)
> because it also uses dpi of 168 for that remote connection.
>
> *My question*: would it be possible to run *pre-connection* (and
> then post-connection) script(s) to temporally change DPI to
> "normal" value of 96 before and recover it back to 168 upon
> completion of the x2go session? I guess it can be done by running
> "*gsettings set org.mate.font-rendering dpi 96*" command but I'm
> not sure where to include this command. And also I'm not sure how
> to protect against abnormal session termination... what if session
> will terminate without recovering DPI back to 168?

There's a setting in the X2GoClient GUI to force a DPI value, doesn't
that work for you?  If no, why?

- -Stefan
<div><div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote">I saw this setting but for some reason it didn't affect anything when I changed it to 96. Could it be caused by the fact that ongoing (not logged out) session was active on the server (physical console) while I was trying to remotely connect to it via X2Go?&nbsp;</div>
<div class="gmail_quote"><br></div>
<div class="gmail_quote">The only way I found to connect to that server with reasonable DPI was to create a separate user that runs default settings, but that doesn't seem to be a good fix.&nbsp;</div>
<div class="gmail_quote"><br></div>
<div class="gmail_quote">--</div>
<div class="gmail_quote">Simon</div>
<div class="gmail_quote">
<br><blockquote class="gmail_quote"><div dir="ltr">
<span>Am 21.05.2015 um 20:05 schrieb Simon Baev:</span><br><span>&gt; Hello,</span><br><span>&gt;</span><br><span>&gt; I'm looking for a way to run *x2goserver* on *Ubuntu Mate 15.04*</span><br><span>&gt; which is living on computer with *4k monitor* attached. I changed</span><br><span>&gt; *DPI* settings in Control Center -&gt; Appearance -&gt; Fonts -&gt; Details</span><br><span>&gt; to *168* to let all applications look good when I work on that</span><br><span>&gt; machine locally.</span><br><span>&gt;</span><br><span>&gt; When I connect to this machine using *x2goclient* running on</span><br><span>&gt; another Ubuntu Mate 15.04 (attached monitor has resolution of</span><br><span>&gt; 1680x1050, fullscreen mode) I am seeing *huge* fonts (as expected)</span><br><span>&gt; because it also uses dpi of 168 for that remote connection.</span><br><span>&gt;</span><br><span>&gt; *My question*: would it be possible to run *pre-connection* (and</span><br><span>&gt; then post-connection) script(s) to temporally change DPI to</span><br><span>&gt; "normal" value of 96 before and recover it back to 168 upon</span><br><span>&gt; completion of the x2go session? I guess it can be done by running</span><br><span>&gt; "*gsettings set org.mate.font-rendering dpi 96*" command but I'm</span><br><span>&gt; not sure where to include this command. And also I'm not sure how</span><br><span>&gt; to protect against abnormal session termination... what if session</span><br><span>&gt; will terminate without recovering DPI back to 168?</span><br><br><span>There's a setting in the X2GoClient GUI to force a DPI value, doesn't</span><br><span>that work for you?&nbsp; If no, why?</span><br><br><span>- -Stefan</span>
</div></blockquote>
</div>
</div></div></div>
Simon Baev | 21 May 20:05 2015
Picon

x2goserver on Ubuntu Mate 15.04 with 4k monitor and high font-rendering DPI

Hello,

I'm looking for a way to run x2goserver on Ubuntu Mate 15.04 which is living on computer with 4k monitor attached. I changed DPI settings in Control Center -> Appearance -> Fonts -> Details to 168 to let all applications look good when I work on that machine locally. 

When I connect to this machine using x2goclient running on  another Ubuntu Mate 15.04 (attached monitor has resolution of 1680x1050, fullscreen mode) I am seeing huge fonts (as expected) because it also uses dpi of 168 for that remote connection.

My question: would it be possible to run pre-connection (and then post-connection) script(s) to temporally change DPI to "normal" value of 96 before and recover it back to 168 upon completion of the x2go session? I guess it can be done by running "gsettings set org.mate.font-rendering dpi 96" command but I'm not sure where to include this command. And also I'm not sure how to protect against abnormal session termination... what if session will terminate without recovering DPI back to 168? 

Thanks.

--
Simon
<div><div dir="ltr">Hello,<div><br></div>
<div>I'm looking for a way to run x2goserver&nbsp;on Ubuntu Mate 15.04 which is living on computer with 4k monitor attached. I changed DPI settings in Control Center -&gt; Appearance -&gt; Fonts -&gt; Details to 168&nbsp;to let all applications look good when I work on that machine locally.&nbsp;</div>
<div><br></div>
<div>When I connect to this machine using x2goclient running on &nbsp;another&nbsp;Ubuntu Mate 15.04 (attached monitor has resolution of 1680x1050, fullscreen mode) I am seeing huge&nbsp;fonts (as expected) because it also uses dpi of 168 for that remote connection.</div>
<div><br></div>
<div>My question: would it be possible to run pre-connection&nbsp;(and then post-connection) script(s) to temporally change DPI to "normal" value of 96 before and recover it back to 168 upon completion of the x2go session? I guess it can be done by running "gsettings set org.mate.font-rendering dpi 96" command but I'm not sure where to include this command. And also I'm not sure how to protect against abnormal session termination... what if session will terminate without recovering DPI back to 168?&nbsp;</div>
<div><br></div>
<div>Thanks.<br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simon</div>
</div>
</div></div>
Kjetil Fleten | 21 May 19:11 2015
Picon

The remote proxy closed the connection while negotiating the session.

I have an issue with a server, that has stopped working. I can log in
with ssh, but the x2goclient gives the error "The remote proxy closed
the connection while negotiating the session. This may be due to the
wrong authentication credentials passed to the server."

I have other x2goservers, that works fine from the same client.

The affected server has been rebooted, and I have also tried to purge
x2goserver and reinstalled. No resolution yet.
I can see that the version on the affected server is 4.0.1.19-0~106.

On the server that works, it's 4.1.0.0-0~1257.

I have tried to:
sudo add-apt-repository ppa:x2go/ppa
sudo apt-get update
sudo apt-get upgrade

But it seems like the update command don't fetch the x2go-repository at all.

Anyone that has ideas to resolve this ?

--

-- 

best regards

Kjetil

Mike Gabriel | 19 May 10:00 2015
Picon

Re: [INTERNET] Re: Broker installation

Hi Franck,
(re-adding x2go-user ML to Cc:)

On  Mo 18 Mai 2015 21:02:51 CEST, BOTZ Franck (Administrateur Systèmes  
et Réseaux) - DDT 67/SIDSIC/Pôle Infra wrote:

> Thanks ! It works ..... but not completely
>
> I put the nigtly version on the broker, server and client. I move  
> the server to a postgresql database.
>
> The client connect perfectly to the server.
>
> When I try to connect trough the broker :
>   * I see the server
>   * I can open a session on it
>   * the unity dash does is invisible but works
>   * the session open and 5 or 6 window are launched with a ? as icon
>   * the bar on the top is sparkling
>   * It is not possible to close session
>
> Any idea ?
>
> Regards
>
> Franck

These commits [1,2] should fix your issue. The broker presumes that  
desktop session commands (command=...) are given in uppercase letters.  
I have now added code to x2gobroker, that also allows desktop session  
commands to be lower or mixed case.

Nightly builds should be available within the next 24h.

Greets,
Mike

[1]  
http://code.x2go.org/gitweb?p=x2gobroker.git;a=commitdiff;h=46784d16a43eebe3b90090d8d1aafb69d9e37ccf
[2]  
http://code.x2go.org/gitweb?p=x2gobroker.git;a=commitdiff;h=9fcb404070c352dd34f09f5e078c8970c3b236b8
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@..., http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
Hi Franck,
(re-adding x2go-user ML to Cc:)

On  Mo 18 Mai 2015 21:02:51 CEST, BOTZ Franck (Administrateur Systèmes  
et Réseaux) - DDT 67/SIDSIC/Pôle Infra wrote:

> Thanks ! It works ..... but not completely
>
> I put the nigtly version on the broker, server and client. I move  
> the server to a postgresql database.
>
> The client connect perfectly to the server.
>
> When I try to connect trough the broker :
>   * I see the server
>   * I can open a session on it
>   * the unity dash does is invisible but works
>   * the session open and 5 or 6 window are launched with a ? as icon
>   * the bar on the top is sparkling
>   * It is not possible to close session
>
> Any idea ?
>
> Regards
>
> Franck

These commits [1,2] should fix your issue. The broker presumes that  
desktop session commands (command=...) are given in uppercase letters.  
I have now added code to x2gobroker, that also allows desktop session  
commands to be lower or mixed case.

Nightly builds should be available within the next 24h.

Greets,
Mike

[1]  
http://code.x2go.org/gitweb?p=x2gobroker.git;a=commitdiff;h=46784d16a43eebe3b90090d8d1aafb69d9e37ccf
[2]  
http://code.x2go.org/gitweb?p=x2gobroker.git;a=commitdiff;h=9fcb404070c352dd34f09f5e078c8970c3b236b8
--

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@..., http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
Picon

Broker installation

Hi !

I'm new in x2go installation/utilisation.

I start with install a x2go server on a precise distribution
   * add "precise" repository : OK
   * Install x2goserver : OK
   * Open a session with a client an a local/winbind username : OK
   * Start application : OK
   * Resume a session from an other client an a local/winbind username: OK
   * Start a session from a client with an ADSL connexion : OK

This first exprience is very great !! The next step is to install a 
broker and connect it the server.

I follow this page : 
http://wiki.x2go.org/doku.php/doc:installation:x2gobroker

What I have doing :
   * First of all I install x2gobroker-daemon. No problem
   * I create a SSL certificats
   * Next I modify /etc/defaults/daemon
       * START_BROKER=true
       * DAEMON_BIND_ADDRESS=ww.xx.yy.zz:8080
       * X2GOBROKER_DEBUG=1
       * X2GOBROKER_SSL_CERTFILE=/etc/x2go/broker/ssl/broker.crt
       * X2GOBROKER_SSL_KEYFILE=/etc/x2go/broker/ssl/broker.key
   * /etc/x2go/x2gobroker.conf
       * [global]
       * check-credentials = false
       * enable-plain-output = true
       * enable-uccs-output = false
       * default-session-autologin=true
       * default-authorized-keys=%h/.x2go/authorized_keys
       * default-agent-query-mode=SSH
       * [zeroconf]
       * enable = false
       * [inifile]
       * enable = true
       * session-profiles = /etc/x2go/broker/x2gobroker-sessionprofiles.conf
   * I modify the broker /etc/ssh/sshd_config
       * AuthorizedKeysFile    %h/.x2go/authorized_keys
       * restart the SSH broker daemon
   * Modify /etc/x2go/broker/x2gobroker-sessionprofiles.conf
       * [DEFAULT]
       * command=TERMINAL
       * defsndport=true
       * useiconv=false
       * iconvfrom=UTF-8
       * height=600
       * export=
       * quality=9
       * fullscreen=false
       * layout=
       * useexports=true
       * width=800
       * speed=2
       * soundsystem=pulse
       * print=true
       * type=auto
       * sndport=4713
       * xinerama=true
       * variant=
       * usekbd=true
       * fstunnel=true
       * applications=TERMINAL,WWWBROWSER,MAILCLIENT,OFFICE
       * multidisp=false
       * sshproxyport=22
       * sound=true
       * rootless=true
       * iconvto=UTF-8
       * soundtunnel=true
       * dpi=96
       * sshport=22
       * setdpi=0
       * pack=16m-jpeg
       * directrdp=false
       * [pool-A-server-A]
       * user=
       * host=ww.xx.yy.aa
       * name=UNITY - pool-A (srv-A)
       * command=unity
       * broker-session-autologin=true
   * I restart the x2gobroker-daemon service
   * I install x2gobroker-wsgi
       * But no configuration as made
       * Did I install apache2 before ?
   * On the broker
       * x2gobroker-keygen
   * On the server
      * x2gobroker-pubkeyauthorizer --broker-url 
https://ww.xx.yy.zz:8080/pubkeys
      * The pub is in /var/lib/x2gobroker/.ssh/authorized_keys file
      * For this installation I not configure a postgresql database

   * On a client
      * x2goclient --broker-url=https://ww.xx.yy.zz:8080/plain/inifile 
--debug

x2go-INFO-1> "Starting x2goclient..."
x2go-INFO-4> "Translator: :/x2goclient_fr_fr installed."
x2go-INFO-5> "Translator: :/qt_fr_FR installed."
x2go-DEBUG-../httpbrokerclient.cpp:70> Setting up connection to broker: 
"https://ww.xx.yy.zz:8080/plain/inifile/"
x2go-INFO-3> "Started  x2goclient."
x2go-DEBUG-../onmainwindow.cpp:490> "$HOME=/home/franck"
x2go-DEBUG-../onmainwindow.cpp:3018> Starting broker request.
x2go-DEBUG-../httpbrokerclient.cpp:249> called getUserSessions: 
brokeruser: "test" authid: ""
x2go-DEBUG-../httpbrokerclient.cpp:262> sending request: 
"task=listsessions&user=test&password=test%21adm&authid="
x2go-DEBUG-../httpbrokerclient.cpp:557> sslError, code:"Le certificat 
n'est pas sécurisé car auto-signé":
x2go-DEBUG-../httpbrokerclient.cpp:487> Broker HTTP request failed with 
error: "Error downloading https://ww.xx.yy.zz:8080/plain/inifile/ - 
server replied: Internal Server Error"
x2go-DEBUG-../onmainwindow.cpp:1474> Close event received.
x2go-INFO-6> "Closing x2goclient..."
x2go-DEBUG-../onmainwindow.cpp:1327> Saving settings...
x2go-DEBUG-../onmainwindow.cpp:1336> Saved  settings.
x2go-INFO-7> "Closed  x2goclient."
x2go-DEBUG-../onmainwindow.cpp:503> Destroying x2goclient...
x2go-DEBUG-../onmainwindow.cpp:506> Destroyed  x2goclient.

I've got an Internal server error. But why ? And how can I solve it ?

   * List of installed paquets
python-ecdsa                   0.11-1~bpo70+1~0x2go~ubuntu12.04.1 ECDSA 
cryptographic signature library (Python 2)
python-paramiko            1.15.1-1~0x2go1~ubuntu12.04.1       Make ssh 
v2 connections with Python (Python 2)
python-six 1.8.0-1~bpo70+1~0x2go~ubuntu12.04.1 Python 2 and 3 
compatibility library (Python 2 interface)
python-x2gobroker         0.0.2.3-0~429~ubuntu12.04.1         X2Go 
http(s) based session broker (Python modules)
x2gobroker                       0.0.2.3-0~429~ubuntu12.04.1 X2Go 
http(s) based session broker (executable)
x2gobroker-authservice  0.0.2.3-0~429~ubuntu12.04.1         X2Go http(s) 
based session broker (PAM authentication service)
x2gobroker-daemon        0.0.2.3-0~429~ubuntu12.04.1         X2Go 
http(s) based session broker (daemon)
x2gobroker-wsgi               0.0.2.3-0~429~ubuntu12.04.1 X2Go http(s) 
based session broker (CGI)

Any help will be appreciated

Best regards

Franck
_______________________________________________
x2go-user mailing list
x2go-user <at> lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user
Schmid Andreas | 12 May 14:19 2015
Picon

X2Go Client: Where to put RSA key for auto login on Windows

Hi List

I'm trying to use the "Try auto login" feature on Windows, but it's not working (tested with X2Go Client
4.0.3.2). When connecting, I'm always asked for a password to open the key, but I actually didn't set any
passphrase at all for my RSA key.
I suspect that maybe X2Go Client does not even find the key. Which is the right location to put my RSA key in?
Does X2Go Client consider any environment variables?
(When I enter the actual path to the key in the "Use RSA/DAS key for ssh connection" field and unset the auto
login option, the connection works.)

Thanks a lot for your help.

Andy


Gmane