LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-23-2003, 06:42 PM   #1
strago
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Rep: Reputation: 0
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.
 
Old 09-23-2003, 07:09 PM   #2
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Are you using windows to connect?
 
Old 09-23-2003, 07:22 PM   #3
strago
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Original Poster
Rep: Reputation: 0
yes
 
Old 09-24-2003, 05:01 AM   #4
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
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.
 
Old 03-06-2004, 03:38 PM   #5
celicolas
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
(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
 
Old 03-06-2004, 04:09 PM   #6
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
try:

$ssh -X $hostname

and then:

$what_ever_program_you_want_to_run
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How secure is Redhat9 defa0009 Red Hat 33 05-26-2005 12:01 PM
X11 forwarding paul_mat Linux - Newbie 3 12-12-2004 06:30 PM
X11 forwarding JanDeMan Mandriva 1 04-17-2004 09:02 PM
Need Help with X11 forwarding phatboyz Linux - General 3 04-16-2004 03:17 PM
secure crt help Zac2003 Linux - Software 5 02-22-2003 02:25 PM


All times are GMT -5. The time now is 12:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration