[CentOS] Revisited - No fullscreen on FreeNX

Wed Sep 13 21:04:39 UTC 2006
Johnny Hughes <mailing-lists at hughesjr.com>

On Wed, 2006-09-13 at 13:26 -0500, Jay Leafey wrote:
> 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,

Thanks for the patch.

The patch is rolled in and freenx-0.5.0-10.c4.noarch.rpm is pushed to
the centos mirrors.

--
Johnny Hughes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060913/feb656db/attachment-0005.sig>