Saturday, 9 April 2011

X-Manager Configuration in Solaris 10

I was asked to install oracle client. but then i found it difficult as i was not able to login to server through X-Manager.The server was Oracle Solaris 10 and it was in a T3-1 server.A server recently launched with New feature of Hardware RAID.Configuration of hardware raid in T3-1 will be posted in my next article.Here is how i configured X-manager for the server through service configure

Earlier in Solaris 9(before release of solaris 10 )every services was in the form of file systems.Like for starting SSH, u need to go to /etc/init.d and start a particular service linked with rc.xx scripts.But after the release of Solaris 10 A concept like that of registry in windows was put into this unix flavour...andn this structure we can configure.Seems interestin, right???.Another thing is even we can make a new service

Before that let me put a word on X-manager which is a tool through which we can login to any Unix server in GUI mode.There are some other tools like humming Bird..etc...But X-Manager is preferred due to its flexibility and performance.

Through command svccfg we can configure any service
1)# svccfg
svc:>



from here if you press tab button 2 times you can see which all are the services.and for X-Manager select the service 'cde-login'
-----------------------------------------------------------

2)select cde-login
svc:/application/graphical-login/cde-login>


here again if you give tab button 2 times you can see various options.I have listed property 'arg'


3)svc:/application/graphical-login/cde-login>

add         delhash     exit        inventory   repository  validate
addpg       delpg       export      list        select
apply       delprop     extract     listpg      set
archive     editprop    help        listprop    setprop
delete      end         import      quit        unselect

svc:/application/graphical-login/cde-login> listprop arg

-----------------------------------------------------------
now i set the property dtlogin/args with udp port 177 and quit it
4)svc:/application/graphical-login/cde-login> setprop dtlogin/args=astring:" -udpPort 177"
svc:/application/graphical-login/cde-login> quit

-----------------------------------------------------------
after that i restarted the service cde-login.
5)# svcadm restart cde-login
check for the service if its running or not..you are supposed to get a service running on udpPort 177
and if its running then its done.Else you do one thing.(sshhh.... take a hammer and make it into a round shape..we can play football)
-------------------------------------------------------------
6)# pgrep -lf dtlogin
18325 /usr/dt/bin/dtlogin -daemon -udpPort 177

Now you can login to your server through X-manager

1 comment:

  1. Thanks for this good article....has explained it in a detailed way

    ReplyDelete