Well,
Sometimes I got an error after finishing on Solaris 10 box installation. After make some configuration then suddenly I can’t access my Solaris XDMCP remote session on my laptop.. Usually, I use XManager Enterprise to get Solaris GUI remote session XDMCP. here the step-by-step to troubleshoot if you got the same problem:
*you must run all below command from serial console, all network connection services will stopped when you run command “netservice limited”.
{Make sure that svc:/application/graphical-login/cde-login is enabled and online.
root@solaris10 # svcs cde-login
STATE STIME FMRI
online Mar_02 svc:/application/graphical-login/cde-login:default
root@solaris10 #netservices limited
restarting syslogd
restarting sendmail
dtlogin needs to be restarted. Restart now? [Y] y
restarting dtlogin
{Check dtlogin process:
root@solaris10 # ps -ef | grep dtlogin
root 29384 1 0 Mar 02 ? 0:00 /usr/dt/bin/dtlogin -daemon -udpPort 0 [should be TCP, not UDP]
{Modify the x11-server service:
—–>Show properties:
#svcprop svc:/application/x11/x11-server
——>Turn on tcp listen:
#svccfg -s svc:/application/x11/x11-server setprop options/tcp_listen=true
{Modify the dtlogin service:
—–>Show properties:
#svcprop svc:/application/graphical-login/cde-login:default
#svccfg -s svc:/application/graphical-login/cde-login setprop dtlogin/args=\”\”
—–>Then restart the X server:
#svcadm refresh svc:/application/graphical-login/cde-login:default;
#svcprop -p dtlogin svc:/application/graphical-login/cde-login:default
root@solaris10 #netservices open
restarting syslogd
restarting sendmail
root@solaris10# svcadm restart cde-login
root@solaris10# ps -ef |grep dtlogin
root 27722 1 0 15:08:37 ? 0:00 /usr/dt/bin/dtlogin -daemon
root 27724 26297 0 15:08:43 pts/3 0:00 grep dtlogin
Thanks Aziz, it worked out for me too. By the way, why did you use the netservices limited and open commands? (I ommitted them and the effect was the same) Is it some kind of precaution?
Cheers,
Nikos
Nikos,
Netservices is command to enable or disable network services.
netservice limited it mean all network services except the secure shell daemon (sshd) are disabled. netservices open to enable again all network services.
Hi Aziz,
The steps are great. I managed to resolve the dtlogin issue on my Solaris 10 server.
Thanks & Cheers.
you are welcome Calintz..
Hi AZIZ
Really amazing doc. It helps me lot now my problem is i can login to xmanager with my user id, when i am trying to login an another id xmanager immediately closed after enter user password. Please can u solve this.
Mohammed, if your Solaris version is Solaris 9, then the problem with XManager closed immediately is a bug in Solaris patch 112960-62 (Solaris 9). It had issues with dtlogin per bugid 6750206.
Found your solution while googling for the same problem. Great instructions. The only issue I have is that the changes won’t stay after a reboot. Is there something I’m missing? And I’m using Solaris U8 which I just patched and rebooted onlt to discover the dtlogin is back using UDP again
hi Gary, if you run all commands above, I don’t know why its back to UDP again..
Sorry being so late in replying … The problem was with me missing a step. But here’s the kicker now… Any idea on why showmount command quite working. Comes up with “RPC: Program not registered”
Been Googling the issue …
Ok forget the “RPC: Program not registered”
My goof. remote server share was not enabled. cleared up once I restarted the share. New issue sam problem created a arcvive of my default system, installed the new flash archive, reboot had the same upd port error. Followed the steps to correct the issue on the new server. can change the x11 server properties. but the login failed. compared both master and clone svcprop svc:/application/x11/x11-server on the clone I have two extra lines:
restarter_actions/refresh integer
restarter_actions/restart integer
Any idea maybe me not typing the correctly?
Addendum I have three new lines the one I missed one:
restarter/transient_contract count
hi
i m new to solaris
i have enabled xdmcp through gdmsetup and server is listening to udp 177 port.
when from my xmanager client i try to login,after giving the credentials xmanager client windows disappear.
i have tried it on manay hosts but the problem is same.
plz share ur views.
thanks
Check your “/etc/default/login” configuration, don’t forget to comment this line out:
#CONSOLE=/dev/console
thanks
i am able to login through xmanager with root user.
But if i try with non root user xmanager window is automatically closed.
thanks
Hey Aziz,
Many thanks for posting this. You fixed my exceed login problem!
Duane
Hi Aziz
This issue has been driving me scatty! I found your excellent notes after I managed to track down this issue. Please do you know why installing the same Solaris 10 x86 version (u8) configures udp 0 on some occasions but not others. It can’t be hardware can it? The installs I did on HP Blade 460c configured dtlogin process with udp0, but install the same version on HP Proliant G5 and XPC shuttle doesn’t. Is it because of the different hardware or is it something to do with selections during the install, say if there is DNS server to use or not? Updating to the latest patch bundle made no difference to the dtlogin service starting with udp0.
Pingback: Cant connect to X-window (XDMCP problem)
I am able to take the console of GUI from windows (Via XDCMP) but Keyboard was not working.
Can you please help me on this issue.
Hi,
I try setup cde-login on Solaris 11.
Do you have a Idea.
Thanks
Thomas
Excelente aporte…!!
Thank you so much ! Fully operationnal and well detailled
Thanks Aziz
This has really helped me. Actually i was stuck after several install/re-install.
Thanks alot
After writing netservices limited connection to server was closed and now I cannot use SSH or telnet,,, How I can connet to server again?
actually, all step above must be run from serial console. command “netservice limited” wil stop all network services including ssh and telnet. you hv to go to serial and type “netservice open”.
Pingback: login xscf solaris
It’s very easy to find out any topic on net as compared to textbooks, as I found this post at this web page.
It is also ideal for reducing irritation associated
with rosacea and eczema flare-ups as well as soothing skin after a
peel or microdermabrasion. Geranium essential oil also calms irritated skin, helps clear acne and helps boost circulation. Oz Show,
he went over some specific tips about skincare and nutrition that can help with.
Thanks in support of sharing such a nice opinion, article is pleasant, thats why i have read it entirely
It’s going to be ending of mine day, except before finish I am reading this great piece of writing to increase my knowledge.
How I can get for free XRumer + BlogsPlugin??
It’s really new powerful tool for promotion, I’m want it, so help me please if it possible… Thank
Mostly I need SocPlugin – it unique tool for Facebook promotion, break all captchas and protections….
(it’s included in XRumer 12 official package, so please help me to find it! Thank you again!)
lerhtretgeurter tev rt er tv ert ver t ertglerhtretgeurter tev rt er tv ert ver t ertg
Пыть-Ях
Within hours, we’ll present you to a number of skilled DJs who can DJ your event.
I was curious if you ever considered changing the page layout of your website?
Its very well written; I love what youve got to say. But maybe
you could a little more in the way of content so people could connect with it better.
Youve got an awful lot of text for only having one or two pictures.
Maybe you could space it out better?
Hi Aziz,
Could you please help me on below issue.
-bash-3.2$ xinit
/dev/fb: No such file or directory
/dev/fb: No such file or directory
Graphics Adapter device /dev/fb is of unknown type
Fatal server error:
InitOutput: Error loading module for /dev/fb
giving up.
xinit: Network is unreachable (errno 128): unable to connect to X server
xinit: No such process (errno 3): Server error.