Tiago | 25 Feb 10:57 2015
Picon

intermitent behaviour: freezes on status connecting

Hi,

I am using X2go 4.0.3.1 client on Windows 7 and the following version on a
Centos 6.4 server:

x2goagent: 3.5.0.27
x2goserver: 4.0.1.13
x2goserver-extensions: 4.0.1.13
x2goserver-fmbindings: 4.0.1.13
x2goserver-xsession: 4.0.1.13

X2go has been working stably for months but on average it takes me 2
attempts to resume a KDE session. Half the time I just get a "status:
connecting" and no messages on the log window. I then have to restart the
client.

Is this a known problem or could people please suggest how to debug it?

Thanks,
tiago

nicolas husson | 24 Feb 13:45 2015
Picon

use ssh proxy with x2go firefox plugin

Hello! I'm trying to access a distant x2goServer where a x2go plugin is running with apache2. On this server some client computer with x2goPlugin is connected with reverse ssh. From my own computer, with the application x2goClient, I succeed to be connected to the clients computers through my distant x2goServer and control remotely the clients computers connected to it.I copy the session file of my x2goclient inside the /var/www of my server, in the part x2goconfig and add "server= <at> Serverx2goIp". Then when I reach the web server of my x2goServer and launch the config It failed with the error 'connection timed out'. I tried to look at the package send, apparently the package send from my own computer with x2goclient are not the same as using x2go browser plugin. So my question is any idea why it not works? And also, is it possible to use ssh proxy of the session file with x2go browser plugin? It seems not. Best Regard.Nicolas.
<div><div dir="ltr">Hello!
I'm trying to access a distant x2goServer where a x2go plugin is running 
with apache2. On this server some client computer with x2goPlugin is connected with reverse ssh.

From my own computer, with the application x2goClient, I succeed to be 
connected to the clients computers through my distant x2goServer and control remotely the clients computers connected to it.I copy the session file of my x2goclient inside the /var/www 
of my server, in the part x2goconfig and add
"server=  <at> Serverx2goIp".

Then when I reach the web server of my x2goServer and launch the config It failed with the error 'connection timed out'.
I tried to look at the package send, apparently the package send from my own computer with x2goclient are not the same as using x2go browser plugin.

So my question is any idea why it not works?
And also, is it possible to use ssh proxy of the session file with x2go browser plugin? It seems not.

Best Regard.Nicolas.<div class="gmail_signature"><div dir="ltr"><div>
</div></div></div>
</div></div>
Milan Knížek | 23 Feb 18:29 2015
Picon

PyHoca-GUI: Logon script for published apps

Hello,

I'll would like to have some scripts run after login to the server
(through PyHoca-GUI, neither an app or full desktop is autorun).

(In the particular case, it should add keys to the kernel keyring for
the given session so that the user is able to access network CIFS
multiuser-mounts via systemd.automount just by accessing the mount
point).

What is the correct location to drop the script (bash)?

I can see /usr/lib/x2go/extensions/post-start.d exists: is it intended
for this purpose?

If so, is it functional to use the equivalent structure in /etc/x2go
(system-wide) or even /home/user/.x2go directories?

Best regards,
Milan

--

-- 
http://milan-knizek.net/
About linux and photography (Czech only)
O linuxu a fotografování

_______________________________________________
x2go-user mailing list
x2go-user <at> lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user
Q | 19 Feb 18:24 2015
Picon

keyboard remapping not working

Hi everyone,
I have remapped the capslock key to control keys on all my computers, also I
am using xcape so a short press of the capslock key will send an escape
character. 
In x2go all the remapping and xcape stuff are not working. I have tried to 
kbd-type to auto and not set it at all in the pyhoca-cli. Is it possible to
send the key generated in the client side unmodified to the server? Below is
what I got by googling, but I am still unclear how to make my setup work.
Thank you!

The server now offers three modes for configuring the session's keyboard
settings:

  1. no change via client
     -> configure your keyboard setup through desktop tools, e.g.
        gnome-keyboard-properties

  2. set model and layout through x2goclient

-> use -type parameter of nxagent/x2goagent to set the keyboard model/type

     -> x2goclient + pyhoca-gui run setxkbmap -layout <layout> after
        session startup
     -> pyhoca-gui additionally runs setxkbmap -variant <variant> after
        session startup (new session profile: ,,variant'').
        ---> RECOMMENDED for x2goclient

  3. NEW: autodetect the client-side keyboard layout through NX
     -> set the keyboard model/type to ,,auto'' (instead of pc104/us etc.)
     -> nxagent will create a file ~/.x2go/≤session>/keyboard with all
        client-side keyboard settings
     -> x2goruncommand and x2goresume-session will call a new script:
        called x2gosetkeyboard
     -> x2gosetkeyboard will reset the keyboard settings and set all settings
        as found in the keyboard file

Ferdinando Romano | 18 Feb 23:16 2015
Picon

X2go Desktop Environment Sessions Freeze upon interaction

Hello,

My server instance is on Ubuntu 14.04 and this problem happens regardless of client OS ( I have tried the client on Archlinux and Windows 7).

I am successfully able to connect to my x2go server using the "Single Application" Session Type and I don't have any issues with it at all.

If I choose LXDE, KDE, or MATE as my Session Type, then the desktop displays properly, and as I hover my cursor over different icons, they highlight and then return to normal as the cursor moves on.

However, in any of these desktop sessions, once I click on a menu, the menu appears but then the entire desktop interface freezes.

I am not able to get it to respond any further except maybe if I Disconnect the session and then try to resume it. If I do, then the display might have progressed a little further toward what it should show (e.g. highlight the first menu entry) but the desktop is still unresponsive.

I checked the /var/log/syslog with debug logging level but didn't see anything helpful. I can post the output here or to something like Pastebin if desired.

Thank you for your help and let me know if you need any more information.

Fred Romano
<div><div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hello,<br><br>
</div>
<div>My server instance is on Ubuntu 14.04 and this problem happens regardless of client OS ( I have tried the client on Archlinux and Windows 7).<br>
</div>
<div><br></div>I am successfully able to connect to my x2go server using the "Single Application" Session Type and I don't have any issues with it at all. <br><br>
</div>If I choose LXDE, KDE, or MATE as my Session Type, then the desktop displays properly, and as I hover my cursor over different icons, they highlight and then return to normal as the cursor moves on.<br><br>
</div>However, in any of these desktop sessions, once I click on a menu, the menu appears but then the entire desktop interface freezes. <br><br>I am not able to get it to respond any further except maybe if I Disconnect the session and then try to resume it. If I do, then the display might have progressed a little further toward what it should show (e.g. highlight the first menu entry) but the desktop is still unresponsive.<br><br>
</div>I checked the /var/log/syslog with debug logging level but didn't see anything helpful. I can post the output here or to something like Pastebin if desired.<br><br>
</div>Thank you for your help and let me know if you need any more information.<br><br>Fred Romano<br>
</div></div>
Leho Kraav | 18 Feb 21:35 2015

How do I run /etc/x2go/Xsession for PUBLISHED in a non-hacky way

Hi all

x2goserver-4.0.1.18, Gentoo

I'm trying to run /etc/x2go/Xsession to centralize environment 
configuration, esp. via Xresources, loading profile etc.

I currently am not able to find any other way than hacking 
x2goruncommand in the following way. Is there a better way?

diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand
index e7e20e2..f62ed12 100755
--- a/x2goserver/bin/x2goruncommand
+++ b/x2goserver/bin/x2goruncommand
 <at>  <at>  -288,11 +288,13  <at>  <at>  if [ "$EXEC" != "" ] && [ -x "$EXEC" ]; then

         x2gosetkeyboard >/dev/null 2>/dev/null &

+       STARTUP="$cmd$args"
+       "$X2GO_LIB_PATH/x2gosyslog" "$0" "notice" "launching session 
with Xsession-x2go mechanism, using STARTUP=\"$STARTUP\""
+
         if x2gofeature X2GO_XSESSION &>/dev/null && [ 
"x$X2GO_SESS_TYPE" = "xD" ]; then
-               STARTUP="$cmd$args"
-               "$X2GO_LIB_PATH/x2gosyslog" "$0" "notice" "launching 
session with Xsession-x2go mechanism, using STARTUP=\"$STARTUP\""
                 XSESSION_EXEC="$cmd" STARTUP="/usr/bin/env 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ${STARTUP}" /etc/x2go/Xsession
         else
+               XSESSION_EXEC="$cmd" /etc/x2go/Xsession
                 "$X2GO_LIB_PATH/x2gosyslog" "$0" "debug" "executing 
command \"$cmd$args\"..."

                 # This is gonna be a nasty trick now...

Luc Turbide | 18 Feb 17:28 2015
Picon

Re: Preview of X2Go Client 4.0.3.2 available

Hi again,

    I found my problem with Mac and Shared folder and printing. We use 
different SSH port number on x2goserver (not 22) but Mac client use 22 port 
number. In Preferencess on X2Goclient on Mac, it was not 22 on Clientside 
SSH port but the special server port number. I change-it for 22 and now 
everything work! I have Share Folder and Printing client side...

Thank again,

Luc Turbide
System manager for Astronomical group at University of Montreal.

-----Message d'origine----- 
From: Luc Turbide
Sent: Wednesday, February 18, 2015 9:06 AM
To: Mihai Moldovan
Subject: Re: Preview of X2Go Client 4.0.3.2 available

Hi Mihai,

    Thank a lot. The preview version look like very stable. I use Macbook
Air with 10.10.2 on CentOS6.6 and CentOS7 server. I test MATE, KDE and Xfce
without problem for connection or freezing.

    But I still have problem with Shared Folder and Printing. Is-it normal
or I have to fix something on my side? On the same servers, I use Linux and
Windows X2Go Client without problem (share folder and printing). With
Windows/Linux Client, I saw 2 drives mount on my server in /tmp/.x2go-XXX...
Spool and media/disk. Those drive are not mount with Mac client but server
try to mount it. If I use "df", the command freeze and I need to KILL the df
command in other terminal. My ssh keys are OK on my Mac.

Thank again, I will now send that good news to my Mac users.

Luc Turbide
System manager for Astronomical group at University of Montreal.

-----Message d'origine----- 
From: Mihai Moldovan
Sent: Tuesday, February 17, 2015 11:57 PM
To: x2go-dev@... ; x2go-user@...
Cc: Luc Turbide ; Stefan Baur
Subject: Preview of X2Go Client 4.0.3.2 available
Hi all

I am happy to announce a preview of X2Go Client 4.0.3.2 based on on my
bugfix/osx branch based on my feature/cleanup branch based on current
master.

This pre-release includes a fix for the problem of X2Go Client
deadlocking when trying to establish more than one session sequentially.

Please grab the desired DMG file from this location and optionally check
the checksums and signature:

http://code.x2go.org/releases/binary-macosx/x2goclient/previews/4.0.3.2/

Note that this preview includes two versions of X2Go Client. One was
built on OS X 10.6 and is best-suited for OS X 10.6 and 10.7, while the
other was built on OS X 10.9 and is best suited for OS X 10.9 and 10.10.

For users on OS X 10.8, I recommend first trying the 10.9 version and if
this misbehaves, resorting to the 10.6 version.

As always, I would be delighted to get feedback and criticism.

Best,

Mihai 

brian mullan | 15 Feb 14:17 2015
Picon

Has anyone tried x2go with an Ubuntu Phone in EMEA yet?

Just out of curiousity I was wondering if anyone in europe had bought an ubuntu
phone and been able to try x2go client on it yet?

<div><div dir="ltr">
<div>Just out of curiousity I was wondering if anyone in europe had bought an ubuntu<br>
</div>phone and been able to try x2go client on it yet?<br><br>
</div></div>
Nigra Truo | 11 Feb 14:04 2015
Picon

Re: x2go-user Digest, Vol 10, Issue 7


Yes and no.
For Windows, you could put the X2GoClient directory on the USB flash
drive, add the ssh private key, and add a small batch file that runs
x2goclient.exe with the "--portable" option.

The catch is that there is no autorun for USB flash drives (that's a
security feature) in Windows, so your users would have to double-click
on the batch file.

Using a CD/DVD would probably work, as Windows does support autorun
there, IIRC.

Note that a system administrator may change this and e.g. disable
autorun completely, so there's no guarantee that it will work in 100%
of all cases.

- -Stefan


Hi Stefan,

Oh, I forgot to indicate that I want to do this on Linux. On Windows, I don't know how that could work and the scripting environment is a little sketchy, but I know that there have been similar projects under Linux, for ssh and login, but that was a long time ago.
PamUSB if I recall correctly. Is there something like that in X2go? I just remember seeing something in the list of features.
The idea would be (like in PamUSB it was) that when you pull the stick out, the session autocloses.

Markus
 

<div><div dir="ltr">
<br><div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote">
Yes and no.<br>
For Windows, you could put the X2GoClient directory on the USB flash<br>
drive, add the ssh private key, and add a small batch file that runs<br>
x2goclient.exe with the "--portable" option.<br><br>
The catch is that there is no autorun for USB flash drives (that's a<br>
security feature) in Windows, so your users would have to double-click<br>
on the batch file.<br><br>
Using a CD/DVD would probably work, as Windows does support autorun<br>
there, IIRC.<br><br>
Note that a system administrator may change this and e.g. disable<br>
autorun completely, so there's no guarantee that it will work in 100%<br>
of all cases.<br><br>
- -Stefan<br>
</blockquote>
<div>
<br><br>
</div>
<div>Hi Stefan,<br><br>
</div>
<div>Oh, I forgot to indicate that I want to do this on Linux. On Windows, I don't know how that could work and the scripting environment is a little sketchy, but I know that there have been similar projects under Linux, for ssh and login, but that was a long time ago.<br>
</div>
<div>PamUSB if I recall correctly. Is there something like that in X2go? I just remember seeing something in the list of features. <br>
</div>
<div>The idea would be (like in PamUSB it was) that when you pull the stick out, the session autocloses.<br><br>
</div>
<div>Markus<br>
</div>
<div>&nbsp;<br>
</div>
</div>
<br>
</div>
</div></div>
Nigra Truo | 11 Feb 03:31 2015
Picon

Password less login via USB stick?

Hi,

does anyone of you know if there is a way to log into a X2go session automatically by having an USB key plugged in that contains that crypto key to authenticate the session?

Thanks,

Markus
<div><div dir="ltr">
<div>Hi,<br><br>
</div>does anyone of you know if there is a way to log into a X2go session automatically by having an USB key plugged in that contains that crypto key to authenticate the session?<br><br>Thanks,<br><br>Markus<br>
</div></div>
Nigra Truo | 11 Feb 03:03 2015
Picon

X2go opens (unwanted) fullscreen [solved]

Hi,

I just solved the problem where x2go would open sessions in full screen on Windows without asking me to.

I removed the whole install and cleared the registry keys to wipe out the config and now it works again, seems like there was an old config left over, that is not configurable/changable via the GUI.

Thanks for all your help figuring this out.

Markus
<div><div dir="ltr">
<div>
<div>Hi,<br><br>I just solved the problem where x2go would open sessions in full screen on Windows without asking me to.<br><br>
</div>I removed the whole install and cleared the registry keys to wipe out the config and now it works again, seems like there was an old config left over, that is not configurable/changable via the GUI.<br><br>
</div>
<div>Thanks for all your help figuring this out.<br>
</div>
<div><br></div>Markus<br>
</div></div>

Gmane