[CentOS] Revisited - No fullscreen on FreeNX

Jay Leafey jay.leafey at mindless.com
Wed Sep 13 18:26:52 UTC 2006

This topic came up some time back and I pretty much ignored it, but the "itch" came back to find out why.  Searching through the 
FreeNX/knx list came up with the reason sessions did not come up full-screen even though the session definition was set to fullscreen.

Apparently there is an oversight in /usr/bin/nxnode, the script is never retrieving the fullscreen flag from the parameters passed 
from the client.  This is the case even in freenx-0.5.0-9.c4, the current version for CentOS 4.  Here's a quick patch against the 
freenx-0.5.0-9.c4 version of /usr/bin/nxnode that resolves this issue:

--- nxnode.save 2006-09-13 12:01:31.000000000 -0500
+++ nxnode      2006-09-13 12:02:08.000000000 -0500
@@ -626,6 +626,7 @@
         imagecompressionmethod=$(getparam imagecompressionmethod)
         imagecompressionlevel=$(getparam imagecompressionlevel)
         geometry=$(getparam geometry)
+       fullscreen=$(getparam fullscreen)
         keyboard=$(getparam keyboard)
         kbtype=$(getparam kbtype)
         media=$(getparam media)
@@ -661,7 +662,6 @@
         status=$(getparam status)
         host=$(getparam host)

-       fullscreen=""
         [ "$geometry" = "fullscreen" ] && fullscreen="1"

         [ "$EXPORT_USERIP" = "1" ] && export NXUSERIP="$userip"

After this patch, nxnode will respect the fullscreen flag if it is set in the configuration.

Hope that helps!
Jay Leafey - Memphis, TN
jay.leafey at mindless.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5177 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20060913/e138c164/attachment.bin>

More information about the CentOS mailing list