通过cde-login服务进行管理 ps-ef|grep dtlogin 可以查看到是否启用,默认是启动了,但是无法进行连接,因为配置文件没有启用
需要更改gdm.conf文件
vi /etc/X11/gdm/gdm.conf
找到[xdmcp]这段话
将Enable=flase改为true
将Port=177前的注释取消
然后:wq退出
启动服务即可
svcs -a|grep gdm
svcadm enable svc:/application/gdm2-login:default
参考文档:http://saifulaziz.com/2009/04/03/solaris-10-remote-x11-or-cde-login-problem/
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
3> you need to set xmanager client .
然后在xmanager里配置新连接.
在Xmanager 打开 Xbrowser
新建 New Xmanager Session
修改 属性
xdmcp Conection Method : XDM Query
xdmcp Host: Solaris Server IP
xdmcp Port:177
xdmcp Local Address: Auto Select
参考文档: