Xmanager连接CentOS6
来源:互联网 发布:sql server 列转行 编辑:程序博客网 时间:2024/05/21 05:18
1 修改 /etc/X11/xdm/Xaccess
去掉下面的注释
#* #any host can get a login window
2 修改启动模式/etc/inittab
id:5:initdefault:3修改/etc/gdm/custom.conf
# GDM configuration storage[daemon][security]AllowRemoteRoot=trueDisallowTCP=false[xdmcp]Enable=truePort=177[greeter][chooser][debug]
4修改/etc/X11/xdm/xdm-config用 ! 注释下面的语句
!DisplayManager.requestPort: 05 修改以下文件权限,确保有444权限
# ll /etc/X11/xdm/Xservers-rw-r--r--. 1 root root 485 Jan 6 22:35 /etc/X11/xdm/Xservers# ll /etc/X11/xdm/Xsetup_0-rwxr-xr-x. 1 root root 938 Aug 20 2010 /etc/X11/xdm/Xsetup_0
7 修改/etc/securetty
tty1tty2tty3tty4tty5tty6tty7tty8tty9tty10tty11rshrexecrlogin添加
pts/0pts/1pts/2pts/3pts/48 修改/etc/pam.d/login
#%PAM-1.0注释掉
#auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
auth include system-authaccount required pam_nologin.soaccount include system-authpassword include system-auth# pam_selinux.so close should be the first session rulesession required pam_selinux.so closesession required pam_loginuid.sosession optional pam_console.so# pam_selinux.so open should only be followed by sessions to be executed in the user contextsession required pam_selinux.so opensession required pam_namespace.sosession optional pam_keyinit.so force revokesession include system-auth-session optional pam_ck_connector.so9 修改 /etc/pam.d/remote
#%PAM-1.0注释掉
#auth required pam_securetty.so
auth include password-authaccount required pam_nologin.soaccount include password-authpassword include password-auth# pam_selinux.so close should be the first session rulesession required pam_selinux.so closesession required pam_loginuid.so# pam_selinux.so open should only be followed by sessions to be executed in the user contextsession required pam_selinux.so opensession required pam_namespace.sosession optional pam_keyinit.so force revokesession include password-auth9关闭防火墙,或开放UDP 177端口
可以使用system-config-firewall操作防火墙
可以使用/etc/init.d/iptables stop关闭防火墙
10重启机器
参考:
http://lmdkfs.blog.163.com/blog/static/7461132420124445749639/
http://wenku.baidu.com/view/ac4a2f1aa8114431b90dd842.html
http://blog.sina.com.cn/s/blog_7065a1e40100mahz.html
http://hi.baidu.com/edeed/item/7e511dd9d1e4003e48e1dd8a
- Xmanager连接CentOS6
- 使用Xmanager 远程连接 CentOS6
- Xmanager远程连接CentOS6.4
- xmanager(xstart5)连接centos6.5
- 使用 xmanager 4 远程连接 centos6.3
- 使用Xmanager 远程连接Centos6.5
- windows系统利用Xmanager远程连接CentOS6.5系统
- 使用Xmanager远程连接CentOS6.4图形界面详解(图文)
- centos6.5安装图形界面,Xmanager连接Linux6.5图形界面
- Xmanager连接fedora7
- xmanager连接solaris10问题
- Xmanager连接Linux图形界面
- Xmanager 3连接Gnome
- xmanager 连接centos
- Xmanager连接AIX
- 配置Xmanager连接
- XManager连接solaris 10
- xmanager 连接linux 5.4
- 关于Sencha Touch 2.1 Cmd jsb3
- 一致性哈希算法实现 PHP版
- 1046. Plane Spotting排序
- 频谱和波段划分
- BOOST的Singleton模版详解
- Xmanager连接CentOS6
- 1051. Biker's Trip Odomete简单题
- 使用dbunit向数据库中插入xml数据
- 1176. Two Ends两人从两头取数
- gethibernatetemplate的find方法使用说明
- ant ftp 使用
- 如何在Visual Studio中打开REST SOE模板
- 1198. Substring 8个串排出最小字典序(8!枚举)
- 制定自己 ant 标签