LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-05-2007, 12:39 PM   #1
Sreeram B S
LQ Newbie
 
Registered: Apr 2006
Posts: 26

Rep: Reputation: 0
xterm xt: cant open display - Error - Request solution


Hi friends,
I have two computers at home. On one, I have installed Solaris 9 for X86 and on the other I have RedHat 9 Linux. I have networked them and so I can telnet from one machine to other.
However, I have one major issue. When I telnet from Solaris machine to linux box and issue the command 'xterm', I get an error 'xterm xt: Cannot open display'. But I dont get this problem when I do SSH. Also, this problem is not seen when I telnet from linux to Solaris and issue 'xterm'. How do I solve this issue? How do I get the 'xterm' to be displayed on the solaris box, when I telnet from Solaris to Linux and issue the command 'xterm'.
From the net, I found that if the environment variable DISPLAY is not set properly, this could cause the problem. But, I have made sure that I have set my DISPLAY variable properly. I have set the DISPLAY to address of solaris box (followed by 0:0).

Since, I have to use 'telnet' for various reasons, I am eager to know the solution to this problem.

Thanks in advance.
Regards,
Sreeram
 
Old 05-05-2007, 12:45 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
nothing to do with networking. moved to linux - Newbie.

btw. check out xhost
 
Old 05-05-2007, 02:46 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I'm not sure you can forward X serssions over telnet. Try using ssh with the -X options. It should set all the $DISPLAY stuff up automatically.
 
Old 05-05-2007, 03:27 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the remote session protocol doesn't actually matter here, as long as the DISPLAY variable is set, that's where the x client will try to connect.
 
  


Reply



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
[SOLVED] Error: can't open display. swdiaz Linux - General 3 02-03-2014 05:58 AM
Error : Clearprojexp: Can't Open Display new_to_open_ssl Linux - Networking 1 10-20-2006 08:49 AM
Error: can't open display gopalkasat Linux - Networking 8 12-13-2004 01:59 PM
Xterm Error Not Able To Display ujnam Linux - Software 2 11-01-2004 06:50 AM
Could not open display error reyemarr Linux - General 14 12-06-2003 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:06 PM.

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
Open Source Consulting | Domain Registration