Try using a different GUI for tests (tkemc or mini).
Maybe there's no GLX extension on your remote X server

Regards,
Alex
----- Original Message ----- 
From: "gene heskett" <ghesk...@wdtv.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Saturday, February 26, 2011 2:45 AM
Subject: [Emc-users] ssh -Y -l gene shop, revisited.


> Greetings all;
>
> I have not been able to run emc by remote ssh login since I updated to 
> 10.4
> LTS and 2.4.6.
>
> When the DEBUG=0 in the .ini file is changed to a 1, the dmesg output is a
> lot more verbose.  Here is a snippet:
> ===========================================
> [358682.258663] I-pipe: Domain RTAI registered.
> [358682.258684] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
> [358682.258688] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu
> 4.4.3-4ubuntu5) .
> [358682.258698] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL
> IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
> [358682.258702] PIPELINE layers:
> [358682.258707] e1137e20 9ac15d93 RTAI 200
> [358682.258711] c085cb20 0 Linux 100
> [358682.300991] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
> [358682.301300] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI
> OWN KTASKs>, kstacks pool size = 524288 bytes.
> [358682.301308] RTAI[sched]: hard timer type/freq = APIC/16624370(Hz);
> default timing: periodic; linear timed lists.
> [358682.301314] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq =
> 1396526000 hz.
> [358682.301318] RTAI[sched]: timer setup = 999 ns, resched latency = 2943
> ns.
> [358682.301523] RTAI[usi]: enabled.
> [358682.466798] RTAI[math]: loaded.
> [358682.594503] config string '0x378 out  '
> [358686.370549] RTAI[math]: unloaded.
> [358686.493961] SCHED releases registered named ALIEN RTGLBH
> [358686.510772] RTAI[malloc]: unloaded.
> [358686.608026] RTAI[sched]: unloaded (forced hard/soft/hard transitions:
> traps 0, syscalls 0).
> [358686.616970] I-pipe: Domain RTAI unregistered.
> [358686.616987] RTAI[hal]: unmounted.
> =================================
>
> But still no real clue.
> The recommended reading material from the failure message:
> ================================
> gene@shop:~/emc2/configs/genes-mill$ cat  /home/gene/emc_debug.txt
> 7219
>  PID TTY      STAT   TIME COMMAND
> 7265
>  PID TTY      STAT   TIME COMMAND
> Stopping realtime threads
> Unloading hal components
> ==================================
>
> Not terribly informative, then from emc_print.txt
> ==========================
> gene@shop:~/emc2/configs/genes-mill$ cat  /home/gene/emc_print.txt
> RUN_IN_PLACE=no
> EMC2_DIR=
> EMC2_BIN_DIR=/usr/bin
> EMC2_TCL_DIR=/usr/share/emc/tcl
> EMC2_SCRIPT_DIR=
> EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
> EMC2_CONFIG_DIR=
> EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
> INIVAR=inivar
> HALCMD=halcmd
> EMC2_EMCSH=/usr/bin/wish8.5
> Using previous inifile: /home/gene/emc2/configs/genes-mill/genes-mill.ini
> INIFILE=/home/gene/emc2/configs/genes-mill/genes-mill.ini
> PARAMETER_FILE=emc.var
> EMCMOT=motmod
> EMCIO=io
> TASK=milltask
> HALUI=
> DISPLAY=axis
> NML_FILE=
> Starting EMC2 server program: emcsvr
> Loading Real Time OS, RTAPI, and HAL_LIB modules
> Starting EMC2 IO program: io
> Starting EMC2 TASK program: milltask
> Starting EMC2 DISPLAY program: axis
> Killing task emcsvr, PID=7219
> Killing task milltask, PID=7265
> Removing HAL_LIB, RTAPI, and Real Time OS modules
> Removing NML shared memory segments
> =============================
> equally informative, not.
>
> I see the splash image, and the little tool changer window is drawn, but
> axis itself seems incapable of dealing with a non-localhost .0 X.
>
> To what value do I set DEBUG to, to get something that offers a clue?
>
>
> -- 
> Cheers, Gene
> "There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> <http://tinyurl.com/ddg5bz>
> Eureka!
> -- Archimedes
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT 
> data
> generated by your applications, servers and devices whether physical, 
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to