LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2009, 05:18 PM   #1
BPaul
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
Wink Replacing NCD terminal with SuSE 10 to contact AIX host.


Hello all,

First thread and new user. As the subject points to, am currently replacing NCD X terminal with a SuSE 10 linux system to contact an AIX 4.3 server that is running the program. I am sure this has been done many times with many different flavors of linux and I have done some searching but found no definitive answers on the correct setup for the SuSE linux box as an Xterminal, nothing more than a display for I/O. If another thread exists please let me know. Both systems, the AIX and SuSE have xdm installed, and both machines are connected through the integrated ethernet cards and both can be pinged from each other with no problem. The set-up to turn the SuSE into an X terminal that I have is vague. Since the NCD contacted the AIX server for its bootfile, the IP address of the NCD and AIX server was set on the NCD, as well as the location of the bootfile located on the AIX system, I thought the setup would be straight forward. I have configured the SuSE box to have the old NCD IP address, but when configuring the xdm on the SuSE box what should be the entry for the RX_RHOST parameter, the AIX IP address? And should the runlevel of the SuSE box be runlevel 2? Thanks in advance for the time and efforts.

Later,
Paul
 
Old 03-27-2009, 12:00 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Boot the SuSE host to runlevel 5. The X server will come up. Use a terminal emulator (such as Terminal or Konsole for Gnome or KDE respectively) to get a bash shell. Use
Code:
ssh -X ip_addr_of_AIX_host
to attach to the AIX host, just as if you were connecting from the NCD terminal.

--- rod.

Last edited by theNbomr; 03-27-2009 at 11:04 AM.
 
Old 04-03-2009, 01:04 PM   #3
BPaul
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Smile

Thanks for the reply. The AIX host does not have ssh package installed. After further investigation it turns out that the problem was with the display environment variable, and the SuSE not listening to port 6000. I set the correct display IP and the SuSE to listen on port 6000, now they communicate. However I am still unable to display the program properly. I start the program on the AIX, a new window is opened by root on the SuSE, but the display is black, nothing visible. When I stop the program on the AIX, the window opened by root on the SuSE goes away, so I am confident that they are communicating properly. I will now look into the video card/driver to see if that is the problem. If anyone else has any other input I welcome it. Thanks again for the help and efforts.

Later,
Paul
 
Old 04-03-2009, 02:19 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Do X applications run properly on the local desktop ? If so, I don't think you should attribute the fault to the local video driver. It is possible that the X server is not providing the necessary visual modes that the X client is requesting (I think that's the right jargonology; I always get a bit lost when it comes to sorting out those issues).

I assume you must be making your connection to the remote AIX host using telnet, then? You should be aware of the inherent security risks associated with this practice. That is why, as you found out, X servers by default do not accept connections from the network these days. If you use an SSH connection, you can relieve yourself from configuring the X server to accept network connections, by using SSH to tunnel the X traffic back to your local X server. You don't need to fuss with $DISPLAY, because the X tunnel set this up for you, and you get the benefit of encryption on the wire. Strongly recommend this method.

If there is a local X console on the AIX host, do X application run properly there? When you log into the AIX host, and have the proper arrangements that X traffic requires, you can run xdpyinfo. It will query the X server, and report all sorts of information. You may be able to detect something useful, or if not, post the results here (in [CODE] tags please), and some here may be able to make sense of it.

--- rod.

Last edited by theNbomr; 04-03-2009 at 02:21 PM.
 
  


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
Replacing AIX on a Power 3 system. wacrider AIX 2 12-17-2008 09:41 AM
remote terminal server....replacing windows at office mcompton1973 Linux - Software 3 11-01-2006 03:54 PM
Terminal Problems Gentoo Linux to AIX on rs6000 fangorn AIX 2 05-09-2005 01:34 AM
replacing dumb terminal with a PC dial911s AIX 3 06-23-2004 04:48 PM
ncd terminal - tftp - help me caged Linux - Hardware 0 04-25-2004 08:27 AM


All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration