聚合资讯    词典    My blog    Tag   
hi! | 关于
专注于Java技术、开源项目、项目管理

标签 - 分类 : 全部 | UNIX | 随笔 | 数据库 | Java技术 | 网摘文章
How to configure Linux XDMCP(KDE/GNOME) settings for Xmanager
Affected Files
For runlevel :   /etc/inittab
For GDM : /etc/X11/gdm/gdm.conf
/etc/gdm/custom.conf (Fedora Core 5)
For KDM : /etc/X11/xdm/xdm-config
/etc/X11/xdm/Xaccess
/etc/X11/xdm/kdmrc
/usr/share/kdm/kdmrc
/usr/share/config/kdm/kdmrc
/etc/opt/kde2/share/config/kdm/kdmrc
For Firewall : /etc/sysconfig/ipchains
Step 1. Change runlevel to enable gdm or kdm.
  1. Open /etc/inittab file.
  2. Change the runlevel to 5 as following:
    id:5:initdefault:
Step 2. GDM configuration (When the Linux is using gdm)
  1. Open /etc/X11/gdm/gdm.conf file. (/etc/gdm/custom.conf for Fedora Core 5)
  2. Go to the [xdmcp] section.
  3. Set the value of Enable option to true or 1.
Step 3. KDM configuration (When the Linux is using kdm)
  1. Open /etc/X11/xdm/xdm-config file.
  2. Comment out "requestPort" option as following:
    DisplayManager.requestPort: 0
    ==>
    !DisplayManager.requestPort: 0
  3. Open /etc/X11/xdm/Xaccess file.
  4. Remove the initial "#" character for the following line:
    #* #any host can get a login window
    ==>
    * #any host can get a login window
  5. Open /etc/X11/xdm/kdmrc,
    /usr/share/config/kdm/kdmrc or
    /etc/opt/kde2/share/config/kdm/kdmrc file.
  6. Change the value of "Enable" option to "true".
Step 4. Firewall configuration (If the firewall has been configured)
  1. Open /etc/sysconfig/ipchains file.(/etc/sysconfig/iptables for Fedora Core 5)
  2. Add the following lines at the top of the file:
    -A input -p udp -s 0/0 -d 0/0 177 -j ACCEPT
    -A input -p tcp -s 0/0 -d 0/0 telnet -j ACCEPT
    -A input -p tcp -s 0/0 -d 0/0 ssh -j ACCEPT
    -A input -p tcp -s 0/0 -d 0/0 login -j ACCEPT
    -A input -p tcp -s 0/0 -d 0/0 exec -j ACCEPT
    -A input -p tcp -s 0/0 -d 0/0 shell -j ACCEPT
    -A input -p tcp -s 0/0 -d 0/0 7100 -j ACCEPT
Step 5. Restart your Linux to activate the changes.
标签 : ,




置评

标题
正文
HTML : b, i, blockquote, br, p, pre, a href="", ul, ol, li
姓名
电邮地址
网站
记住我 是  否 

电邮地址将不会发表在公开网页上,您留下的电邮地址仅用于本文有新评论时通知您(以后可以随时拿掉).

回接到 http://www.searchfull.net:80/blog/addTrackBack.action?entry=1180227602338