Thread: How to solve the problem of ' X11 Screen does not exist'

Started: 2014-05-27 23:31:12
Last activity: 2020-12-18 20:29:14
Topics: SAC Help
Hi,

I am learning SAC, when I input 'plot', the sentence of ' X11 Screen does
not exist' shows up and SAC will quit automatically. May I know how to
solve the problem? I am using the remote window connecting to the Linux
system, does it matter the ' plot' command and X11 screen? I appreciate
your help.

Thanks
Tracy

  • Hi,

    If you connect to the remote server running sac where is installed Xorg, you can do :

    ssh -X remote_server

    and then running sac in the remote server.

    HTH,

    * * * * * * * * * * * * * * * * * * * * * * *
    Milton P. PLASENCIA LINARES

    Centro di Ricerche Sismologiche (CRS)
    OGS - Istituto Nazionale di Oceanografia e di Geofisica Sperimentale

    Borgo Grotta Gigante 42/C
    (34010) Sgonico - Trieste - Italia
    Tel: +39 040 2140 141 (Udine)
    Tel: +39 040 2140 256 (Trieste)
    Cel.: +39 331 6481 935

    E-mail: mplasencia<at>inogs.it

    ASAIN (Antarctic Seismographic Argentinean Italian Network)
    *********************************











    On May 27, 2014, at 10:31 PM, Cuiyan Kong <ckong2<at>ncsu.edu> wrote:

    Hi,

    I am learning SAC, when I input 'plot', the sentence of ' X11 Screen does not exist' shows up and SAC will quit automatically. May I know how to solve the problem? I am using the remote window connecting to the Linux system, does it matter the ' plot' command and X11 screen? I appreciate your help.

    Thanks
    Tracy
    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


  • This problem is not from SAC. You need to set up Xserver in you computer and get the remote computer terminal.



    Xuzhang Shen
    Lanzhou Insitute of Seismology, China Earthquake Administration
    450# Donggan west road, Lanzhou, 730000, China
    Office:+86-09318277661
    Email:shenxzh<at>gmail.com

    From: Cuiyan Kong
    Date: 2014-05-28 04:31
    To: sac-help
    Subject: [SAC-HELP] How to solve the problem of ' X11 Screen does not exist'
    Hi,

    I am learning SAC, when I input 'plot', the sentence of ' X11 Screen does not exist' shows up and SAC will quit automatically. May I know how to solve the problem? I am using the remote window connecting to the Linux system, does it matter the ' plot' command and X11 screen? I appreciate your help.

    Thanks
    Tracy

  • Hi,

    I had exactly the same problem, although it may be cause by a different reason. This is how I solved it.

    Sac was working perfectly until I decided to update my OS to Mac BigSur. Then, the message "X11 Screen does not exist" appeared every time I tried to plot. To solve it, I have to run Xquartz manually, before running any plot command.

    I am not sure if there is a way to avoid this two-step process.
    • I had a problem when I updated from OS 10.13 to OS 10.15 that may be relevant. 
      I did not do a clean installation, so it kept soft links. that worked fine on
      10.13, but on 10.15 that soft ink for /usr/X11 led to nowhere.  As I explain in
      the attached document, /opt/X11 does exist and adding a new soft link solved the
      problem I had running an old binary that used the old soft link.

      On 12/18/20 2:47 PM, Luis Dominguez (via IRIS) wrote:
      Hi,

      I had exactly the same problem, although it may be cause by a different reason. This is how I solved it.

      Sac was working perfectly until I decided to update my OS to Mac BigSur. Then, the message "X11 Screen does not exist" appeared every time I tried to plot. To solve it, I have to run Xquartz manually, before running any plot command.

      I am not sure if there is a way to avoid this two-step process.


      I recently upgraded to Mac OS 10.15. I did not do a clean installation, which I think explains my current problem: SAC 102.0 works but my old bimmary for 101.6a does not. When I tried to make it work, I get the following error message:

      % newsac /usr/local/jas/sac-101.6a
      dyld: Library not loaded: /usr/X11/lib/libSM.6.dylib
      Referenced from: /usr/local/jas/sac-101.6a/bin/sac
      Reason: image not found
      Abort

      I found [merhaba /usr]% ls -l
      total 0
      lrwxr-xr-x 1 root wheel 25 Nov 7 22:35 X11@ -> ../private/var/select/X11
      lrwxr-xr-x 1 root wheel 25 Nov 7 22:35 X11R6@ -> ../private/var/select/X11
      drwxr-xr-x 1014 root wheel 32448 Nov 8 07:26 bin/

      [merhaba /usr]% cd X11
      X11: No such file or directory

      [merhaba /]% ls -l private/var/select/
      total 0
      lrwxr-xr-x 1 root wheel 9 Nov 7 22:36 sh@ -> /bin/bash
      [merhaba /]%

      So that X11 directly does not exist in Catalina. The soft link was carried over from my 10.13 system.

      PROBLEM SOLVED

      Before upgrading to 10.15 on my laptop, I had entered things to test SAC on my wife's iMac that was on 10.15 when we bought it. When I looked, I found that /private/var/select/X11 had a soft link to /opt/X11. On my macbook, I also have /opt/X11 with the same modification date. I did the following:

      [merhaba select]% sudo ln -s /opt/X11 X11
      [merhaba select]% ls X11
      X11@
      [merhaba select]% cd X11
      [merhaba X11]% ls
      bin/ include/ libexec/ var/
      etc/ lib/ share/
      [merhaba X11]%

      Now,

      [merhaba smooth]% cd 101.6a/
      [merhaba 101.6a]% newsac /usr/local/jas/sac-101.6a
      SEISMIC ANALYSIS CODE [09/17/2013 (Version 101.6a)]
      Copyright 1995 Regents of the University of California

      SAC>



    • My start-up file has the command

      bd x

      which fires up Xquartz and creates a graphics window.

      Cliff Thurber

      On Dec 18, 2020, at 1:51 PM, Luis Dominguez (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:

      Hi,

      I had exactly the same problem, although it may be cause by a different reason. This is how I solved it.

      Sac was working perfectly until I decided to update my OS to Mac BigSur. Then, the message "X11 Screen does not exist" appeared every time I tried to plot. To solve it, I have to run Xquartz manually, before running any plot command.

      I am not sure if there is a way to avoid this two-step process.

      ----------------------
      SAC Help
      Topic home: http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu

      Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
      Update subscription preferences at http://ds.iris.edu/account/profile/


Page built 07:43:51 | v.b'108166