The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NFS problem on Solaris 8 shamsul SUN Solaris 0 05-31-2008 06:12 AM
AIX & Solaris 10 problem talashil SUN Solaris 1 04-30-2008 02:21 PM
problem ftp solaris 10 gonzo SUN Solaris 1 01-29-2008 10:55 AM
Solaris 9 - Ftp problem BCarlson Shell Programming and Scripting 3 12-05-2005 10:27 AM
problem in solaris 8 fuqiang1976 UNIX for Dummies Questions & Answers 1 09-05-2001 04:54 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-12-2007
Registered User
 

Join Date: Nov 2001
Location: Fort Worth
Posts: 10
Stumble this Post!
Solaris 10 - X Problem

I can't get a remote X session to display on my Solaris 10 box. I can get it to work if I launch X on my local machine (like /usr/openwin/bin/xclock) so I know X itself is working correctly. The problem is, when I am on a remote host, I set the [ export DISPLAY=<IPADDRESS>:0.0 ] variable, and run /usr/openwin/bin/xclock, and it says cannot open display on <IPADDRESS:0.0>. Yes, I have also run xhost + on the localhost as well. It sounds like a permissions issue to me, but I can't figure out what is screwed up! Thanks for any help you provide.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-12-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
Stumble this Post!
It not really clear what way round things are not working.

Can you go through what you have done again, using machine1 and machine2 as names and give a more explict description of what you did.

eg.

When I am logged in to machine1, i connect remotely to machine2 and run xclock it does not appear on machine1.

Also a little more white space would help a lot.
Reply With Quote
  #3 (permalink)  
Old 04-12-2007
Registered User
 

Join Date: Nov 2001
Location: Fort Worth
Posts: 10
Stumble this Post!
I am logged into machine1, I open a terminal and type [xhost +] and then telnet to machine2. At this point, I type:

[who am i] to see who machine2 thinks I am. machine2 sees me as
[10.143.80.25].

I then type: [export DISPLAY=10.143.80.25:0.0;/usr/openwin/bin/xclock] on machine2 and I get the error, Unable to open display.

Now, to prove that X is working on machine2, I am logged into machine2, and type [/usr/openwin/xclock], and the xclock appears.

This is solaris 10. I kinda think this is a permissions issue, but can't figure out where.
Reply With Quote
  #4 (permalink)  
Old 04-13-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
Stumble this Post!
Are you using gdm2-login on cde-login on machine1 as the graphical login manager service?

This makes a difference, because gdm will by default disable access for network clients.
Reply With Quote
  #5 (permalink)  
Old 04-17-2007
Registered User
 

Join Date: Apr 2007
Posts: 2
Stumble this Post!
remote x-window

Hi,
Any firewall in between? or Any port belong to X-window blocked by machine 2?

...msgm
Reply With Quote
  #6 (permalink)  
Old 04-18-2007
Registered User
 

Join Date: Nov 2001
Location: Fort Worth
Posts: 10
Stumble this Post!
I am using CDE. I have another system that is setup identically as machine1, and everything works on it. There are no firewalls in between machine1, and machine2.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
export display

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0