Grace: Can't open display

Marcelo Chiapparini marcelo.chiapparini at gmail.com
Wed Feb 20 06:13:30 PST 2013


Hi Ryan,

I don't have any ~/.bash_profile file in my home directory, or other shell
setup file:

Nostromo3:~ Marcelo$ ls -all
total 64
drwxr-xr-x+ 26 Marcelo  staff    884 20 Fev 10:55 .
drwxr-xr-x   5 root     admin    170 20 Fev 10:54 ..
-rw-------   1 Marcelo  staff      4 18 Set 15:22 .CFUserTextEncoding
-rw-r--r--@  1 Marcelo  staff  15364 20 Fev 10:56 .DS_Store
drwx------   2 Marcelo  staff     68 20 Fev 10:55 .Trash
-rw-------   1 Marcelo  staff   8151 20 Fev 10:56 .bash_history
drwxr-xr-x   3 Marcelo  staff    102  8 Set 13:40 .config
drwx------   3 Marcelo  staff    102 12 Set 09:58 .cups
drwx------  15 Marcelo  staff    510 20 Fev 10:56 .dropbox
drwx------   9 Marcelo  staff    306 17 Set 15:19 .filezilla
drwxr-xr-x   6 Marcelo  staff    204  3 Out 15:56 .fontconfig
drwxr-xr-x  14 Marcelo  staff    476  8 Set 11:25 .fonts
-rw-r--r--   1 Marcelo  staff    241  9 Set 15:40 .profile
drwx------   3 Marcelo  staff    102 17 Set 15:16 .putty
drwxr-xr-x   8 Marcelo  staff    272  8 Nov 15:47 .qtoctave
drwx------   3 Marcelo  staff    102 12 Set 12:40 .ssh
drwx------+ 13 Marcelo  staff    442  8 Out 14:35 Desktop
drwx------+  6 Marcelo  staff    204 27 Nov 18:28 Documents
drwx------+ 81 Marcelo  staff   2754 20 Fev 09:38 Downloads
drwx------@ 16 Marcelo  staff    544 20 Fev 10:56 Dropbox
drwx------@ 16 Marcelo  staff    544 20 Fev 10:56 Google Drive
drwx------@ 53 Marcelo  staff   1802 30 Nov 15:56 Library
drwx------+  4 Marcelo  staff    136  8 Set 13:12 Movies
drwx------+  4 Marcelo  staff    136  8 Set 19:53 Music
drwx------+  8 Marcelo  staff    272  7 Jan 13:58 Pictures
drwxr-xr-x+  5 Marcelo  staff    170  6 Set 18:01 Public

Perhaps I need one? if yes, I need a template... However, PATH is set
somewhere:
Nostromo3:~ Marcelo$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin

so, should I look for the file where PATH is set?

Thanks again for the help

Marcelo




2013/2/19 Ryan Schmidt <ryandesign at macports.org>

>
> On Feb 19, 2013, at 08:44, Marcelo Chiapparini wrote:
>
> > DISPLAY is not set...
> >
> > $ echo $DISPLAY
> >
> > $
>
> Ok, that's definitely a problem. As Chris said, the OS should have set it
> to the correct value for you already, as long as you are running OS X 10.5
> or later.
>
> Is there a line in any of your shell setup files (~/.profile,
> ~/.bash_profile, ~/.bash_rc, etc.) that is setting DISPLAY? If so, try
> removing those lines and letting the OS do it. You'll have to close and
> re-open your terminal window before the change will take effect.
>
>
>


-- 
Marcelo Chiapparini
http://sites.google.com/site/marcelochiapparini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130220/e775e165/attachment.html>


More information about the macports-users mailing list