X11 forwarding, redhat9, secure crt
Hey there,
Basically I've got a redhat 9 machine ip 192.168.1.102, my machine 192.168.1.101. Im using secure CRT and have checked the "Enable X11 forwarding" box. I went through all of the threads here and did a search on how to enable x11 forwarding on redhat 9, i went into sshd_conf and changed those three options to yes and also did the same thing in ssh_config. When I login, everything goes swell, but when you type: [strago@localhost strago]$ emacs x Connection lost to X server `localhost:10.0' [strago@localhost strago]$ Thats the error I get, any ideas? Thanks. |
Are you using windows to connect?
|
yes
|
I never did that, but when you connect 2 linux boxes with X11 forwarding you:
$ssh -C program_name I suspect however it may be your net set up on the linux box (just a hunch) from the command line type: $cat /etc/hosts #you should see something like: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 192.168.1.1 erika.natelan.net erika 192.168.1.2 debbie.natelan.net debbie 192.168.1.3 delia.natelan.net delia 192.168.1.4 redbox4.natelan.net redbox4 post results. |
(I am Linux newbie... or almost)
I have the same problem using SSH from windows XP (ssh version 3.2.9) to a redhat 9.0 Linux PC (openssh 3.5)... Once connected through ssh, I type : cat /etc/hosts and I get only : # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost (I checked that X11 forwarding is OK in sshd_config and in my ssh software on windows) Has someone any idea ? Thanks Nicolas |
try:
$ssh -X $hostname and then: $what_ever_program_you_want_to_run |
All times are GMT -5. The time now is 07:28 PM. |