OK, great - how do I start JDS from the command line?
Main Topics
Browse All TopicsI'm new to Solaris and I'm working remotely using PuTTY and Xming on Windows PC to connect to a Solaris 10 Sun server. I'd like to use an OS GUI like gnome or similar. Do I need to install anything (there is something in /usr/gnome/share/applicati
Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Use Xming http://freedesktop.org/wik
Try starting X with the server hostname.
If that doesn't work then you will have to configure the Solaris server as an xdmcpserver.
Here's some more info: http://www.xs4all.nl/~zwei
What I'm doing is loggin into to the server using PuTTY with SSH and X11 forwarding turned on. Xming is running on my local PC. I can start other apps from the PuTTY session and the GUI windows just appear. I'm hoping there is a way of staring gnome (which appears to be pre-installed) or JDS from the PuTTY session. If not, how do I directly connect to the server with Xming? I have XLaunch installed on my PC but I've never suceeded in getting it to do anything.
Thanks.
Hi - thanks for your answer. I ran the script and it appeared to work:
root@drno # /usr/dt/bin/dtconfig -e
done
desktop auto-start enabled.
I used XLaunch to open a session via XDMCP and an empty X window opened but there were no running clients such as a desktop environment - ie. I had an empty window with an X mouse pointer in it.
Can XDMCP be used over the public internet (which is what I am doing)? Does it use the same port as PuTTY or do I need to open another port? Is XDMCP secure?
Thanks for your help!
XDM (the X Display manager) usually listens on port 177 for requests (which a dedicated port nukber for this service). See also man page xdm(1)
It serves as a "Display Chooser". Once you get connected, your X11 session will run normally (ports 6000 and up) or through ssh-tunnel (if you use X11-forwarding, which I'd suggest.
Not in a million years should you be doing XDMCP over a public network.
Why not use VNC ?
X11 is SSSSSOOOO network heavy. I personally haven't used XDM in years - too many security issues relating to its use. I use the following script as my VNC xstartup script. In my .profile (or whatever) I create a ENV variable called DEFAULT_WM with a value of my preferred display manager tweaking the script as necessary.
Depending on where I'm setting it up, I may have the Solaris machine setup to block everything except incoming SSH and then tunnel VNC traffic through it or I'll leave it open (like here at home).
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xreso
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/li
sysmodmap=/usr/X11R6/lib/X
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# start some nice programs
case ${DEFAULT_WM} in
# TWM
[Tt][Ww][Mm])
/usr/X11R6/bin/twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x40+223-97 &
xterm -geometry 80x40-42-0 &
exec xterm -geometry 80x40+0+0 -name last-process
;;
# ICEWM
[Ii][Cc][Ee][Ww][Mm])
/usr/X11R6/bin/icewm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x40+223-97 &
xterm -geometry 80x40-42-0 &
exec xterm -geometry 80x40+0+0 -name last-process
;;
# KDE
[Kk][Dd][Ee])
exec /usr/local/bin/startkde
;;
# Gnome
[Gg][Nn][Oo][Mm][Ee])
exec gnome-session
;;
# Enlightenment
[Ee][Nn][Ll][Ii][Gg][Hh][T
exec enlightenment
;;
# Blackbox
[Bb][Ll][Aa][Cc][Kk][Bb][O
# File must be setup for wheel group with read-only group priv and
# I must be member of wheel group for xconsole to work.
xterm -geometry 80x24+0+16 &
xterm -geometry 80x24-14+16 &
#wmnd &
#/usr/local/bin/bubblemon &
exec /usr/X11R6/bin/blackbox
;;
# XFCE
[Xx][Ff][Cc][Ee])
startxfce4
;;
# Fluxbox
[Ff][Ll][Uu][Xx][Bb][Oo][X
# File must be setup for wheel group with read-only group priv and
# I must be member of wheel group for xconsole to work.
xterm -sl 5000 -sb -geometry 80x24+0+16 &
xterm -sl 5000 -sb -geometry 80x24-14+16 &
#wmnd &
#/usr/local/bin/bubblemon &
if [ -f /usr/local/bin/display ]; then
exec fluxbox
else
exec fluxbox -rc ${HOME}/.fluxbox-noDISPLAY
fi
;;
*)
echo
echo "Put the crack pipe down and step away from the computer ..."
echo "You either ran startx without an argument or the window"
echo "manager you want to run is not configured in your .xinitrc."
echo "Check windows managers available and update your .xinitrc"
echo "accordingly."
exit 1
;;
esac
Business Accounts
Answer for Membership
by: nixfreakPosted on 2007-06-19 at 09:43:19ID: 19317598
Just use JDS (Java Desktop System) it's basically gnome. JDS is bundled by default on Solaris 10 and is infact the default GUI env. in recent S10 updates.