Hello,
I still have the problem that my fonts are sometimes to big or to small in the X2go session. Even with the newest client and server.
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 this is for the Nomachine software, not for X2go.
I've changed this to: AGENT_EXTRA_OPTIONS_X="-nolisten tcp -dpi 96" And now my DPI-porblems are gone in FreeNX. But this does not help for X2go.
Is it possible to give agent-options for X2go?
Or do I need to hack /usr/bin/x2gostartagent?
With regards, Paul van der Vlis.
Paul van der Vlis schrieb:
Hello,
I still have the problem that my fonts are sometimes to big or to small in the X2go session. Even with the newest client and server.
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 this is for the Nomachine software, not for X2go.
I had the same problem in FreeNX. There I found a solution. In the configfile I found this:
# Extra options sent to the different nx agents. See !M documentation # for examples of useful parameters. AGENT_EXTRA_OPTIONS_X="-nolisten tcp"
I've changed this to: AGENT_EXTRA_OPTIONS_X="-nolisten tcp -dpi 96" And now my DPI-porblems are gone in FreeNX. But this does not help for X2go.
Is it possible to give agent-options for X2go?
Or do I need to hack /usr/bin/x2gostartagent?
With regards, Paul van der Vlis.
Hello, I'll see if I can integrate this feature in the next version of client/server. Right now you can try to specify this option in x2gostartagent line 171
Greetings
-- Oleksandr Shneyder Dipl. Informatik X2go Core Developer Team
email: oleksandr.shneyder@obviously-nice.de web: www.obviously-nice.de
--> X2go - everywhere@home
Oleksandr Shneyder schreef:
Paul van der Vlis schrieb:
Hello,
I still have the problem that my fonts are sometimes to big or to small in the X2go session. Even with the newest client and server.
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 this is for the Nomachine software, not for X2go.
I had the same problem in FreeNX. There I found a solution. In the configfile I found this:
# Extra options sent to the different nx agents. See !M documentation # for examples of useful parameters. AGENT_EXTRA_OPTIONS_X="-nolisten tcp"
I've changed this to: AGENT_EXTRA_OPTIONS_X="-nolisten tcp -dpi 96" And now my DPI-porblems are gone in FreeNX. But this does not help for X2go.
Is it possible to give agent-options for X2go?
Or do I need to hack /usr/bin/x2gostartagent?
With regards, Paul van der Vlis.
Hello, I'll see if I can integrate this feature in the next version of client/server. Right now you can try to specify this option in x2gostartagent line 171
Seems to work ;-)
LD_LIBRARY_PATH=$X2GO_LIB x2goagent -dpi 96 -$SESSION_TYPE -geometry ${X2GO_GEOMETRY} -name "X2GO-${SESSION_NAME}" ${NX_AGENT} 2>${SESSION_DIR}/session.log & 184c184
Nice to see how good documented x2goagent is. I did: /usr/lib/x2go/x2goagent -h
Maybe it's a good idea to use a default of 96 dpi like they tell here: http://www.scanline.ca/dpi/ Or are there devices what really use 75/75? (Maemo?)
with regards, Paul van der Vlis.