[CentOS] Revisited - No fullscreen on FreeNX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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:

***PATCH START***
--- 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"
***PATCH END***

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@xxxxxxxxxxxx

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux