Howto export/import X

Gene Heskett gene.heskett at verizon.net
Sat Dec 17 10:11:09 PST 2005


On Friday 16 December 2005 19:15, Gene Heskett wrote:
>Greetings all;
>
>I have an older FC2 install here, with a somewhat out of date ssh
>installed.
>
>I have an install of bdi-4.30, debian sarge based, with a slighlty
>newer ssh on it, but the X is XFree86, 4.3-something.
>
>How can I get these two boxes to accept each other X so I can sit
> here in comfort and run that box in the shop, which is at an ambient
> temp of maybe 20F?
>
>This ssh upchucks on the -Y option, and the other one apparently
>doesn't like the -X option, or this X is refuseing the connection,
> the actual error message I see from the other end.  From here,
> logged in with the -X option, an attempt to run an x based app exits
> quickly with this error:
>------------
>gene at shop:~/emc2$ sudo scripts/emc.run
>Starting emc...
>Application initialization failed: no display name and no $DISPLAY
>environment variable
>bad image file /home/gene/emc2/emc2.gif
>Version:  1.39
>Machine:  EMC-HAL
>iniFind is depreciated
>Version:  1.39
>Machine:  EMC-HAL
>sizeof(emcmot_struct_t) (total shmem): 167436
>sizeof(emcmot_command_t):      236
>sizeof(emcmot_status_t):       984
>sizeof(emcmot_debug_t):        157940
>sizeof(emcmot_config_t):       52
>sizeof(emcmot_error_t):        8212
>sizeof(emcmot_joint_t):        6584
>sizeof(emcmot_joint_status_t): 84
>sizeof(CUBIC_STRUCT):          136
>sizeof(emcmot_comp_t):         6164
>emcTaskInit: adding user-defined function ../nc_files/M101
>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 configs/TkEmc
> /usr/X11R6/lib/X11/app-defaults/TkEmc} {
>    if {[file exists $f]} {
>        option readfile $f startupFile
>        bre..."
>    (file "/home/gene/emc2/tcl/tkemc.tcl" line 53)
>Shutting down and cleaning up EMC...
>Cleanup done
>gene at shop:~/emc2$
>--------------
>
>Is there any help for this?

I found it, the box that was supposed to be doing the forwarding had 
the setting 'X11Forwarding no' in its /etc/ssh/sshd_config file.  
Reset to yes & restarted ssh, and its all working.

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should use this
address: <gene.heskett at verizononline.net> which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.



More information about the xorg mailing list