ssh X11 forwarding problem

From: Sayantan Sur (surs.deltethis_at_cis.ohio-state.edu)
Date: 11/19/03


Date: Wed, 19 Nov 2003 12:33:06 -0500

Hi,
        I installed RH 9 on two of my boxes. I am getting a weird problem w.r.t
forwarding X over :-( To make matters worse, there are only certain
applications which fail to launch (most X applications like xterm, xclock,
gedit, konsole, xemacs launch successfully). Here is a sample of what fails
:

[surs@c11:ssh] infiniburn
_X11TransSocketINETConnect: Can't get address for localhost
infiniburn: cannot connect to X server localhost:11.0

        Peeking into /etc/ssh/sshd_config, I can see that X11 forwarding has been
set to "yes".

[surs@c11:ssh] sudo cat sshd_config | grep X11
#X11Forwarding no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes

        /etc/hosts also seems to have the correct entry for loopback ....

[surs@c11:ssh] head -n 3 /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.5 nowlab.cis.ohio-state.edu nowlab

        The $DISPLAY variable also seems to be set correctly...

[surs@c11:ssh] echo $DISPLAY
localhost:11.0
        
        I should also add that ssh -X c11 also gives the same problem. This
application which fails X11 launch "infiniburn" is a proprietary program,
and I do not know what it uses internally, but it launches correctly over
older RH 7.3 machines with the similar settings.

Thanks,
Sayantan.

-- 
Sayantan Sur,
Graduate Research Assistant


Relevant Pages

  • Re: What is the maximal length of usernames on Solaris?
    ... Take your favorite windows machine, ... Let's say it fails ... several times to launch the application. ... Consulting Minister for Consultants, DNRC ...
    (comp.sys.sun.admin)
  • Zero-Deployment issue: winform app cannot read the .config file
    ... I have a trivial winform application that I try to launch from web browser. ... It appears that it fails to execute the following code: ...
    (microsoft.public.dotnet.framework.windowsforms)
  • New hard drive, Office not working right.
    ... everytime I launch it. ... It tells me to run setup/repair, but this fails each ... Prev by Date: ...
    (microsoft.public.office.misc)
  • Cant open IE; App tries to launch itself
    ... As soon as I boot up the computer, ... launch itself, but fails each time. ... error message which reads "1GBf7.exe has generated ... Now I can't launch IE at all. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: /sigh/ Latops in a domain...
    ... If you want to launch two applications before the logon screen appears, ... applications and make the batch file as Startup scripts. ... >> You may add all laptop users to a Group in AD, ...
    (microsoft.public.windowsxp.configuration_manage)