Solaris / OpenSolarisThis 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.
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.
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.
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.
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"
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.