Solaris 10 Remote X11,X-Server or CDE Login Problem
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:
{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
-
1
Pingback on Apr 20th, 2010 at 12:01 am
[...] loading conection close. There is no problem with SSH connection. I have perform this procedure: http://saifulaziz.wordpress.com/2009…login-problem/ but it didnt help at all. There are no single trace in syslog and messages. Any idea what can I [...]







June 10, 2009 at 4:46 pm
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
June 25, 2009 at 10:40 am
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.
June 23, 2009 at 10:32 am
Hi Aziz,
The steps are great. I managed to resolve the dtlogin issue on my Solaris 10 server.
Thanks & Cheers.
June 25, 2009 at 10:41 am
you are welcome Calintz..
November 15, 2009 at 8:59 pm
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.
November 22, 2009 at 6:52 pm
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.
December 22, 2009 at 9:50 pm
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
December 28, 2009 at 10:24 am
hi Gary, if you run all commands above, I don’t know why its back to UDP again..
January 5, 2010 at 9:44 pm
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 …
February 25, 2010 at 11:35 pm
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?
February 25, 2010 at 11:51 pm
Addendum I have three new lines the one I missed one:
restarter/transient_contract count
December 27, 2009 at 9:12 pm
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
December 28, 2009 at 10:00 am
Check your “/etc/default/login” configuration, don’t forget to comment this line out:
#CONSOLE=/dev/console
December 30, 2009 at 1:13 pm
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
January 27, 2010 at 2:08 am
Hey Aziz,
Many thanks for posting this. You fixed my exceed login problem!
Duane
February 12, 2010 at 2:55 pm
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.
January 3, 2011 at 7:25 pm
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.
March 23, 2011 at 2:39 am
Hi,
I try setup cde-login on Solaris 11.
Do you have a Idea.
Thanks
Thomas
April 1, 2011 at 10:01 pm
Excelente aporte…!!
May 26, 2011 at 8:19 pm
Thank you so much ! Fully operationnal and well detailled
December 7, 2011 at 4:03 pm
Thanks Aziz
This has really helped me. Actually i was stuck after several install/re-install.
Thanks alot