LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-05-2002, 05:11 PM   #1
tracey
LQ Newbie
 
Registered: Feb 2002
Distribution: RedHat 7.2
Posts: 14

Rep: Reputation: 0
Connecting to remote server


Hi there -

I'm unable to display programs from any remote server, despite doing all the obvious (to me) steps...

I'm setting "xhost +" on my local machine (and tried specifying the remote server by name... neither works)

I telnet to the remote machine (necessary because of a firewall), and on the remote machine, I type "setenv <my IP>:0.0" (I've run remote programs on this same server from other machines... so this should work)

However, when I try to run a graphical display program on the remote server I get Error: Can't open display: <my IP>:0.0

To check that my IP is correct, I used ping to another server, which confirms that data is indeed being sent from <my IP>. As a test, I tried displaying programs from other remote servers, and all them exhibit the same error.

My linux system is fairly new... any ideas?? Thank you!
 
Old 08-11-2003, 07:41 AM   #2
arobic
Member
 
Registered: Jul 2003
Location: Geneva, Switzerland
Distribution: Debian 3.1, SLC3 (based on RHEL)
Posts: 84

Rep: Reputation: 15
Re: Connecting to remote server

Quote:
Originally posted by tracey

I telnet to the remote machine (necessary because of a firewall), and on the remote machine, I type "setenv <my IP>:0.0" (I've run remote programs on this same server from other machines... so this should work)

However, when I try to run a graphical display program on the remote server I get Error: Can't open display: <my IP>:0.0
Maybe you just forgot to write, but just in case, I will mention it!

Setenv must be used to set a variable! Here, you didn't type the variable you want to set. So you must do
"setenv DISPLAY <yourIP>:0.0"

As a test, type
"echo $DISPLAY"
when you are logged to this machine and you will see to which hostname
the display is set. If the output corresponds to your IP, well it should work! If not, then set it using setenv (see above).


Otherwise, I don't know why it doesn't work! I am still a newbie also!

Cheers!

Andree
 
  


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
connecting to a remote unix/linux server arunsri Linux - General 1 03-08-2005 09:01 PM
Connecting to a remote server Mossaiby Linux - Networking 5 07-30-2004 03:38 PM
connecting to remote MySQL server acos7 Linux - Software 2 01-30-2004 11:37 PM
Connecting Mysql Database on remote server akamol Programming 4 10-16-2003 11:46 AM
Problems with connecting to a Remote CUPS Server Techweenie1 Linux - Newbie 6 04-28-2003 08:43 AM


All times are GMT -5. The time now is 01:14 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