LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
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


Reply
  Search this Thread
Old 04-30-2005, 02:11 PM   #1
zillah
Member
 
Registered: Oct 2004
Posts: 536

Rep: Reputation: 30
Remote Access to solaris from winodws PC


How can I access solaris PC remotly from windows PC (Remote Access as Administrator), do I need to enable anything in solaris?
 
Old 04-30-2005, 03:44 PM   #2
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
Remote access from win pc to Solaris

I use the software cygwin for remote access to solaris. For more info about cygwin, Please access http://www.cygwin.com/. When installing Cygwin, you must install the ssh package for
remote access. Getting everthing installed is best if you can not confirm if the ssh package is installed. After starting the cygwin, please do as follows:

#startx
#xhost +
#ssh -X UserID@Remote_Server_Name or IP

Note that you must confirm if the remote server allows a ssh access.
 
Old 05-07-2005, 10:20 AM   #3
zillah
Member
 
Registered: Oct 2004
Posts: 536

Original Poster
Rep: Reputation: 30
Quote:
When installing Cygwin, you must install the ssh package for
How can I confirm that ssh has been installed with the package or not?

what I did :

man ssh,,,,,,,,,,output was: No manula entry for ssh,,,,that mean it has not been installed.

how can I install extra package if I want ?


2- The prompt command is "$", how can I changed to "#".

3- I tried startx,,,,,,,,,,,,the output was: "bash:startx: command not found".
 
Old 05-07-2005, 01:48 PM   #4
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
Did you perform a complete installation?

For locating the ssh command:
1# whereis ssh
2# find / -name ssh -print


I am sorry that I gave you a wrong information. Maybe you download the Cygwin from the site I have given you. you should download Cywin/X from http://x.cygwin.com/. The X11 and Net package in Cygwin/X include Xorg library and openssh, respectively. Please check out.
 
Old 05-08-2005, 03:46 AM   #5
zillah
Member
 
Registered: Oct 2004
Posts: 536

Original Poster
Rep: Reputation: 30
I
Quote:
The X11 and Net package in Cygwin/X include Xorg library and openssh, respectively. Please check out.
I tried this from the link that you posted , but I am not sure if it is right icon to click or not, I click the setup in bold color (it gave same icon for the previous link!!!):

"Downloading and Installing

Install Cygwin/X now Cygwin/X is installed via Cygwin's setup.exe and the installation process is documented in the Cygwin/X User's Guide. Whether or not you already have Cygwin installed, you can add Cygwin/X to your installation by downloading the latest setup.exe, running setup, and selecting the 'xorg-x11-base' package from the 'X11' category.

Using Cygwin/X is documented in a step-by-step manner, with lots of pictures and examples, in the Cygwin/X User's Guide. Please notice, however, that Cygwin/X contains many general-purpose programs, libraries, and functions that are part of all X distributions. It is therefore beyond the scope of the Cygwin/X User's Guide to document all of these X Window System components. To find documentation, for example, for setxkbmap one should consult the generic X documentation such as the SETXKBMAP(1) manual page. You could always, of course, do a Google search for setxkbmap, which finds the manual page mentioned above"
 
Old 05-08-2005, 06:56 AM   #6
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
I have installed Cygwin/X and can run the startx and ssh program for accessing the remote PC.
 
Old 05-08-2005, 08:18 AM   #7
zillah
Member
 
Registered: Oct 2004
Posts: 536

Original Poster
Rep: Reputation: 30
Quote:
I have installed Cygwin/X and can run the startx and ssh program for accessing the remote PC.
I have installed Cygwin, but I can not access what you said,,,do you have any idea where is the problem?
 
Old 05-08-2005, 08:35 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Zillah, I think you haven't installed Cygwin/X as UltraSoul is suggesting.
Have a look at: http://x.cygwin.com/ and
http://x.cygwin.com/docs/ug/setup-cy...nstalling.html
 
Old 05-08-2005, 10:25 AM   #9
zillah
Member
 
Registered: Oct 2004
Posts: 536

Original Poster
Rep: Reputation: 30
Believe this is what I did
 
Old 05-08-2005, 10:38 AM   #10
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
you can not run ssh and startx ?
 
Old 05-08-2005, 10:57 AM   #11
zillah
Member
 
Registered: Oct 2004
Posts: 536

Original Poster
Rep: Reputation: 30
Quote:
you can not run ssh and startx ?
I am downloading it again, I will let you know
 
Old 05-08-2005, 11:48 AM   #12
zillah
Member
 
Registered: Oct 2004
Posts: 536

Original Poster
Rep: Reputation: 30
Yes now I can startx.

How can I verify that server accept ssh?
 
Old 05-08-2005, 03:14 PM   #13
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
sshd_config

I assume that you can login the remote server.
#xhost +
#ssh -X UserID@RemoteServer hostname or IP
#xterm &
if the error of "can not open display " occurs, The server may not enable X11Forwarding.

you must contact your network administrator.

If you have the super user right in Remote server , you can find out the sshd_config file for enabling the X11Forwarding. I am not sure the location of sshd_config.
# find / -name sshd_config -print
Please uncomment the line of X11Forwarding in sshd_config file and set X11Forwarding to Yes.
 
Old 05-08-2005, 09:31 PM   #14
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
CONT

In solaris9, the defaul sshd location is /usr/local/etc/sshd_config which is for remote server configuration.
I solaris 10, I found that the default sshd location is /etc/ssh/sshd_config.
Please check out and confirm the X11Forwarding is set to Yes.
 
Old 05-09-2005, 04:13 AM   #15
zillah
Member
 
Registered: Oct 2004
Posts: 536

Original Poster
Rep: Reputation: 30
How can I configure (enable) ssh on the server ?

Quote:
I solaris 10, I found that the default sshd location is /etc/ssh/sshd_config.
Please check out and confirm the X11Forwarding is set to Yes.
I found this file and it has already got X11 Forwarding uncomment this :

# X11 tunneling option
X11 Forwarding yes
X11DisplayOffset 10
X11Uselocalhost yes


What I did : I wrote "startx" another windows (X~) pops up then:

I typed in (X~), "xhost +" it gave me this message:

access control disabled, clients can connect from any host

Quote:
#ssh -X UserID@RemoteServer hostname or IP
What should I use for UserID? is it the ID for the user which has been created on the server by administrator ?

Last edited by zillah; 05-10-2005 at 01:07 PM.
 
  


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
XDMCP remote access to Solaris UltraSoul Solaris / OpenSolaris 1 10-17-2005 11:46 PM
Remote Shell from Linux to Solaris? Zombie13 Linux - Newbie 2 04-21-2005 12:10 AM
Issue Showmount command on remote Solaris 8 system njugs79 Solaris / OpenSolaris 2 04-16-2005 09:40 AM
remote Solaris Desktop sysxi Solaris / OpenSolaris 10 12-23-2004 05:54 AM
Winodws XP machines can't access Linux server lansman Linux - Networking 3 03-02-2003 10:19 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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