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 启动起来了