CAD CAM EDM DRO - Yahoo Group Archive

Re: Re: EMC Linux newby needs help

Posted by rehenry
on 2002-03-03 15:55:02 UTC
Ed

IMHO -- Starting and running a terminal as su is not the same as logging
in as root. Are you running this terminal within the x-windows system?
Does your ini have lines like

; Introductory graphic
INTRO_GRAPHIC = emc.gif
INTRO_TIME = 5

about line 55?

>    From: Ed Fanta <atex57@...>
<bas>
> Still no luck getting it going but here is a copy of what happens,along
> with my path. This is almost as much fun as learning CPM with no
> manuals. 8-)    Ed.

Tried that once!

> [ed@localhost ed]$ su -
> Password:

These indicate that you are trying to run as su from a user rather than
root.

> [root@localhost /root]# cd /usr/local/emc
> [root@localhost emc]# ./emc.run
> Current platform is linux_2_2_18
> Current real-time platform is rtlinux_3_0
> inivar = plat/linux_2_2_18/bin/inivar
> INIFILE = emc.ini
> starting emc...
> Application initialization failed: no display name and no $DISPLAY
> environment variable
> bad image file emc.gif

This indicates that it is trying to start up but can't seem to find some
stuff in the ini file.

> starting EMC MOTION PROGRAM -- steppermod.o...done
> starting EMC IO PROGRAM --  minimillio...done
> simDioInit(emc.ini)
> starting EMC TASK PROGRAM -- minimilltask...done
> running EMC DISPLAY PROGRAM -- tkemc...
> Application initialization failed: no display name and no $DISPLAY
> environment variable
> Error in startup script: invalid command name "option"
>     while executing
> "option readfile $f startupFile"
>     ("foreach" body line 3)
>     invoked from within
> "foreach f {TkEmc /usr/X11R6/lib/X11/app-defaults/TkEmc} {
>     if {[file exists $f]} {
>         option readfile $f startupFile
>         break
>     }
> }"

This shouldn't be a problem because it has those defaults in a local file
named TkEmc as well as in the location shown.

HTH

Ray

Discussion Thread

Ed Fanta 2002-02-18 13:45:03 UTC EMC Linux newby needs help Paul 2002-02-18 14:22:34 UTC Re: [CAD_CAM_EDM_DRO] EMC Linux newby needs help Bill Vance 2002-02-18 20:19:09 UTC Re: [CAD_CAM_EDM_DRO] EMC Linux newby needs help Ed Fanta 2002-02-19 20:09:20 UTC Re: [CAD_CAM_EDM_DRO] EMC Linux newby needs help Ed Fanta 2002-02-19 20:14:08 UTC Re: [CAD_CAM_EDM_DRO] EMC Linux newby needs help Ed Fanta 2002-03-02 20:48:27 UTC Re: [CAD_CAM_EDM_DRO] EMC Linux newby needs help Bill Vance 2002-03-02 22:19:03 UTC Re: [CAD_CAM_EDM_DRO] EMC Linux newby needs help Jon Elson 2002-03-02 23:35:53 UTC Re: [CAD_CAM_EDM_DRO] EMC Linux newby needs help rehenry 2002-03-03 15:55:02 UTC Re: Re: EMC Linux newby needs help Jon Elson 2002-03-03 17:54:45 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: EMC Linux newby needs help