hi all,
in a phone call with Heinz yesterday I addressed an issue with
x2goagent that has also been an issue with old versions of nxagent in
case the client system uses the evdev keyboard driver (AltGr key gets
stuck, sometimes als the Shift and Ctrl key). The problem is
documented on NoMachine's site:
http://www.nomachine.com/tr/view.php?id=TR02H02327
As my development notebook uses evdev, I encounter this issue
regularly (and that's my personal reason to get rid of this bug ASAP).
The current plan is to incorporate the latest changes in nxagent's
code (3.5.0-x) into x2goagent before Baikal.
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi all,
today I have had the first positive results with the tmpfs approach of
the new X2go Thin Client Environment. For Debian squeeze there had to
be made quite a few changes
o X2go TCE with local session profiles
o X2go Thin Client Shutdown GUI
o X2go CD manager support
o X2go USB mounting
o X2go and Pulseaudio
o X2go eject tool (not yet tested due to virtualization)
I would be grateful if Morty, Alex, Heinz, Reinhard could take a look
at the latest code and give an opinion if we should move the tmpfs
branch features to master.
The current x2gothinclient packages (Debian) on packages.x2go.org
already reflect the latest state of the tmpfs branch (currently
building the latest version, should be available in 20 minutes).
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi all,
Heinz, Alex and I have just had the idea to split the x2goserver
package up into two parts:
o x2goserver: everything that is needed to run with the legacy x2goclient
o x2goserver-extensions: scripts, tools etc. that may be needed by other X2go
client implementations (e.g. Python X2go)
The change is already in Git. The two scripts I posted yesterday to
the list have already been moved to the new x2goserver-extensions
package.
PLEASE NOTE!!! These changes will for now only occur in the nightly
builds (Debian/Ubuntu).
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi devs,
for introspection I have added an x2goserver script: x2gosetkeyboard
to X2go Git:
x2gosetkeyboard script:
http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff
x2gosetkeyboard man page:
http://code.x2go.org/gitweb?p=x2goserver.git;a=blob_plain;f=.build_man2html…
The script takes a ,,keyboard'' file from $HOME/.x2go/C-$X2GO_SESSION
and parses its contents for the identifiers rules, model, layout,
variant, options. These options will then be passed on to a setxkbmap
call. The keyboard file layout has been adopted from the free NX
project. In the free NX project they have patched nxagent to digest
this ,,keyboard'' file.
If the ,,keyboard'' file lacks presence, nothing happens.
I would be grateful if people could take a look and comment on
potential problems, security issues etc.
I would like to use this script as a post-startup command for python-x2go.
If you see anything problematic about this piece of code, please let
me know and we try to figure out what solution may be best for all.
Thanks+Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi Alex,
to this mail I have attached a diff between our current x2goagent and
the newly released nxagent 3.5.0-1 by NoMachine.
Do you think you could take a look at it? Which files of the NX code
base have been customized for X2go?
The latest nxagent seems to have undergone quite some work, I guess it
would be good to provide an updated version with Baikal(?).
For someone who knows the x2goagent differences to the
old-at-fork-time-version of nxagent, this should not be a big problem.
Greets+Thanks,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi devs,
I have re-activated x2goclient's doxygen configuration. Now, doxygen
is included in the build process and the C++ documentation of
x2goclient ends up in
/usr/share/doc/x2goclient/doxygen/html
I have also removed old doxygen builds (outdated code documentation)
from the Git repository.
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
hi all,
I have added man pages for x2goclient and x2goserver:
http://code.x2go.org/gitweb?p=x2goclient.git;a=tree;f=.build_man2html/html/…http://code.x2go.org/gitweb?p=x2goserver.git;a=tree;f=.build_man2html/html/…
I also started wiki pages for x2goclient (there already was some
information for this) and x2goserver.
For the x2goclient page maybe there is a volunteer who would like to
add some more explanations about how the x2goclient GUI can be
configured/used, inform about caveats etc. I guess it is completely
fine, to have wiki sub-pages for x2goclient usage. For the x2goclient
command line option we should refer to the x2goclient's man page. This
actually also needs an update.
http://wiki.x2go.org/x2goclient
For the x2goserver package the new wiki page can be found here:
http://wiki.x2go.org/x2goserver
From my point of view this wiki page should be used for describing
how X2go (server) actually works. This is quite a task and I guess
there are only a few people who have dived into the internas of X2go's
session handshake. However, if there is someone out there who also
feels like picking up the job, that will be really appreciated!!!
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi devs,
for supporting a more flexible client concept around X2go I have been
thinking about a way of realizing server-client handshaking.
Basically, the client-side can benefit from knowing individual
versions of server-side installed X2go components.
Yesterday, as a manifestations of this thinking process I have added an
x2goversion
script to the x2goserver package. It basically shows the server-side
versions of installed X2go components.
For the man page, refer to:
http://code.x2go.org/gitweb?p=x2goserver.git;a=blob_plain;f=.build_man2html…
These server-side component versions are obtained from
/usr/share/x2go/versions/VERSION.<x2go-comp>
I have added the respective files for all server-side components in
X2go's Git (base dir of each Git project: VERSION.<x2go-comp>):
x2goserver,
x2gognomebindings,
x2gotrinitybindings,
x2goplasmoidbindings,
x2godesktopsharing,
cups-x2go,
x2goagent
I have omitted the NX packages with this X2go version patch as NX code
is actually not our code, so we cannot rely on retrievable version
with those code projects for every Linux distribution on the market.
Greetings to all,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi Stéphane,
hi list,
@List: Stéphane and I have had a private discussion (SORRY!) and I
have asked him to lead the discussion on the x2go-dev ML as it might
be of interest for other X2go developers and advanced users... I'll
quite the full mail around keyboard settings with X2go...
On Do 26 Mai 2011 23:05:39 CEST Stéphane Graber wrote:
> On Thu, 2011-05-26 at 22:51 +0200, Mike Gabriel wrote:
>> Hi Stéphane,
>>
>> On Do 26 Mai 2011 20:06:16 CEST Stéphane Graber wrote:
>>
>> > Yep, that was my problem actually as I can only find:
>> > kblayout (str) - keyboard layout, e.g. us (default), de, fr, ...
>> > kbtype (str) - keyboard type, e.g. pc105/us (default), pc105/de, ...
>> >
>> > But not kbvariant (or similar). Which means my two usual keyboard
>> > layouts won't work ...
>> >
>> > I'm using:
>> > kblayout = us
>> > kbtype = pc105
>> > kbvariant = altgr-intl
>>
>> Good point. I have just looked at the x2goserver code a bit closer. As
>> Python X2go is basically a wrapper it wraps around something: NX. And
>> in NX there is only a kbtype option (nxproxy --help). This kbtype is
>> set (with a bunch of other options) as the DISPLAY variable of the
>> nxagent/x2goagent on the server.
>>
>> Probably it might be best is to issue a setxkbmap command just before
>> starting the actual session.
>>
>> What do you think, would that help? I can implement that in pyton-x2go
>> directly (by also adding the kbvariant method parameter).
>>
>> Greets,
>> Mike
>
> Hi!
>
> Yep, that'd work for me.
>
> I had a quick look at the way it seems to work for my with qtnx +
> freenx.
> The options are:
> nx/nx,keyboard=defkeymap,kbtype=pc102/defkeymap,cache=64M,images=16M,link=adsl,nodelay=1,type=unix-desktop,clipboard=both,cleanup=10,product=LFE/None/LFEN/None,shmem=1,backingstore=when_requested,shpix=1,accept=127.0.0.1,cookie=01db5d8f49eb99cc24960b8e44ece0df,id=weblive-appserv02-2012-19B946687E199316F70C3C215EBFDE70,samba=0,media=0,menu=1:2012
>
> And I have a "keyboard" file in the NX session directory on the server
> containing:
> rules=evdev
> model=pc105
> layout=us
> variant=altgr-intl
> options=lv3:ralt_switch,grp:alts_toggle
>
> Which is identical to my laptop's settings at the time I started qtnx.
>
> I tried with the Swiss French keyboard and got the following "keyboard"
> file:
> rules=evdev
> model=pc105
> layout=ch
> variant=fr
> options=lv3:ralt_switch,grp:alts_toggle
>
I have added defkeymap / keyboard file support to python-x2go.
However, when I tested it with one of my X2go servers, it resulted in
this output:
mike@x2goserver:/srv/homes/mike$ xprop -root _XKB_RULES_NAMES
_XKB_RULES_NAMES(STRING) = "xfree86", "pc105", "defkeymap", "", ""
Although my keyboard file looks like this:
rules=evdev
model=pc105
layout=de
variant=nodeadkeys
options=
I then grepped X2go's nxagent fork x2goagent:
mike@devsystem:~/x2go-upstream/x2goagent$ grep -ri defkeymap *
mike@devsystem:~/x2go-upstream/x2goagent$
-> that is: it resulted in no output at all...
@devs: is there any chance that we incorporate latest nxagent code
into x2goagent???? The handling of keyboard files would probably solve
quite a few bugs around keyboard/keymap problems...
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
On Fri, 2011-05-27 at 20:28 +0200, Mike Gabriel wrote:
> Hi Stephane,
>
> On Fr 27 Mai 2011 16:03:47 CEST Stéphane Graber wrote:
>
> > stgraber@castiana:~$ host weblive-appserv01.nx.stgraber.org
> > weblive-appserv01.nx.stgraber.org has address 46.4.71.12
> > weblive-appserv01.nx.stgraber.org has IPv6 address
> > 2001:470:b4c2:1025:1::1
> >
> > stgraber@castiana:~$ telnet 46.4.71.12 6522
> > Trying 46.4.71.12...
> > Connected to 46.4.71.12.
> > Escape character is '^]'.
> > SSH-2.0-OpenSSH_5.8p1 Debian-1ubuntu3
> > ^]
> > telnet> quit
> > Connection closed.
> >
> >
> > stgraber@castiana:~$ telnet 2001:470:b4c2:1025:1::1 6522
> > Trying 2001:470:b4c2:1025:1::1...
> > Connected to 2001:470:b4c2:1025:1::1.
> > Escape character is '^]'.
> > SSH-2.0-OpenSSH_5.8p1 Debian-1ubuntu3
> > ^]
> > telnet> quit
> > Connection closed.
> >
> > stgraber@castiana:~$ telnet weblive-appserv01.nx.stgraber.org 6522
> > Trying 2001:470:b4c2:1025:1::1...
> > Connected to weblive-appserv01.nx.stgraber.org.
> > Escape character is '^]'.
> > SSH-2.0-OpenSSH_5.8p1 Debian-1ubuntu3
> > ^]
> > telnet> quit
> > Connection closed.
>
> Could you try somethin like this...
>
> $ python
> Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
> [GCC 4.4.5] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import socket
> >>> socket.getaddrinfo('vidar.das-netzwerkteam.de', 32032,
> >>> socket.AF_UNSPEC, socket.SOCK_STREAM)
> [(2, 1, 6, '', ('178.63.100.242', 32032))]
>
> What is the result of socket.getaddrinfo for your server (from your
> local host)?
>
> The getaddrinfo tuple represents (family, socktype, proto, canonname,
> sockaddr).
>
> This information is queried by paramiko.SSHClient.connect():
> http://www.lag.net/paramiko/docs/paramiko.client-pysrc.html
>
> There doesn't seem to be a method to force either of the protocols.
>
> Greets,
> Mike
>
> PS: could we please these kinds of communication on x2go-dev ML? I
> guess our insights should be available for the whole world (mail
> archives).
>>>
socket.getaddrinfo("weblive-appserv02.nx.stgraber.org",6522,socket.AF_UNSPEC, socket.SOCK_STREAM)
[(10, 1, 6, '', ('2001:470:b4c2:1025:1::2', 6522, 0, 0)), (2, 1, 6, '',
('46.4.71.12', 6522))]
As I mentioned, I have another process using paramiko connecting to the
same server and using IPv6.
May 27 14:35:45 weblive-appserv01 sshd[7373]: Accepted password for root
from 2001:470:8cc0:1000:223:14ff:fea3:d9a4 port 60372 ssh2
May 27 14:35:45 weblive-appserv01 sshd[7373]: pam_unix(sshd:session):
session opened for user root by (uid=0)
May 27 14:35:46 weblive-appserv01 sshd[7373]: pam_unix(sshd:session):
session closed for user root
Using:
#!/usr/bin/python
import paramiko
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect(
"weblive-appserv01.nx.stgraber.org",
port=6522,
username="root",
password="MY PASSWORD",
allow_agent=False,
look_for_keys=False,
timeout=10
)
ssh.close()
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com