On Thursday 07 May 2015 15:54:49 Mark Wendt wrote: > On Thu, May 7, 2015 at 2:01 PM, Gene Heskett <ghesk...@wdtv.com> wrote: > > On Thursday 07 May 2015 12:16:44 Jon Elson wrote: > > > On 05/07/2015 02:20 AM, Gene Heskett wrote: > > > > I have been able to export the x session to this box forever, > > > > and it has worked nominally well, till now. > > > > > > > > But this machine now has debian 7.8 (wheezy) on it, and the > > > > lathe just got its drive reformatted and has the > > > > binary-hybrid.iso installed on it. > > > > > > Much easier than trying LinuxCNC, use xclock. It will work, > > > or not, hopefully give an error message, and only takes a > > > second or so. If xclock brings up your analog clock dial, > > > then most of the X support is going to work. The one other > > > thing that is required is some kind of 3D rendering support, > > > if you are going to use Axis. > > > > > > If xclock does NOT work, then your X server is rejecting the > > > connection request from the LinuxCNC system. This is > > > STANDARD behavior! > > > > > > Here's a quote from my bag of tricks file: > > > to allow remote systems to use your X screen > > > 1. get your cookie with : > > > xauth > > > list > > > > And get this: > > xauth> list > > coyote.coyote.den:0 MIT-MAGIC-COOKIE-1 > > e7b9e1a766fdb4aa1d23f7ad305baf17 [fe80::21f:c6ff:fe62:fcbb]:0 > > MIT-MAGIC-COOKIE-1 > > e7b9e1a766fdb4aa1d23f7ad305baf17 > > coyote/unix:0 MIT-MAGIC-COOKIE-1 e7b9e1a766fdb4aa1d23f7ad305baf17 > > > > > 2. copy the line with mouse > > > > which line, or the whole thing? > > > > > 3. on remote connection, do > > > xauth > > > > "list" on lathe is totally differently formatted > > xauth> list > > lathe/unix:0 MIT-MAGIC-COOKIE-1 384f881f7983355c1b2b3fe7dc8e8925 > > lathe/unix:11 MIT-MAGIC-COOKIE-1 2da267aca6bea446de8cc445ed10474c > > lathe/unix:10 MIT-MAGIC-COOKIE-1 aa5cf4dbb7194605bdfc87a386f3c9f6 > > lathe/unix:12 MIT-MAGIC-COOKIE-1 9a6c36c2e37d080cf74e7bb9f47142de > > > > Which looks more sensible than the first paste from coyote above. > > > > Directions plz? > > > > > add <paste mouse line here> > > > exit > > > and it should now allow the remote > > > system to connect to the X screen > > > > > > It seems like there was some other option that needed to be > > > hacked in the X config file on some systems. > > > See > > > http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wr > > >ong- authentication/ for some more things to check. The last item > > > there is the > > > one I was thinking of. > > > > Thanks, Jon > > > > Humm, the last test item is running xeyes, and while it does report > > the FOREGROUND and BACKGROUND colors are undefined, it works and > > they are following the mouse as it moves. What does that tell us? > > > > Cheers, Gene Heskett > > On your first xauth on coyote, it looks like an IPv6 magic cookie. Do > you have IPv6 enabled? This here: [fe80::21f:c6ff:fe62:fcbb]:0 looks > suspiciously like some kind of local IPv6 address. Try disabling IPv6 > on coyote. Ssh will automagically try to make it's connection on IPv6 > and if it's not available, can either sit there till it times out, or > cause other problems.
Where would I tell it to skip the IPV6 stuffs? AFAIK, there are no ipv6 things enabled, and my little 8 port switch does not to my knowledge even know what ipv6 is. And ALL paths go thru that switch. > > You might try connecting with this string: #ssh -4 -Y <machine? -vvv > > the -4 tells ssh to skip the IPv6 attempt and go right to an IPv4 > connection. > > Mark I just moved my known_hosts to known_hosts.old, then reaccepted the keys from both machines. Still no luck. Logging into lathe and running linuxcnc returns: gene@coyote:~$ ssh -4 -Y lathe The authenticity of host 'lathe (192.168.71.5)' can't be established. RSA key fingerprint is 1a:75:8f:b3:aa:d7:83:bd:7a:5e:d3:dc:82:76:9c:4f. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'lathe,192.168.71.5' (RSA) to the list of known hosts. gene@lathe's password: Linux lathe 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu May 7 19:49:19 2015 from coyote.coyote.den gene@lathe:~$ linuxcnc LINUXCNC - 2.8.0-pre1-602-gfa8867a Application initialization failed: unknown color name "BACKGROUND" Error in startup script: can't invoke "image" command: application has been destroyed while executing "image create photo -file $f/$i.gif" invoked from within "if [file exists $f/$i.gif] { return [image create photo -file $f/$i.gif] }" (procedure "linuxcnc::image_search" line 7) invoked from within "linuxcnc::image_search linuxcnc-wizard" invoked from within "set logo [linuxcnc::image_search linuxcnc-wizard]" (file "/usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl" line 31) Application initialization failed: unknown color name "BACKGROUND" Into shop, I get this: gene@coyote:~$ ssh -4 -Y shop The authenticity of host 'shop (192.168.71.4)' can't be established. RSA key fingerprint is 7a:b4:de:b0:7f:fa:73:24:83:7f:9f:cd:19:56:65:8a. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'shop,192.168.71.4' (RSA) to the list of known hosts. gene@shop's password: Linux shop 2.6.32-122-rtai #rtai SMP Tue Jul 27 12:44:07 CDT 2010 i686 GNU/Linux Ubuntu 10.04.4 LTS Welcome to Ubuntu! * Documentation: https://help.ubuntu.com/ New release 'precise' available. Run 'do-release-upgrade' to upgrade to it. Last login: Mon May 4 10:44:12 2015 from coyote.coyote.den gene@shop:~$ linuxcnc -l LINUXCNC - 2.6.7 Machine configuration directory is '/home/gene/linuxcnc/configs/my-mill-atom-3' Machine configuration file is 'my-mill-atom-3.ini' Starting LinuxCNC... Traceback (most recent call last): File "/usr/bin/hal_manualtoolchange", line 62, in <module> app = Tkinter.Tk(className="AxisToolChanger") File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1646, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: unknown color name "BACKGROUND" Traceback (most recent call last): File "/usr/bin/axis", line 121, in <module> root_window = Tkinter.Tk(className="Axis") File "/usr/bin/axis", line 44, in __init__ OldTk.__init__(self, *args, **kw) File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1646, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: unknown color name "BACKGROUND" Shutting down and cleaning up LinuxCNC... Traceback (most recent call last): File "/usr/bin/axis-remote", line 78, in <module> t = Tkinter.Tk(); t.wm_withdraw() File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1646, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: unknown color name "BACKGROUND" Application initialization failed: unknown color name "BACKGROUND" 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 None of which looks at all informative. However, the known_hosts file pair are exactly the same size. It looks like, for a login and key add for 2 machines, that there is 4 keys in the file. Here it is, inserted. |1|GesgymNrVptNhd9I7FZF1DtyCXI=|vT4ewJ46e7PYJvauxC7pAK5FEuQ= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0gkwN9zJrZTj9eHuZ30sGNJ9Ji7IWeFyrHb0aSip+6NeLt2eA9BqXZLSORD2T1QOHFTZfA68v4R5Dq+4sOz8HW870RWoWyi/ZFvJGzw3Wa6aGUMDBV1Z/TDZtlORXZzfO3YAAuh4xrJYk1uvrK3Tl38l4/iNNOk/ilCskC1hyu9JwFvoWVSiuSsUrR7HgMuBOdkKsO5geJWFxJyJYo4B4NlsrJCFFMuYFYF2resaadFzemWacFgm+Wl+aArnh/GNPlSeO5nhzyshK4/CTtj4xSzV+xbl7/wJBNSBvC6X8cS/jWjH+o2Do3GAwhkn0jDWYHCX9PSk+BYUR5duDJFVMQ== |1|oQwFx4aXj2yy6BBb+0A8Z4LBC6k=|4J8gJ/e2E4tsi5KXn2I8Ocxc90E= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0gkwN9zJrZTj9eHuZ30sGNJ9Ji7IWeFyrHb0aSip+6NeLt2eA9BqXZLSORD2T1QOHFTZfA68v4R5Dq+4sOz8HW870RWoWyi/ZFvJGzw3Wa6aGUMDBV1Z/TDZtlORXZzfO3YAAuh4xrJYk1uvrK3Tl38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parently not a heck of a lot. Cheers, 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