Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-01-2005, 12:49 AM
|
#1
|
Member
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404
Rep:
|
Display locally
I can remotely login into a sun WS with solaris9 installed by ssh. The connection command is as follows:
1#xhost +
2#ssh -X My_ID@Remote_Server_IP or Name
After login, I tried to start xterm but the following error is shown me:
3# xterm &
xterm XT error: Can not open display.
Because I want to use some cad software in another Pc I wonder some methods to solve the remote display problem.
Please help me!
|
|
|
05-01-2005, 01:23 AM
|
#2
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep:
|
Are ports 6000/tcp and 177/udp open?
Hi -
Off the top of my head, the first two things to look for might be:
1. Do you have a firewall between your PC and the Solaris host, and
2. If so, are X-windows ports 6000/tcp and 177/udp open?
I'm assuming that you already have an X windows emulator (such as eXceed or Cygwin/X) installed and operational on your PC. Can you open and display an X11 app (such as XClock) locally on your PC?
'Hope that helps ... PSM
|
|
|
05-01-2005, 03:43 AM
|
#3
|
Member
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404
Original Poster
Rep:
|
More info
Yes, I have installed Cygwin in my win pc and I can start the X11 application such as Xclock. But I do not know how to confirm if there is a firewall between my winpc and sunpc. If assuming not , how to confirm if the 6000/tcp and 177/udp is open.
|
|
|
05-01-2005, 08:37 AM
|
#4
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,793
|
This is not a firewall issue, as you are able to communicate with ssh, and X11 protocol is tunneled in the same ssh connection.
The issue may be due to sshd on the Solaris side not allowing X11 tunneling.
check is X11Forwarding is set in /etc/ssh/sshd_config
Also, the error message "xterm Xt error: Can't open display: "
shows the DISPLAY variable is not set, it should be set on the calling shell (the one that call "ssh -X ...", and on the target machine, it should be something like ":10" to work.
Another reason would be for the ssh key having change, in that case there is this message "X11 forwarding is disabled to avoid man-in-the-middle attacks."
displayed at login time.
|
|
|
All times are GMT -5. The time now is 09:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|