LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-22-2003, 11:39 AM   #1
chris.hicks
Member
 
Registered: Sep 2003
Location: Newcastle upon Tyne
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
XView error: can't open connection to window server:


I'm a newbie to Linux, but have worked with Solaris for a long time. I'm running RH9. I am wanting to run programs from a Sun server and display the graphics on my RH9 as client.

From the RH9 box I have run:
xhost +<server name>
then connected onto the server using ssh
then set the environment variable:
setenv DISPLAY <client machine>:0.0

This works fine with Cygwin or a Solaris box, but I when I try to connect with the RH9 client I get:
<Server >[sparc] 2% /usr/openwin/bin/textedit fred &
[1] 5869
<Server> [sparc] 3% XView error: Cannot open connection to window server: <Client>:0.0 (Server package)

(I have substituted <Server> and <client> for the actual machine names.

Any help would be gratefully received.

Many thanks,
Chris
 
Old 09-23-2003, 03:47 AM   #2
chris.hicks
Member
 
Registered: Sep 2003
Location: Newcastle upon Tyne
Distribution: Red Hat 9
Posts: 42

Original Poster
Rep: Reputation: 15
I realise that I have confused my servers and clients. My message should have read:

I am wanting to run programs from a Sun client and display the graphics on my RH9 as server.

From the RH9 box I have run:
xhost +<client name>
then connected onto the client using ssh
then set the environment variable:
setenv DISPLAY <server machine>:0.0

This works fine with Cygwin or a Solaris box, but I when I try to connect with the RH9 client I get:
<Client>[sparc] 2% /usr/openwin/bin/textedit fred &
[1] 5869
<Client> [sparc] 3% XView error: Cannot open connection to window server: <Server>:0.0 (Server package)

(I have substituted <Server> and <client> for the actual machine names.

Any help would be gratefully received.
 
Old 09-23-2003, 08:59 AM   #3
chris.hicks
Member
 
Registered: Sep 2003
Location: Newcastle upon Tyne
Distribution: Red Hat 9
Posts: 42

Original Poster
Rep: Reputation: 15
I think I know what the problem is. My firewall is set to 'medium' and that is stopping the connection to the local X display. I do not want to turn the firewall off for obvious reasons. How can I customise the firewall settings so that I can run an display graphics from an X client.

Any help would be gratefully received.

Many thanks,
Chris
 
Old 09-23-2003, 10:46 AM   #4
chris.hicks
Member
 
Registered: Sep 2003
Location: Newcastle upon Tyne
Distribution: Red Hat 9
Posts: 42

Original Poster
Rep: Reputation: 15
I have been told another solution that works fine.
Simply ssh onto the client and make sure that the DISPLAY variable is not set in the .cshrc or .login file on the client.
 
  


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
Javascript - what to use rather than window.close() then window.open() davee Programming 2 04-11-2005 08:28 AM
LDAP SERVER Client Connection on SUSE 9.2 - connection error jcarton Linux - Networking 3 03-19-2005 12:40 PM
LDAP SERVER - CLIENT CONNECTION on suse 9.2 - connection error nicolasdiogo Linux - Networking 4 03-01-2005 01:43 PM
LDAP SERVER - CLIENT CONNECTION on suse 9.2 - connection error nicolasdiogo SUSE / openSUSE 0 03-01-2005 05:43 AM
open linux box (x-server) from window over lan rionando Linux - Networking 1 04-26-2002 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:23 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
Open Source Consulting | Domain Registration