Grass on MkLinux Problem

Jan Nicolai Langfeldt j.n.langfeldt at geografi.uio.no
Wed Feb 3 05:41:51 EST 1999


   >One reason for this, I have learned, is that if you 'su - <user>' you do
   >not get the DISPLAY environment variable in your new shell.
   >So after suing and before running grass do a (in bash)
   >
   >export DISPLAY=:0.0
   >
   >and it should work. (Or just do not run grass from a su shell).

   Thanks much for your response!  I gave it a try, but the message just
   changes to "Graph_Set:  Can't open :0.0".  I'm wondering if there is some
   kind of permission problem.  But I have been running GRASS as root to
   minimize that.  My understanding of what to check the permissions of is
   rather limited, unfortunately... Regards, Tom

1. DO NOT use the root accound unneeded.  This is extreemly dangerous, 
   and stupid as well.  You can do anything as root, and if you type
   one wrong command it will be infinitly more fatal if you do it as
   root)
2. Log in as yourself from the start.  If you cannot do this your machine
   is set up wrong.  Seek advice from a Linux community.
3. It will work once you log in as yourself.

Nicolai



More information about the grass-user mailing list