现在的位置: 首页 > 综合 > 正文

通过XDMCP连接无显示器的主机

2013年02月14日 ⁄ 综合 ⁄ 共 540字 ⁄ 字号 评论关闭

http://www.linuxsir.org/bbs/thread360100.html

 

OK,把登录管理器由gdm换成xdm之后,问题解决了。主要参考的是,做法如下:
《Gentoo Wiki Archive -- XDMCP》
http://www.gentoo-wiki.info/XDMCP
把登录管理器设为 xdm:
修改 /etc/conf.d/xdm

Shell代码

  1. DISPLAYMANAGER="xdm"

修改 /etc/X11/xdm/xdm-config

Shell代码

  1. ! SECURITY: do not listen for XDMCP or Chooser requests 
  2. ! Comment out this line if you want to manage X terminals with xdm 
  3. #  DisplayManager.requestPort: 0

修改 /etc/X11/xdm/Xaccess

Shell代码

  1. *                                       #any host can get a login window 

重启 xdm
# /etc/init.d/xdm restart

 

切换display manager

sudo dpkg-reconfigure gdm (把 gdm 换成 kdm 也可以)

抱歉!评论已关闭.