Subscribe: x11-users Mailing List
http://rss.lists.apple.com/x11-users.rss
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
acirc acirc  acirc  display  echo display  email hidden  email  hidden  opening xterm  opening  problem opening  problem  set  xterm 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: x11-users Mailing List

x11-users Mailing List



x11-users Mailing List



Published: 2016-08-10T04:35:02-08:00

 



Re: problem opening xterm
From: JF Mezei
Reply to list

[...]

More complete test:

after having removed the EXPORT DISPLAY=:0 in my .profile

bike:~ $  echo $DISPLAY


bike:~ $  xterm &
[1] 53519

bike:~ $  xterm: Xt error: Can't open display:
xterm: DISPLAY is not set


So now I know why I had that explicit setting of $DISPLAY in there. [...]



Re: problem opening xterm
From: Brandon Allbery
Reply to list

On Sat, Aug 6, 2016 at 2:12 PM, JF Mezei <email@hidden> wrote: > quoted text
  Sigh. So something else is clearing it. The terminal is started with $DISPLAY set correctly (if it weren't, the terminal window wouldn't even show up) so something in your shell session is clearing $DISPLAY. [...]



Re: problem opening xterm
From: JF Mezei
Reply to list

[...]

You are right. I had commented out an EXPORT DISPLAY=:0 but there was
another one lurking around.

xterm -e login & created a process:

login: <myuser>
Password:
Last login: Sat Jul 23 21:45:55 on console
Running JF's .profile XX
Setting up the X windows stuff

bike:~ $  echo $DISPLAY

 [...]



Re: problem opening xterm
From: Brandon Allbery
Reply to list
On Sat, Aug 6, 2016 at 2:01 PM, JF Mezei <email@hidden> wrote: > quoted text
  This means your dotfiles (probably cribbed from Linux) are overriding $DISPLAY. Don't do that; there is no guarantee that the display is actually :0, and the persistent security access keys are indexed by the $DISPLAY set by launchd not the actual display.    --     brandon s allbery kf8nh                               sine nomine associates  email@hidden                                  email@hidden  unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net   

  



Re: problem opening xterm
From: JF Mezei
Reply to list

[...]

Thanks to Brandon Allbery, I realized my brain is not fully functional :-(

Bike:jfmezei $  echo $DISPLAY
:0


So it appears that before XQuartz is started, DISPLAY is set to the
value seen by Mr Gurman, and once it is running, set to :0 as I am
seeing on my deskop now. [...]



Re: problem opening xterm
From: Joseph B. Gurman
Reply to list
For instance, I see:

/private/tmp/com.apple.launchd.fMz15nlE00/org.macosforge.xquartz:0

when I echo $DISPLAY.

    Xquartz 2.7.9, OS X 10.11.6

[...]



Re: problem opening xterm
From: Brandon Allbery
Reply to list
On Sat, Aug 6, 2016 at 1:35 PM, JF Mezei <email@hidden> wrote: > quoted text
      echo $DISPLAY     you told echo to display a literal string, and it did so.    --     brandon s allbery kf8nh                               sine nomine associates  email@hidden                                  email@hidden  unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net   

  



Re: problem opening xterm
From: JF Mezei
Reply to list

[...]

For the local node, DISPLAY is set automatically to some special value
to trigger the launch of the X terminal software (X Quartz) and after
that, it appears DISPLAY is set to a blank value.

Bike:jfmezei $  echo DISPLAY
DISPLAY

Bike:jfmezei $  xterm &
[1] 53222

(that Xterm launch worked). [...]



Re: problem opening xterm
From: M P
Reply to list

I figure I should respond to the list as well so other people benefit if they have a problem    On Thu, Aug 4, 2016 at 2:05 PM, M P <email@hidden> wrote:  the xterm problem occurs even when I try to open xterm locally (.i.e. for the desktop). I wonder if I need to set something in my . [...]



Re: problem opening xterm
From: Ken Preslan
Reply to list
I use fvwm2 all the time under XQuartz.  It works fine.

Never, ever, set the DISPLAY under XQuartz.  Let it set the variable for you.


On Thu, Aug 04, 2016 at 01:20:22PM -0600, M P wrote:

[...]

Ken Preslan <email@hidden>

 



problem opening xterm
From: M P
Reply to list
Hello, When I start fvwm2 in  XQuartz it works fine but after some time xterms fail to open with message below.  Restarting only crashes and exits fvwm2. Any help much apperciated.   Thanks      %setenv DISPLAY :0     %xterm &  [2] 72897  %Invalid MIT-MAGIC-COOKIE-1 keyxterm: Xt error: Can't open display: :0