server 操作系统:ubuntu 10.04.4-server
client 操作系统:ubuntu 10.04.4-desktop
xrdp 版本:0.4.x
rdesktop 版本: rdesktop-1.6
client:
loongson@loongson:~$ rdesktop 192.168.1.58
Autoselected keyboard map en-us
ERROR: 192.168.1.58: unable to connect
loongson@loongson:~$ ping 192.168.1.58
PING 192.168.1.58 (192.168.1.58) 56(84) bytes of data.
64 bytes from 192.168.1.58: icmp_seq=1 ttl=64 time=8.91 ms
说明网络不是问题
server:(通过 ssh 进来)
root@loongson:~# /etc/init.d/xrdp restart //启动 xrdp 服务,结果出错
Stopping xrdp: sesman xrdp.
Starting xrdp: It looks like xrdp is allready running,
if not delete the xrdp.pid file and try again
xrdp sesman.
解决方法:
查看是否还有xrdp 进程在运行
root@loongson:~# ps -A | grep sesman
13644 pts/3 00:00:00 sesman
root@loongson:~# ps -A | grep xrdp
显示没有xrdp 进程在运行,启动 xrdp 进程
root@loongson:~# /etc/init.d/xrdp start //依然出错
Starting xrdp: It looks like xrdp is allready running,
if not delete the xrdp.pid file and try again
删除 xrdp.pid 文件再启动
root@loongson:~# rm /var/run/xrdp/xrdp.pid
root@loongson:~# # /etc/init.d/xrdp start
Starting xrdp: xrdp sesman.
root@loongson:/var/run/xrdp# netstat -tnl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN
出现有上面的 3389 端口监听,则说明 xrdp 启动起来了
参考链接:
阅读(5813) | 评论(0) | 转发(1) |