Hello,
I have installed x2goserver and client on the same machine (Debian
Lenny). When I connect fullscreen with x2goclient to localhost, as the
same user, I see that the fonts and the windows are smaller then in a
normal session.
I found this article about this problem:
http://www.nomachine.com/ar/view.php?ar_id=AR04C00198
And this seems to be true. In the x2go session I see 75x75 dots per
inch, and in my normal session I see 96x96 dots per inch.
I used "xdpyinfo | grep resolution" to get this info.
In the article they have a link to a solution, they say to use a
variable: DEFAULT_X_DPI = "96".
But I don't know how to use that in X2go.
With regards,
Paul van der Vlis.
--
http://www.vandervlis.nl/
Hello together.
I stumbled over a bug concerning the resume of sessions with users that
have 'zsh' as their default shell. The problem is the following:
Somewhere during the resume something like 'export HOSTNAME &&
x2golistsessions' is executed. In 'bash' 'export HOSTNAME' sets the
environment variable to the current hostname. In 'zsh' (and probably
other shells, too) this fails leaving an empty HOSTNAME envirtonment
variable.
I suggest to change the perl script x2golistsessions to the following:
#!/usr/bin/perl
use strict;
use Sys::Hostname; # <-- New line
...
my $serv=shift;
if( ! $serv)
{
#$serv=$ENV{'HOSTNAME'}; # delete this
$serv = hostname; # <-- New line
}
...
This is probably much more robust and works fine here.
Ralf
P.S. I'm not on the list (yet), so please CC.
--
Institut für Kernphysik - Universität zu Köln --------------------
Zülpicher Str. 77 E-Mail: Ralf.Schulze(a)ikp.uni-koeln.de
50937 Köln Fon: +49 -(0)221 / 470-3649
Germany www: http://www.ikp.uni-koeln.de/~rschulze