(unknown charset) Re: FVWM: Abort trap from menu after upgrade to Fvwm2.4.14

From: (unknown charset) Louis LeBlanc <fvwm_at_keyslapper.org>
Date: Sat, 11 Jan 2003 09:13:03 -0500

On 01/11/03 01:43 AM, Ben Winslow sat at the `puter and typed:
> Dan Espen wrote:
> > Louis LeBlanc <fvwm_at_keyslapper.org> writes:
> [snip]
>
> >>open("/usr/X11R6/bin/xterm", O_RDONLY) = -1 EACCES (Permission denied)
> >>break(0x80c3000) = 0
> >>write(2, "/usr/X11R6/bin/xterm: Can\'t open"..., 73/usr/X11R6/bin/xterm: Can'
> >>t open /usr/X11R6/bin/xterm: Permission denied) = 73
> >>exit(2) = ?
> >>-bash-2.05b$
> >>
> >>I'm afraid I don't really understand this. It seems to say it can't
> >>open /usr/X11R6/bin/xterm in the write call, but that should be the
> >>case anyway. I shouldn't be able to write to the file itself. One
> >>thing that could be a problem is that the xterm executable is not
> >>readable, only executable:
> >>
> >>bash-2.05b$ ls -l /usr/X11R6/bin/xterm
> >>-rws--x--x 1 root wheel 226568 Jan 10 09:19 /usr/X11R6/bin/xterm*
> >
> >
> > You're reading the strace wrong. Its not writing, it
> > is trying to open the file for read.
> >
> > The permissions don't allow read.
> >
> > As root run the following command:
> >
> > chmod a+r /usr/X11R6/bin/xterm
> >
> > Then you should be back in business.
> >
>
> Actually, this isn't the problem. The commandline he used makes bash
> try to interpret xterm as a shell script (which is why it was open()ing it.)
>
> A better example would be /usr/local/bin/bash -c /usr/X11R6/bin/xterm

That one opens the xterm ok.

I don't know if it makes any difference, but any other program I try
opening from the menu seems ok. So long as it doesn't need an xterm
to run. Any ideas?

Here's a sample of a problematic menu entry:
# Networking/Mail
AddToMenu "Mail" "Mail" Title
+ "&Netscape Messenger" Exec /usr/local/bin/netscape +messenger
+ "&Mutt" Exec /usr/X11R6/bin/xterm -tn xterm-color -T
"mutt" +sb -ls -fn 10x20 -geometry 125x47+1+1 -e mutt
+ "&Gbuffy" Exec /usr/X11R6/bin/gbuffy

Netscape and gbuffy start fine, but mutt won't. I even tried the
"Exec exec <command>" form, but no good.

Any other ideas? Where could that Abort Trap be coming from?

Lou
-- 
Louis LeBlanc               leblanc_at_keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ
Captain's Log, star date 21:34.5...
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Jan 11 2003 - 08:14:50 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST