xmanager 无法连接solaris10 求助!!
系统:
bash-3.00# uname -a
SunOS racdb2 5.10 Generic_142900-12 sun4u sparc SUNW,SPARC-Enterprise
bash-3.00#
按照网上都说很有效的方法更改系统配置:
1. 关闭默认的cde服务
svcadm disable cde-login
用ps-ef|grep dtlogin 应该看不到dtlogin进程了
2. 进入/etc/X11/gdm
编辑gdm.conf文件(也有可能是这两个文件/usr/share/gdm/defaults.conf 和/etc/X11/gdm/custom.conf) 编辑如下2个地方
找到[xdmcp]字段.
将Enable=flase改为true
将Port=177前的注释取消
然后保存退出.
3.ps-ef|grep gdm 确认目前没有gdm进程.如有杀之
4. 启动gdm服务
# svcs -a|grep gdm
disabled Aug_07 svc:/application/gdm2-login:default
# svcadm enable svc:/application/gdm2-login:default
然后在xmanager里建立新连接. 这样就可以登录了. 在登录界面的左上角选择cde.熟悉的cde界面就又回来了.
重启系统之后,还是无法用图形界面连接,在主机上查看端口,发现:
bash-3.00# netstat -a
UDP: IPv4
Local Address Remote Address State
-------------------- -------------------- ----------
*.sunrpc Idle
*.* Unbound
*.32771 Idle
*.177 Idle
UDP: IPv6
Local Address Remote Address State If
--------------------------------- --------------------------------- ---------- -----
*.177 Idle
TCP: IPv4
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
-------------------- -------------------- ----- ------ ----- ------ -----------
*.* *.* 0 0 49152 0 IDLE
*.sunrpc *.* 0 0 49152 0 LISTEN
*.* *.* 0 0 49152 0 IDLE
localhost.5987 *.* 0 0 49152 0 LISTEN
localhost.898 *.* 0 0 49152 0 LISTEN
localhost.32771 *.* 0 0 49152 0 LISTEN
localhost.5988 *.* 0 0 49152 0 LISTEN
localhost.32772 *.* 0 0 49152 0 LISTEN
*.ssh *.* 0 0 49152 0 LISTEN
*.32773 *.* 0 0 49152 0 LISTEN
*.32774 *.* 0 0 49152 0 LISTEN
*.32775 *.* 0 0 49152 0 LISTEN
*.32776 *.* 0 0 49152 0 LISTEN
*.telnet *.* 0 0 49152 0 LISTEN
*.ftp *.* 0 0 49152 0 LISTEN
racdb2.32778 racdb2.32773 49152 0 49152 0 ESTABLISHED
racdb2.32773 racdb2.32778 49152 0 49196 0 ESTABLISHED
192.168.254.2.sun-dr *.* 0 0 49152 0 LISTEN
*.32780 *.* 0 0 49152 0 LISTEN
192.168.254.2.24 *.* 0 0 49152 0 LISTEN
192.168.254.2.12 192.168.254.1.24 44600 0 49560 0 ESTABLISHED
192.168.254.2.24 192.168.254.1.1067 5840 0 50544 0 ESTABLISHED
*.32791 *.* 0 0 49152 0 BOUND
localhost.6788 *.* 0 0 49152 0 LISTEN
localhost.6789 *.* 0 0 49152 0 LISTEN
localhost.32788 *.* 0 0 49152 0 LISTEN
localhost.smtp *.* 0 0 49152 0 LISTEN
localhost.submission *.* 0 0 49152 0 LISTEN
racdb2.ssh 202.205.177.246.1705 256492 51 49640 0 ESTABLISHED
TCP: IPv6
Local Address Remote Address Swind Send-Q Rwind Recv-Q State If
--------------------------------- --------------------------------- ----- ------ ----- ------ ----------- -----
*.* *.* 0 0 49152 0 IDLE
*.ssh *.* 0 0 49152 0 LISTEN
*.telnet *.* 0 0 49152 0 LISTEN
*.ftp *.* 0 0 49152 0 LISTEN
SCTP:
Local Address Remote Address Swind Send-Q Rwind Recv-Q StrsI/O State
------------------------------- ------------------------------- ------ ------ ------ ------ ------- -----------
0.0.0.0 0.0.0.0 0 0 102400 0 32/32 CLOSED
Active UNIX domain sockets
Address Type Vnode Conn Local Addr Remote Addr
600b4413d20 stream-ord 00000000 00000000 /var/symapi/ipc/storwatchd
600b3b8a008 stream-ord 00000000 600b3cc3480 /var/symapi/ipc/storwatchd
600b3b8b558 stream-ord 600b3cc3480 00000000 /var/symapi/ipc/storwatchd
600b3b8bb28 stream-ord 600b432cf00 00000000 /var/symapi/ipc/storapid
600b3b8bd18 stream-ord 600b3b86a80 00000000 /var/run/.inetd.uds
bash-3.00#
udp的177端口是起来的,单tcp没有,我的gdm.conf配置文件里面的disallowsTCP已经是false,可是tcp为什么还不监听??
在线等 请多帮忙!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
恩,solaris默认都是可以的,不行就找网络
端口受限制了吧
解决了 直连服务器没有问题的,在我本机可能是路由经过了防火墙,好多跳才到服务器的。