LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2100|回复: 6

如果配置才能利用xmanager远程访问fc5?

[复制链接]
发表于 2006-4-11 15:30:06 | 显示全部楼层 |阅读模式
怎么样配置fc5才能利用xmanager远程访问fc5?
谢谢!!!
发表于 2006-4-12 16:37:10 | 显示全部楼层
我也在等,项
回复 支持 反对

使用道具 举报

发表于 2006-4-14 12:57:23 | 显示全部楼层

How to configure Linux XDMCP

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.

Open /etc/inittab file.
Change the runlevel to 5 as following:

id:5:initdefault:
Step 2. GDM configuration (When the Linux is using gdm)

Open /etc/X11/gdm/gdm.conf file. (/etc/gdm/custom.conf for Fedora Core 5)
Go to the [xdmcp]section.
Set the value of Enable option to true or 1.
Step 3. KDM configuration (When the Linux is using kdm)

Open /etc/X11/xdm/xdm-config file.
Comment out "requestPort" option as following:
DisplayManager.requestPort: 0
==>
!DisplayManager.requestPort: 0
Open /etc/X11/xdm/Xaccess file.
Remove the initial "#" character for the following line:
#* #any host can get a login window
==>
* #any host can get a login window
Open /etc/X11/xdm/kdmrc,
/usr/share/config/kdm/kdmrc or
/etc/opt/kde2/share/config/kdm/kdmrc file.
Change the value of "Enable" option to "true".
Step 4. Firewall configuration (If the firewall has been configured)

Open /etc/sysconfig/ipchains file.
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.
回复 支持 反对

使用道具 举报

发表于 2006-4-24 10:00:36 | 显示全部楼层
没有/etc/sysconfig/ipchains 这个文件啊?
回复 支持 反对

使用道具 举报

发表于 2006-4-24 10:14:11 | 显示全部楼层
解决了,但有两个新问题。
解决方法:手动建立/etc/sysconfig/ipchains文件,更改防火墙设置。
新问题:1、怎么能让Xmanager用root登陆?
        2、怎么让linux用gdm,Xmanager用kdm登陆?
谢谢!
回复 支持 反对

使用道具 举报

发表于 2006-4-25 18:36:44 | 显示全部楼层
顶~~~~~~~~~~~~~~~
回复 支持 反对

使用道具 举报

发表于 2006-5-27 12:00:59 | 显示全部楼层
Post by Richard
解决了,但有两个新问题。
解决方法:手动建立/etc/sysconfig/ipchains文件,更改防火墙设置。
新问题:1、怎么能让Xmanager用root登陆?
        2、怎么让linux用gdm,Xmanager用kdm登陆?
谢谢!

我也遇到同样的问题,请教如何解决,:ask :ask :ask
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表