Hello,
I use the x2go client for maemo (N810, Diablo) for some days. It's a
really fine piece of software, but I can't toggle fullscreen. Choosing
the option has no effect. What am I doing wrong?
--
kind regards
Karl-Wilhelm Ahlborn
Hi there again,
2 issues with CUPS/X2GO printing...
1st issue:
==========
when mounting home directories via NFS (NFS3 with root_squash, NFS4
with any kind of Kerberos security feature) you cannot copy a file as
superuser ,,root'' to a user's HOME (x2goprint is called via
sudo(NOPASSWD) in the cups-x2go backend).
The logical error is in the last stanza of the x2goprint file...
(quoted and marked below).
Maybe there is already a solution for this. If not, let me know and I
propose a suggestion (and test it with krb5p security enabled servers).
<quote>
my $mounts=`sudo x2gopgwrapper getmounts $session`;
if( $mounts=~m/$spooldir/)
{
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
move ("$printdir/$file", "$homedir/.x2go/C-$session/$file") or
die "$!: Can't rename $file to $homedir/.x2go/C-$session/$file";
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
chown $uid, $gid, "$homedir/.x2go/C-$session/$file";
system ("su $user -c \"mv $homedir/.x2go/C-$session/$file $spooldir\"");
open (RFILE,">$homedir/.x2go/C-$session/$file.ready");
print RFILE "$file\n$title";
close (RFILE);
chown $uid, $gid, "$homedir/.x2go/C-$session/$file.ready";
system ("su $user -c \"mv $homedir/.x2go/C-$session/$file.ready
$spooldir\"");
}
</quote>
2nd issue:
==========
There is als some inconsistency between cups-x2go and x2goprint:
cups-x2go:
----------
<quote src="/usr/lib/cups/backend/cups-x2go">
$tempFile = "$ENV{TMPDIR}/$jid-$uid-cupsjob$$";
</quote>
BUT: $TMPDIR is not set, that's why first instances of CUPS's spool
jobs appear in the server's root directory "/".
Most important: by design $tempFile is a full path!!!
x2goprint:
----------
$tempFile is picked up in x2goprint as $file
<quote src="/usr/bin/x2goprint">
my ($user, $session, $file, $titleFile)=@ARGV;
</quote>
However, in x2goprint $file is interpreted as a filename without path...
But maybe this problem als has been already addressed...
I also get loads of stray job files on my x2goserver, especially if
the print mechanism is not working by some reason (e.g. broken reverse
ssh, because i was not able to configure my client properly... ;-) )
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
eMail-LeseSchreibStunde: wochentags 8h-10h
mail: m.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi there,
in the current x2goclient package (3.01-5, Debian, Qt version) there
is need for an option to configure the reverse SSH port number (i.e.
the SSH daemon's port on the client side). This option should be a
client wide config option (not a per-session option).
Printing and file sharing (sshfs/fuse) build up a reverse port
forwarding tunnel from the x2goserver back to the client. This feature
is used for x2goprint and x2gomountdirs (if I understand the perl code
correctly) and could also be used for any other feature that could be
evoked by a reverse SSH connection...
The linux x2goclient, however, pre-requisites a running ssh daemon on
the client system. Its standard port is 22. The x2goclient will only
work if the client's SSH daemon runs on the default port 22. It will
fail if the port has been set to a custom (high) port.
Consider a client, whose system administrator has set the SSH port to
a high --- to potential intruders unknown --- port number (e.g.
20222). With such an SSH setup, sshfs/fuse will fail...
Reproduce:
o modify /etc/ssh/sshd_config
o set ,,Port 20222'' (or something else)
o /etc/init.d/ssh restart
o start x2goclient as some user and login to a remote x2goserver
o start a shell within the x2go session on the server
o type ,,mount | grep sshfs''
Suggestions:
(a)
add a global SSH port number option to the x2goclient (linux-only).
(b)
Another way for the x2goclient could be some autodetect code:
lsof -ni | egrep "^sshd.*root.*IPv4" | awk '{ print $8 }'
(c)
Another way, similar to the windows client, could be to run a separate
ssh instance that binds to a random port on the localhost lo-device
only. That's where the reverse SSH tunnel (server -> client) has its
endpoint.
sshd -o ListenAddress 127.0.0.1:<someport> -o <someOtherOption>
Hope to be of help,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
eMail-LeseSchreibStunde: wochentags 8h-10h
mail: m.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi there,
pulseaudio in x2goclient (Windows, 3.0.1-5) is probably missing a
patch that was introduced on 2009/05/18.
http://launchpadlibrarian.net/26903656/lp-348540-pulsesink.patch
When connecting from Windows to Ubuntu Lucid, pulseaudio crashes once
you start totem to play an mp3 or other file.
A pop up error appears, stating:
"""
Es ist ein Fehler aufgetreten
pa_stream_proplist_update() failed: Nicht untersützt
"""
Best,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
eMail-LeseSchreibStunde: wochentags 8h-10h
mail: m.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi there,
here is a little --- what seems to me like a --- bug report...
SERVER (Ubuntu Lucid)
x2goserver-home: 3.0.1-1
x2goserver-one: 3.0.1-1
x2goserver: 3.0.1-5
CLIENT (Debian Lenny; Ubuntu Karmic/Lucid)
x2goclient: 3.0.1-5
When logging in to the x2goserver with an account that is not in the
x2gousers group on the x2goserver, I see hundreds of sudo errors in
the auth.log file on the server (about 50-60, every 5 seconds):
<quote>
Jun 23 13:12:46 <hostname> sudo: <uid> : no tty present and no
askpass program specified ; TTY=unknown ; PWD=<homedir> ; USER=root ;
COMMAND=/usr/bin/x2gopgwrapper insertsession <pid> <fqdn.hostname>
<session-id>
</quote>
To my understanding, the x2goserver should just say: ,,NO, you are not
supposed to login, as you are not in the x2gousers group on this
server... Goodbye and Farewell...'' Instead the x2goclient waits
endlessly for a login...
BTW: once you add a user to the x2gousers group the login from the
x2goclient proceeds as normal...
greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
eMail-LeseSchreibStunde: wochentags 8h-10h
mail: m.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi,
I find debugging of the x2go server side script a bit difficult.
IMHO there could/should be more verbosity explaining processings and
failures in the x2goserver logs. Of course, this should be
configurable --- i.e. it needs a switch to be turned on or off...
If there is a concept on how to log events in the x2goserver, please
let me know and I would love to add debug verbosity.
Best,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
eMail-LeseSchreibStunde: wochentags 8h-10h
mail: m.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…