Hi all, Thanks to all the following for responding to my question regarding starting CDE from SSH shell prompt: Jonathan Voigt Crist Clark Larye Parkins Paul Greidanus Blake Williford Kamal Ray Pengelly Here is my original question: "Is there a way to start a CDE session from a remote SSH session using something like Reflections for Windows or from a shell on Linux? I can bring up SMC, and other GUI tools this way, but would also like to bring up the entire CDE." In order to start a CDE session via an SSH shell, an Xwindows session is required for the PC (Linux should have this already). Three products that can accomplish this on the PC are Hummingbird Exceed, Reflections, and Xmanager. Reflections and Exceed have great Xsession wizards for setting up your connection over SSH. Xmanager does not have these, but works just as well and is lower in price. The command that seemed to work for me to access the CDE that was recommended the most was: /usr/dt/bin/Xsession Some other commands that folks used were as follows: /usr/dt/bin/dtwm Xnest -query localhost (man page at: http://www.xfree86.org/current/Xnest.1.html ) I had to make sure the following was set in the sshd_config on the server: X11Forwarding yes X11DisplayOffset 10 After the appropriate changes are made to the sshd_config, and have the Xsession software on the PC, accessing the CDE worked. Ray had a good "step by step" for using Exceed as follows: On PC: 1. Exceed->Xconfig->Security - Set to allow any host access. 2. Exceed->Xconfig->Display Set to Single Window mode. 2. Started Exceed in passive mode. 3. In SSH client made sure X11 tunneling was turned on. On the Solaris Machine 1. Set "X11Forwarding yes" in /etc/ssh/sshd_config 2. Restarted sshd 3. Made sure my login files (.login, .cshrc and .tcshrc) didn't set the DISPLAY environment variable. On PC 1. Used ssh client to login to Solaris machine. 2. Issued "echo $DISPLAY" to make sure X11forwarding is working on Solaris Machine. It should return "<solarismachinehostname>:10.0" 10 refers to the X11DisplayOffset variable from sshd_config. 3. ran /usr/dt/bin/Xsession 4. CDE came up and functioned. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Fri Apr 16 12:17:11 2004
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:31 EST