[GRASS-user] GRASS7 - installation problem, MySQL support, X11 support

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Mon Apr 27 00:25:10 PDT 2015


Hi Dominik,

I use to work with GRASS on a remote server too (Ubuntu 14.04 LTS).

Some of my colleagues are very happy with ssh -X. Personally I prefer VNC, so I have a (minimal) desktop environment on the server in addition.
What is very nice with VNC is that you can close both SSH and VNC connection when you leave your office and continue exactly where you left, when you start again the next day, just by reopening the VNC connection. If you use SSH, "byobu" for example does a similar job, but only for the command line if I am not mistaken...

If your client is a Windows computer (like in my case), you may encounter encoding and "End-of-Line"-Issues when you transfer (e.g. script- or data-) files from your windows Workstation to the Linux Server (if you do not explicitly pay attention to it). This is why I tend to do as much as possible (including scripting) on the server, and here the Desktop environment provided by VNC comes in handy, so I have geany or spyder alongside GRASS...

Cheers
Stefan


-----Original Message-----
From: grass-user-bounces at lists.osgeo.org [mailto:grass-user-bounces at lists.osgeo.org] On Behalf Of Markus Neteler
Sent: 27. april 2015 08:53
To: Vaclav Petras
Cc: GRASS user list
Subject: Re: [GRASS-user] GRASS7 - installation problem, MySQL support, X11 support

On Mon, Apr 27, 2015 at 2:44 AM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
> On Sun, Apr 26, 2015 at 4:21 PM, Markus Neteler <neteler at osgeo.org> wrote:
>> Simply connect to your server with display forwarding:
>>
>> ssh -Y yourserver
>
> Isn't ssh -X more secure? I think -Y might be needed on Mac OS X but 
> -X is working fine (fine, not super fast) with GRASS GIS for me on Linux (Ubuntu).


My knowledge is based on this email:

[GRASS-user] Running Grass Remotely
On Mon, Jan 11, 2010 at 11:56 PM, Glynn Clements wrote:
> stephen sefick wrote:
>
>> I would like to run grass remotely on a server running ubuntu.  I 
>> would like to be able to forward the X11 to my desktop running ubuntu
>> 9.10 over the network.  Any help or pointers to reading material 
>> would be greatly appreciated.
>
> Connecting to the server with "ssh -Y ..." should forward X11 
> connections back to the desktop system automatically (so long as this 
> hasn't been disabled in the server's sshd configuration). This is 
> generally simpler than configuring the desktop system to allow remote 
> X clients to connect directly.
>
> The server still needs all of the libraries which would be required to 
> run GRASS on a desktop system, e.g. X libraries, Tcl/Tk or wxPython 
> for the GUI, GDAL and PROJ for GRASS itself, etc.

I found also these notes/discussions:

https://wiki.archlinux.org/index.php/Secure_Shell#X11_forwarding
https://askubuntu.com/questions/35512/what-is-the-difference-between-ssh-y-trusted-x11-forwarding-and-ssh-x-u

Probably it depends on the security status of the remote server (shared/not shared, internet/intranet etc).

Markus
_______________________________________________
grass-user mailing list
grass-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list