www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/30/09:44:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 30 Aug 2005 09:41:06 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin-xfree AT cygwin DOT com
To: Joe Andersen <jaanders AT fas DOT harvard DOT edu>
cc: =?ISO-8859-1?Q?Ren=E9_Berber?= <rberber AT prodigy DOT net DOT mx>, cygwin AT cygwin DOT com,
cygwin-xfree AT cygwin DOT com
Subject: Re: Matlab Segmentation Fault error
In-Reply-To: <df0c75$dr5$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.63.0508300935420.27062@slinky.cs.nyu.edu>
References: <431399FD DOT 5040508 AT fas DOT harvard DOT edu> <df0c75$dr5$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0

---559023410-1423418003-1125409266=:27062
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

On Mon, 29 Aug 2005, René Berber wrote:

> Joe Andersen wrote:
>
> > Not sure if this is a Cygwin problem, but it seems to be. I just
> > installed cygwin so I could run Matlab on the unix servers at school
> > from my windows laptop. Now that I;ve got rid of zonealarm, cygwin
> > generallty works fine. However, when I try to run matlab after having
> > ssh'ed to crest (our server), I get "segmentation fault" and matlab
> > doesn't run.
> >
> > Here is how I log on:
> >
> > Joe AT orac ~
> > $ ssh -X -l **** crest.***
>
> I assume you started X windows first on your laptop.
>
> > ****@crest.***'s password:
> > Last login: Mon Aug 29 15:59:01 2005 from ****
> > [***@crest ~]$ matlab
> > Segmentation fault
>
> This is happening on the server, not your laptop, so the problem may be
> on the server.  Have you tried running matlab on an X terminal connected
> directly to the server?
>
> > start matlab with the following flags
> > -nojvm -nodisplay -nosplash -nodisplay
> >
> > (in various combinations) Is there something I should change settings
> > wise to make things work? Or is SSh the wrong protocol here?
>
> Ssh should not cause any problem, I use it all the time to have a
> graphical interface for Solaris and Linux.  You just have to make sure
> that the environment variable DISPLAY is set correctly (on the server)
> and that your host (laptop in this case) has security permission to
> access the X server (xhost +<laptop name or address>).

A couple of comments: this is almost certainly a bug in Matlab or one of
the libraries it uses -- it should not crash like this.  Also, this is an
X-related issue, and thus belongs on the cygwin-xfree list, not the main
one -- please direct all follow-ups there (should happen automatically
with the current Reply-To).

That said, you may find
<http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding>
helpful for finding a workaround for your problem.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

---559023410-1423418003-1125409266=:27062
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
---559023410-1423418003-1125409266=:27062--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019