Re: X11Forwarding problems.

From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 07/11/04


Date: 11 Jul 2004 18:18:47 GMT

Nuno Paquete <nmp@ispgaya.pt> writes:

]Hi group.
]I've seen a post thathis group that talks about X11Forwarding but it
]couldn't help me, so I hope that you could help me.
]I've got 2 Slackware boxes, one is connected to Internet and is my real
]server (SSH, DHCP, Samba, Firewall, etc). The other is running on my
]notebook, from where I want to open an X11 connection to the server.
]I know that I have to configure /etc/ssh/sshd_config to give support to
]that.
]My sshd_config file has got this lines:

I hope that is in the sshd_config file on the remote machine. (ie the
server)
Note also

]AllowTcpForwarding yes
]X11Forwarding yes

You do not need the next two.

]X11DisplayOffset 10
]X11UseLocalhost yes

]The i make this:

This sentence is not understandable.

]ssh -X ns

Why? Just ssh into the box. X11 forwarding will take place without you
doing anything.
(make sure you put
Host *
  ForwardX11 yes
into /etc/ssh/ssh_config
)

]nuno@ns:~$X

What is this?

]It seems that it starts connecting (I can see the screen of my server
]changing) but it freezes with this messages at the command line:

What does :I can see the screen of my server changing" mean. ssh into the
machine should do nothing to the screen of the server.
"it freezes"-- what the server freezes? What does it refer to? What command
line on which system?

]XFree86 Version 4.3.0
]Release Date: 27 February 2003
]X Protocol Version 11, Revision 0, Release 6.6
]Build Operating System: Linux 2.4.24 i686 [ELF]
]Build Date: 11 February 2004
] Before reporting problems, check http://www.XFree86.Org/
] to make sure that you have the latest version.
]Module Loader present
]Markers: (--) probed, (**) from config file, (==) default setting,
] (++) from command line, (!!) notice, (II) informational,
] (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
](==) Log file: "/var/log/XFree86.0.log", Time: Sun Jul 11 12:06:24 2004
](==) Using config file: "/etc/X11/XF86Config"

This looks like X trying to start up. Is that what youwant? I sort of
doubt it.

a)Make sure you are connecting tot he remote system from an X running on
your system. You do not want the remote machine running a complete X on
your system. You just want X programs on the remote to display on the X
display on your system.Ie you want X running already on your system
(laptop=your system)

]Can anyone help me?

]Thanks in advance,

]Nuno Paquete



Relevant Pages

  • Re: OpenSSH MacOSX bug? (invalid name was supplied)
    ... I've had some luck downgrading to ssh version 1 (i.e. use ... connecting to either debian or Ubuntu OpenSSH server... ... Server Version: ... hosts, but any hosts on my local LAN ...
    (SSH)
  • Re: Route question
    ... > route and go to 192.168.0.1 get natd and exit outside; ... They are discarded by the remote machine you are ... connecting to as their source IP address doesn't match any active ... ssh to .10, and then from there ssh to .3. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Q: paramiko/SSH/ how to get a remote host_key
    ... I am connecting from a WindowsXP SP2 machine. ... SSH client, if you connect for the first time then you get somethign ... host_key the first time it connects to a remote SSH server. ...
    (comp.lang.python)
  • Re: sshd broke after I change IP subnet address on server
    ... I was connecting ... >> with ssh until I changed the address to a different subnet. ... >> and the server on a switch with both configured on same subnet. ...
    (comp.os.linux.setup)
  • dsa and rsa key changed?
    ... I have openssh 3.1 installed on a redhat server. ... It is connecting with rsa host key of the server. ... the warning I did not accept it and I did not logon. ... ssh files. ...
    (comp.security.ssh)