On Friday 08 May 2015 08:15:57 Mark Wendt wrote: > On Fri, May 8, 2015 at 7:49 AM, Gene Heskett <ghesk...@wdtv.com> wrote: > > > Okay, the ssh logins are working correctly. Now we have a > > > Linuxcnc problem. Just to verify the ssh logins are working > > > correctly, can you bring up any other X applications, like gears, > > > or the eyes? > > > > xeyes and glxgears both work, albeit gears is a bit slow, 21 fps. > > Good. That may be network related, but with X, who knows? May even > be a framebuffer issue. > > > > Okay, this kinda goes back to the same error as above - the > > > "BACKGROUND ." It keeps trying to invoke the 'image" command on > > > something which doesn't exist. Here's one workaround I found: > > > > > > "Workaround: > > > > > > Create ~/.Xresources plain text file with content: > > > > > > *.background: gray75 > > > > > > then > > > $xrdb -load ~/.Xresources" > > > > > > > > > This may not set up the right color for the "BACKGROUND", but try > > > it to see if the errors go away. > > > > You da man. But I think I just found an error, a file that has not > > been included in my backups, bad dog, no biscuit. > > The startup gui to select the machine config now shows up, but then > > it dies. Trace: > > Found file:./my_LinuxCNC_machine2.hal > > ./my_LinuxCNC_machine2.hal:12: Can't find module 'boot' > > in /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc > > Shutting down and cleaning up LinuxCNC... > > Running HAL shutdown script > > LinuxCNC terminated with an error. You can find more information in > > the log: > > /home/gene/linuxcnc_debug.txt > > and > > /home/gene/linuxcnc_print.txt > > as well as in the output of the shell command 'dmesg' and in the > > terminal > > > > So it appears I will have to reinvent that module as I had used > > something Jon suggested, with the pulses lengthened and a 2 or 3 > > repeat loop added, its the powerup enable for his pwm driven servo > > amplifier, which I am using to drive the lathes spindle motor. > > > > I may have a copy of it on this machine, if I'd recognize it when I > > saw it. > > Normally that file is a user created file, however, some programs may > create that automagically in your home directory. Not sure if the > install of Linuxcnc does that or not. I'll have to check that on my > machine at home. > > > Humm, tried to run a sim/axis/lathe, it asked me to allow a copy to > > be made on my configs dir, I click yes, and the startup script baled > > out: > > > > gene@lathe:~$ linuxcnc > > LINUXCNC - 2.8.0-pre1-602-gfa8867a > > Error in startup script: error > > deleting "/home/gene/linuxcnc/nc_files/ngcgui_lib": directory not > > empty while executing > > "file delete $linkname" > > (procedure "prompt_copy" line 69) > > invoked from within > > "prompt_copy $::inifile" > > invoked from within > > "if [ok_to_copy_config $::inifile] { > > set copied_inifile [prompt_copy $::inifile] > > if {$copied_inifile == ""} { > > c..." > > ("while" body line 6) > > invoked from within > > "while {1} { > > focus $::tree > > vwait ::choice > > > > if { $::choice == "OK" } { > > if [ok_to_copy_config $::inifile] { > > set copied_in..." > > (file "/usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl" line 806) > > Wonder why it's trying to delete an existing directory, with files in > it? Since that's the case, rename the ncgui_lib directory to some > other name and see if it will run.
Not life & death. It should now Just Work once I get that boot module restored, and get 5i25.zip unpacked in the lib/firmware/hm2 tree. But first, hook up the caffeine IV. > > > So I'll go see if I can find a local copy of that missing boot > > module. I also need to move a copy of 5i25.zip to there but until I > > can make the nfs share mountpoint directory on this machine, thats > > not going to work. sftp to the rescue for that. > > > > My nfs shares are all mounted at /net/machinename, but for some > > reason I, nor sudo, cannot mkdir lathe, no permission. For all I > > know it could be this funkity drive. > > Nope, /net directories are controlled, I believe by autofs, and only > autofs can make or destroy directories there. That I did not know. Thanks. [...] > > Exactly what I expected. That will greatly facilitate making it all > > fly again. Now I better go & make us some starter fluid, aka > > coffee. Come to think of it, I had apt-get install the > > nfs-kernel-server about an hour ago, on that machine because I > > noticed it was missing from the /etc/init.d directory. Duh. Thats > > what I get for doing all this without any morning caffeine. The > > damned dots don't connect. :( > > I can empathize. I'm worthless till I hook up the caffeine IV. ;-) [...] :) > > And that session of synaptic just caused x to log: > > X Error: BadWindow (invalid Window parameter) 3 > > Major opcode: 19 > > Minor opcode: 0 > > Resource id: 0x440004d > > > > But the wondow looked normal. Sigh... > > I think that has something to do with a bad exit code from KDE/Gnome > etc. I've seen that message before. It's no big deal. Some places > have said that if you use shutdown from a terminal rather than either > an init 6 or init 0, or the shutdown menu item you may see that. You > can ignore that. > > Another place to look when troubleshooting X, is /var/log/Xorg.0.log. > That gets updated and rotated at the beginning of every X session. Sounds like what I have observed. Cheers Mark, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users