Remote Sessions with NX (NoMachine)???

5 messages Options
Embed this post
Permalink
Lawrence Houston-4

Remote Sessions with NX (NoMachine)???

Reply Threaded More More options
Print post
Permalink
GRASS Users:

While running Sessions Remotely using NX (www.NoMachine.com) I can have
problems using GRASS's XDRIVER: With NX 2.1 the XDRIVER successfully
displays Raster Images, although with NX 3.X the XDRIVER Window remains
"Blank" without the Raster Image being "Visible"!!!  Would prefer to use
newer versions of NX, although without being able to view Raster Images
within GRASS that is not really an "Option"...  Is there a "Solution" for
GRASS Users using NX 3.X???

Lawrence Houston  --  ([hidden email])
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
Craig Leat

Re: Remote Sessions with NX (NoMachine)???

Reply Threaded More More options
Print post
Permalink
Lawrence Houston wrote:
> While running Sessions Remotely using NX (www.NoMachine.com) I can have
> problems using GRASS's XDRIVER: With NX 2.1 the XDRIVER successfully
> displays Raster Images, although with NX 3.X the XDRIVER Window remains
> "Blank" without the Raster Image being "Visible"!!!  Would prefer to use
> newer versions of NX, although without being able to view Raster Images
> within GRASS that is not really an "Option"...  Is there a "Solution" for
> GRASS Users using NX 3.X???

I can replicate the strange behaviour with d.mon when I use bitmap
compression in NX. Selecting the option "Use plain X bitmaps" in the
nxclient works for me. I hope it works for you too :-)

Craig
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
Glynn Clements

Re: Remote Sessions with NX (NoMachine)???

Reply Threaded More More options
Print post
Permalink
In reply to this post by Lawrence Houston-4

[CC to grass-dev]

Lawrence Houston wrote:

> While running Sessions Remotely using NX (www.NoMachine.com) I can have
> problems using GRASS's XDRIVER: With NX 2.1 the XDRIVER successfully
> displays Raster Images, although with NX 3.X the XDRIVER Window remains
> "Blank" without the Raster Image being "Visible"!!!  Would prefer to use
> newer versions of NX, although without being able to view Raster Images
> within GRASS that is not really an "Option"...  Is there a "Solution" for
> GRASS Users using NX 3.X???

I think that this change might be necessary, although I don't know if
the problem which you report is related to it.

--- display/drivers/XDRIVER/Respond.c (revision 39378)
+++ display/drivers/XDRIVER/Respond.c (working copy)
@@ -4,6 +4,7 @@
 
 void XD_Respond(void)
 {
+    XSetWindowBackgroundPixmap(dpy, grwin, bkupmap);
     XClearWindow(dpy, grwin);
     XSync(dpy, 1);
     needs_flush = 0;

--
Glynn Clements <[hidden email]>
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
Craig Leat

Re: Remote Sessions with NX (NoMachine)???

Reply Threaded More More options
Print post
Permalink
In reply to this post by Lawrence Houston-4
Glynn Clements wrote:

>I think that this change might be necessary, although I don't know if
>the problem which you report is related to it.
>
>--- display/drivers/XDRIVER/Respond.c (revision 39378)
>+++ display/drivers/XDRIVER/Respond.c (working copy)
>@@ -4,6 +4,7 @@
>
> void XD_Respond(void)
> {
>+    XSetWindowBackgroundPixmap(dpy, grwin, bkupmap);
>     XClearWindow(dpy, grwin);
>     XSync(dpy, 1);
>     needs_flush = 0;

Glynn,

I applied your patch and found it does not work for me. As noted
earlier, changing settings in nxclient does work. More information is
available in this post from March last year:
http://article.gmane.org/gmane.comp.gis.grass.user/23219

Craig
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
Lawrence Houston-4

Re: Remote Sessions with NX (NoMachine)???

Reply Threaded More More options
Print post
Permalink
On Sun, 18 Oct 2009, Craig Leat wrote:

Craig:

> Craig Leat wrote:
> I can replicate the strange behaviour with d.mon when I use bitmap
> compression in NX. Selecting the option "Use plain X bitmaps" in the
> nxclient works for me. I hope it works for you too :-)

After selecting "Use plain X bitmaps" within "Custom Settings" I still see
"Blank" XDRIVER Windows for my Raster Images...  As before d.rast reaches
100% too fast and Raster Files are NOT "Visible", which I always assumed
was due to no image data actually being transfered from the Remote Host???

Current Specifics:
-----------------
Client [Windows XP SP3]: 3.4.0-5
Server [CentOS 4.8]: (Client: 3.4.0-5, Node: 3.4.0-6, Server: 3.4.0-8)
GRASS [6.2.3]: Built from Source Code

Although I can use 3.X Clients, once the Server has been upgraded to 3.X
executing d.rast with the XDRIVER Window will again produce "Blank" Raster
Images???

NOTE: Other combinations involving NX 3.X have always produced the same
       "Problem", it does NOT appeared to be limited to the above mentioned
       specifics...

Lawrence Houston  --  ([hidden email])
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user