通过xmanager远程连接redhat linux as 5
2009-03-21 02:20
543 查看
rhel5与rhel4不同的地方是,rhel5里没有/etc/X11/gdm/这个目录,rhel5的gdm的配置文件放在这里/usr/share/gdm/defaults.conf。
需要修改的地方如下:
修改/usr/share/gdm/defaults.conf文件,确保里面有以下几行:
Enable=true
DisplaysPerHost=10
Port=177
再修改/etc/inittab文件,把默认级别改为5,再加入以下行:
x:5:respawn:/usr/sbin/gdm
这样修改后,root用户还不能登录,还要继续修改/usr/share/gdm/defaults.conf文件,具体如下(红色部分):
[security]
# Allow root to login. It makes sense to turn this off for kiosk use, when
# you want to minimize the possibility of break in.
AllowRoot=true
# Allow login as root via XDMCP. This value will be overridden and set to
# false if the /etc/default/login file exists and contains
# "CONSOLE=/dev/login", and set to true if the /etc/default/login file exists
# and contains any other value or no value for CONSOLE.
AllowRemoteRoot=true
如果防火墙打开了,使用以下命令打开177端口:
iptables -A INPUT -p udp --dport 177 -j ACCEPT
需要修改的地方如下:
修改/usr/share/gdm/defaults.conf文件,确保里面有以下几行:
Enable=true
DisplaysPerHost=10
Port=177
再修改/etc/inittab文件,把默认级别改为5,再加入以下行:
x:5:respawn:/usr/sbin/gdm
这样修改后,root用户还不能登录,还要继续修改/usr/share/gdm/defaults.conf文件,具体如下(红色部分):
[security]
# Allow root to login. It makes sense to turn this off for kiosk use, when
# you want to minimize the possibility of break in.
AllowRoot=true
# Allow login as root via XDMCP. This value will be overridden and set to
# false if the /etc/default/login file exists and contains
# "CONSOLE=/dev/login", and set to true if the /etc/default/login file exists
# and contains any other value or no value for CONSOLE.
AllowRemoteRoot=true
如果防火墙打开了,使用以下命令打开177端口:
iptables -A INPUT -p udp --dport 177 -j ACCEPT
相关文章推荐
- 通过xmanager远程连接redhat linux as 5
- 通过xmanager远程图形连接redhat linux as 5
- 通过xmanager远程连接redhat linux as 5
- windows xp 安装xmanager连接linux redhat系统通过Telnet服务并安装oracle10g
- RedHat Enterprise Linux 5.0之xmanager3.0远程桌面连接
- RedHat Enterprise Linux 5.0之xmanager3.0远程桌面连接
- RedHat Enterprise Linux 5.0之xmanager3.0远程桌面连接
- Xmanager 远程连接Linux redhat 9 的配置文档
- RedHat Enterprise Linux 5.0之xmanager3.0远程桌面连接
- 使用Xmanager远程连接Linux RedHat 6.4图形桌面
- Windows下通过xmanager远程桌面控制Linux
- Windows系统下通过xmanager远程桌面控制Linux
- Xmanager远程连接RedHat5.4
- Windows下通过xmanager远程桌面控制Linux
- Windows下通过xmanager远程桌面控制Linux(转)
- ubuntu安装openssh-server 报依赖错误的解决过程 ubuntu自带的有openssh-client,所以可以通过 1 ssh username@host 来远程连接linux 可
- Windows上通过XManager连接Centos5.4的远程桌面
- Xmanager 5 远程连接linux图形界面