The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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
Local Monitoring on Solaris 10 jess_t03 SUN Solaris 6 04-24-2008 02:52 AM
Solaris 10 Kerberos with local account locking rmaavnii SUN Solaris 0 03-20-2008 07:44 PM
How do I establish a remote CDE or JDS session on Solaris 10? ultra0384 SUN Solaris 11 10-05-2006 05:23 PM
solaris remote console stancwong UNIX for Dummies Questions & Answers 1 03-27-2006 11:50 AM
Solaris- print to a remote queue dangral High Level Programming 3 02-18-2003 04:46 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-20-2007
panchpan panchpan is offline
Registered User
  
 

Join Date: Aug 2007
Location: Australia
Posts: 115
run xclock from local solaris to remote solaris

Hello - I am trying to connect to a remote solaris box from a solaris box i have locally present with me using 'ssh login@IP' ... Its connecting fine but... when I run xclock - it says 'Can't open display'

Whereas, IF I connect to same remote solaris IP from my windows desktop locally via putty and running xming. xclock works fine.

Please let me know how to run xclock as I can not have xming on local solaris certainly.

Thank you!
  #2 (permalink)  
Old 12-20-2007
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,861
Check that the DISPLAY environmental variable on the remote system is set correctly to your local system and run xhost on your local system to enable/permit the remote system to display xclock on your local system.
  #3 (permalink)  
Old 12-20-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Try using the ssh "-X" option to do X forwarding.

Code:
ssh -X remote xclock
  #4 (permalink)  
Old 12-20-2007
panchpan panchpan is offline
Registered User
  
 

Join Date: Aug 2007
Location: Australia
Posts: 115
When I connect from putty i.e. local windows to remote solaris - DISPLAY=localhost:10.0 is already set. When I connect from local solaris to remote solaris via ssh oracle@IP - DISPLAY isnt set. Then I gave export DISPLAY=localhost:10.0

No results. I tried #ssh -X remote xclock ... Nothing is coming and no errors.
  #5 (permalink)  
Old 12-20-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Check in the remote server's

/etc/ssh/sshd_config

to see if X forwarding has been disabled.
  #6 (permalink)  
Old 12-20-2007
panchpan panchpan is offline
Registered User
  
 

Join Date: Aug 2007
Location: Australia
Posts: 115
I see that X11 forwarding is set to 'yes' what else could be the cause?
  #7 (permalink)  
Old 12-20-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
use "-v" to see what SSH thinks it's doing....
Sponsored Links
Closed Thread

Bookmarks

Tags
export display, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0