Re: [X2Go-User] Keyboard issues

2015-10-30 Thread Stefan Baur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Am 30.10.2015 um 16:28 schrieb Vicker, Darby (JSC-EG311):
> I'm guessing I could automate loading the xmodmap file somehow but
> its not immediately obvious to me how to detect that the login is
> under x2go and not a native login.  Any thoughts on that would be
> appreciated.

Hmm, I think we have a place for autorunning scripts ... let's see if
one of the Devs chimes in.


> And longer term, it would be great if the x2go developers could
> make this independent of the user's shell.  But please don't take
> that as a complaint - I do very much appreciate having the
> capability x2go provides!

Of course, if you want to accellerate feature development, and aren't
skilled at coding to do it yourself, there's always the option of
sponsoring the feature with some $$$. :-)

If you or your department have a budget for that, let us know, and we
will provide you with a quote. :-)

Kind Regards,
Stefan


- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJWM41KAAoJEG7d9BjNvlEZ9lEH/jAU+lOh91gGfLAXORCnfAvz
qeAAjiFVQQaGEYprO9DJTjczpdauXeNyf2HMN+cC+trHJ5UQhTeOUok5QYHWypNn
qGqAGg3lXDFTj1ITWZFsTfAhRyuSJVRWPilfCRAWJ+zMzWoX8sQ4j17etb4Kxkd2
YrPNGvbtSQ/AdiK5qcSJzlILp1x7ljcUc/e7RhiBnJrzBPvEhMdhN+gsCjO3IPTK
pqS98WH3v9qxJ/UwFjYJ/FsXsfMdEKob4rdgxrJI8WFHcixaFs2n5yvtrw97h22c
huE+Jff9q4GY8MjNKT2IeDeEFhnFrtWbrsPCL/UMrz3iWD6OX06+OVXHulv5rE8=
=Ynp9
-END PGP SIGNATURE-
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Keyboard issues

2015-10-30 Thread Stefan Baur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Am 30.10.2015 um 16:28 schrieb Vicker, Darby (JSC-EG311):
> I'm guessing I could automate loading the xmodmap file somehow but
> its not immediately obvious to me how to detect that the login is
> under x2go and not a native login.  Any thoughts on that would be
> appreciated.

In a bash script, you could use
if [ $(echo $DISPLAY | awk -F':' '{ print $2 }') -ge 50 ] ; then
echo "Very likely an X2Go session" ;
fi

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJWM4+PAAoJEG7d9BjNvlEZj/oIAJUt7nGpttCODHAHgKRpadzU
vmlgjs+5sLl9jJqw8JzfF61XxNPSJ1Qmh8OY6NisOlJHrarmvVHN1eFRR7/zjO1o
DvEGk0vnAqFch8umbbi8VdAmKt+oOarzFUG8+/LrIfjf7REaXW8hhHvaJUYdyxEs
mq0nIhsdwNP4fJWTVmYLJh+WOjLsjy4u3BGSmP4sreOQ/20ulcOJrUghT9qCMgXC
LcUp1KGlHmege5DoLNHDWqCRM2nabJe0AFmel49FL1PW25cY6wLfhVrvZbRCxWhB
OkPaMHHYiTDl7ZVjl5mSVsOkCGhtQHzpZ/QLL3/Y2xdBNRi/J87Qk0UZjHyt9jY=
=tmXV
-END PGP SIGNATURE-
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] x2go on slackware

2015-10-30 Thread Athanasios Silis
Hello there,
has anyone had experience with x2go on slackware?

please read on and thank you.

On Sat, Oct 24, 2015 at 7:42 PM, Athanasios Silis <
athanasios.si...@gmail.com> wrote:

> Hi all,
> I am trying to get the x2goserver to work on slackware.
> I have downloaded the source tarball v4.0.1.19 , compiled and installed
> it.
>
> Then on a windows 7 pc , I installed x2goclient and PyHOCA-gui. I tried
> both to no avail. A session seems to be created but nothing shows up on the
> screen (note that I am trying to run a simple command: either
> "startfluxbox" or "xterm").
>
> I changed loglevel to "debug" in /etc/x2go/x2goserver.conf
>
> I logged (tail -f) under /var/log , the files : debug , syslog , messages
> , while starting a new session. This is what came up.
>
> ==> /var/log/messages <==
> Oct 24 01:59:21 stargaze sshd[18302]: subsystem request for sftp by user 
>
> ==> /var/log/debug <==
> Oct 24 01:59:21 stargaze /usr/local/bin/x2golistsessions[25946]: 
> x2golistsessions has been called with no option
>
> ==> /var/log/messages <==
> Oct 24 01:59:22 stargaze /usr/local/bin/x2gostartagent: x2gostartagent called 
> with options: 800x600 adsl 16m-jpeg-9 unix-kde-depth_32 us pc105/us 1 R 
> startfluxbox both
>
> ==> /var/log/debug <==
> Oct 24 01:59:22 stargaze /usr/local/bin/x2gostartagent: client announced 
> itself as ,,192.168.132.155''
>
> ==> /var/log/messages <==
> Oct 24 01:59:22 stargaze /usr/local/bin/x2gosessionlimit[25977]: 
> x2gosessionlimit has been called
> Oct 24 01:59:22 stargaze /usr/local/bin/x2golistsessions[25980]: 
> x2golistsessions has been called with options: --all-servers
>
> ==> /var/log/debug <==
> Oct 24 01:59:22 stargaze /usr/local/lib/x2go/x2gogetdisplays[25997]: 
> db_getdisplays called, server: stargaze; return value: |50| |51|
> Oct 24 01:59:22 stargaze /usr/local/lib/x2go/x2gogetports[26006]: db_getports 
> called, server: stargaze; return value: |30001| |30002| |30003| |30004| 
> |30005| |30006|
> Oct 24 01:59:23 stargaze /usr/local/lib/x2go/x2goinsertsession[26031]: 
> db_insertsession called, session ID: me-52-1445641162_stRstartfluxbox_dp32, 
> server: stargaze, session ID: me-52-1445641162_stRstartfluxbox_dp32
> Oct 24 01:59:23 stargaze /usr/local/lib/x2go/x2gogetports[26040]: db_getports 
> called, server: stargaze; return value: |30001| |30002| |30003| |30004| 
> |30005| |30006|
> Oct 24 01:59:23 stargaze /usr/local/lib/x2go/x2goinsertport[26054]: 
> db_insertport called, session ID: me-52-1445641162_stRstartfluxbox_dp32, 
> server: stargaze, SSH port: 30007
> Oct 24 01:59:23 stargaze /usr/local/bin/x2golistsessions[26068]: 
> x2golistsessions has been called with no option
> Oct 24 01:59:23 stargaze /usr/local/lib/x2go/x2gogetports[26063]: db_getports 
> called, server: stargaze; return value: |30001| |30002| |30003| |30004| 
> |30005| |30006| |30007|
> Oct 24 01:59:24 stargaze /usr/local/lib/x2go/x2goinsertport[26089]: 
> db_insertport called, session ID: me-52-1445641162_stRstartfluxbox_dp32, 
> server: stargaze, SSH port: 30008
> Oct 24 01:59:24 stargaze /usr/local/lib/x2go/x2gogetports[26098]: db_getports 
> called, server: stargaze; return value: |30001| |30002| |30003| |30004| 
> |30005| |30006| |30007| |30008|
> Oct 24 01:59:24 stargaze /usr/local/lib/x2go/x2goinsertport[26112]: 
> db_insertport called, session ID: me-52-1445641162_stRstartfluxbox_dp32, 
> server: stargaze, SSH port: 30009
> Oct 24 01:59:25 stargaze /usr/local/bin/x2golistsessions[26131]: 
> x2golistsessions has been called with no option
>
> ==> /var/log/messages <==
> Oct 24 01:59:25 stargaze /usr/local/bin/x2gofeature: x2gofeature called with 
> options: X2GO_RUN_EXTENSIONS
> Oct 24 01:59:25 stargaze 
> /usr/local/share/x2go/x2gofeature.d/x2goserver-compat.features: 
> x2goserver-compat.features called with options: X2GO_RUN_EXTENSIONS
> Oct 24 01:59:25 stargaze 
> /usr/local/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
> x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
> Oct 24 01:59:25 stargaze /usr/local/bin/x2goserver-run-extensions: 
> x2goserver-run-extensions called with options: 
> me-52-1445641162_stRstartfluxbox_dp32 pre-start
> Oct 24 01:59:25 stargaze /usr/local/bin/x2gostartagent: successfully started 
> X2Go agent session with ID me-52-1445641162_stRstartfluxbox_dp32
> Oct 24 01:59:25 stargaze /usr/local/bin/x2gofeature: x2gofeature called with 
> options: X2GO_RUN_EXTENSIONS
> Oct 24 01:59:25 stargaze 
> /usr/local/share/x2go/x2gofeature.d/x2goserver-compat.features: 
> x2goserver-compat.features called with options: X2GO_RUN_EXTENSIONS
> Oct 24 01:59:25 stargaze 
> /usr/local/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
> x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
> Oct 24 01:59:26 stargaze /usr/local/bin/x2goserver-run-extensions: 
> x2goserver-run-extensions called with options: 
> me-52-1445641162_stRstartfluxbox_dp32 post-start
>
> ==> /var/log/debug <==
> Oct 24 01:59:26 stargaze 

Re: [X2Go-User] Keyboard issues

2015-10-30 Thread Vicker, Darby (JSC-EG311)
-Original Message-
From: Sylvain Milot 
Date: Friday, October 30, 2015 at 12:36 PM
To: Darby Vicker 
Cc: "x2go-user@lists.x2go.org" 
Subject: Re: [X2Go-User] Keyboard issues

>On Fri, 30 Oct 2015, Vicker, Darby (JSC-EG311) wrote:
>
>
>
>> I'm guessing I could automate loading the xmodmap file somehow but its
>>not
>> immediately obvious to me how to detect that the login is under x2go and
>> not a native login.  Any thoughts on that would be appreciated.
>>
>> And longer term, it would be great if the x2go developers could make
>>this
>> independent of the user's shell.  But please don't take that as a
>> complaint - I do very much appreciate having the capability x2go
>>provides!
>
>Hi,
>
>when running a linux client, you will find some adhoc environment
>variables ...
>the following command will reveal them:
>
>$ env | grep -i x2go
>
>I suspect the behavior is the same under OSX.
>
>So under bash, something like ...
>
>if [ ! -z "$X2GO_SESSION" ]
>then
>   echo "load mapping ..."
>fi

Perfect.  This works great in my .cshrc file:

if ( $?X2GO_SESSION ) ~/bin/x2go_fix_xmodmap.csh


Thanks a lot!

Darby

___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Keyboard issues

2015-10-30 Thread Sylvain Milot

On Fri, 30 Oct 2015, Vicker, Darby (JSC-EG311) wrote:




I'm guessing I could automate loading the xmodmap file somehow but its not
immediately obvious to me how to detect that the login is under x2go and
not a native login.  Any thoughts on that would be appreciated.

And longer term, it would be great if the x2go developers could make this
independent of the user's shell.  But please don't take that as a
complaint - I do very much appreciate having the capability x2go provides!


Hi,

when running a linux client, you will find some adhoc environment variables ...
the following command will reveal them:

$ env | grep -i x2go

I suspect the behavior is the same under OSX.

So under bash, something like ...

if [ ! -z "$X2GO_SESSION" ]
then
  echo "load mapping ..."
fi

Best,

Sylvain

---
Sylvain Milot (sylv...@bic.mni.mcgill.ca)
  (sylvain.mi...@mcgill.ca)
Brain Imaging Centre
Montreal Neurological Institute
3801 University Street
Webster 2B, Room 206
Montreal, Qc., Canada, H3A 2B4
Phone  : (514) 398-4965, Fax: 398-8948
Mobile : (514) 712-1768
Office : 527 Av Des Pins O., Room 104
 Montreal, Qc., H2W 1S4
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user