On 10/21/2013 7:31 AM, alan wrote:
> Hi,
> I followed MachineKit instructions and successfully booted and run as 
> BeBoPr-Bridge machine using command ssh -X linuxcnc@192.168.1.45 
> (Talking to BBB connected to network via cat5 cable not usb ). At this 
> point BBB was not plugged into BeBoPr. When plugged into BeBoPr+ using 
> same ssh commands as above   linux cnc fails to run, I get
> 
> Machine configuration directory is 
> '/home/linuxcnc/linuxcnc/configs/ARM/BeagleBone/BeBoPr-Bridge'
> Machine configuration file is 'BeBoPr-Bridge.ini'
> Starting LinuxCNC...
> io started
> halcmd loadusr io started
> Loading BB-LCNC-BEBOPRBR overlay
> X11 connection rejected because of wrong authentication.
> bash: line 0: echo: write error: File exists
> Error loading device tree overlay file: BB-LCNC-BEBOPRBR
> BeBoPr-Bridge.hal:10: program 
> '/home/linuxcnc/linuxcnc/configs/ARM/BeagleBone/BeBoPr-Bridge/setup.bridge.sh'
>  
> failed, returned 1
> Shutting down and cleaning up LinuxCNC...
> 
> Also looking at dmesg I can see a problem
> *** bone-capemgr bone_capemgr.8: slot #9: Failed verification ***
> 
> but do not know what it means can someone please help. So not sure why I 
> am getting X11 connection rejection or failed verification and which or 
> both is the problem.

I suspect your problem is a previously loaded overlay.  The X11
connection rejected message is due to some parts of the overlay loading
code running via sudo, which can't access the display you have forwarded
as via ssh as the LinuxCNC user.

The fact that the overlay is failing to load is due to a resource
conflict which is probably due to the fact that some other conflicting
overlay was loaded first (did you experiment with loading a few
different configurations, or have you only tried the one?).

There is currently no way to safely unload an overlay, so at this point,
I suggest rebooting and trying again.  After you reboot, and before
trying to run LinuxCNC, try to run xterm to double-check your display
forwarding is setup properly.  If you get any errors running xterm, get
that sorted out before trying to run LinuxCNC.

-- 
Charles Steinkuehler
char...@steinkuehler.net

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to