xmanager 4远程登录CentOS 6.5桌面设置
2015-07-09 15:17
411 查看
1. 在需要远程登录CentOS 6.5的操作系统(一般是Windows)上安装Xmanager 4
2. 设置CentOS 6.5
<pre name="code" class="html">[root@localhost ~]# vi /etc/inittab
# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# System initialization is started by /etc/init/rcS.conf
#
# Individual runlevels are started by /etc/init/rc.conf
#
# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
#
# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,
# with configuration in /etc/sysconfig/init.
#
# For information on how to write upstart event handlers, or how
# upstart works, see init(5), init(8), and initctl(8).
#
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
<strong><span style="color:#ff0000;">id:5:initdefault:</span></strong>
将系统启动的级别设置为5。
3. 配置gdm与远程登录端口号
[root@localhost ~]# vi /etc/gdm/custom.conf
# GDM configuration storage
[daemon]
[security]
[xdmcp]
Enable=true
Port=177
[greeter]
[chooser]
[debug]
4. 设置服务器端的防火墙,开放177端口
[root@localhost ~]# vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m udp -p udp --dport 177 -j ACCEPT
5. 重启CentOS 6.5 服务器
6. 客户端远程使用Xmanager4 的Xbrowser登录至CentOS 6.5
2. 设置CentOS 6.5
<pre name="code" class="html">[root@localhost ~]# vi /etc/inittab
# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# System initialization is started by /etc/init/rcS.conf
#
# Individual runlevels are started by /etc/init/rc.conf
#
# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
#
# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,
# with configuration in /etc/sysconfig/init.
#
# For information on how to write upstart event handlers, or how
# upstart works, see init(5), init(8), and initctl(8).
#
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
<strong><span style="color:#ff0000;">id:5:initdefault:</span></strong>
将系统启动的级别设置为5。
3. 配置gdm与远程登录端口号
[root@localhost ~]# vi /etc/gdm/custom.conf
# GDM configuration storage
[daemon]
[security]
[xdmcp]
Enable=true
Port=177
[greeter]
[chooser]
[debug]
4. 设置服务器端的防火墙,开放177端口
[root@localhost ~]# vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m udp -p udp --dport 177 -j ACCEPT
5. 重启CentOS 6.5 服务器
6. 客户端远程使用Xmanager4 的Xbrowser登录至CentOS 6.5
相关文章推荐
- Linux下SVN服务器自动更新文件到Web目录的方法
- Synopsys.Fpga.Synthesis.vJ-2015.03.Linux&windows FPGA实现和调试环境
- git与github在centos下的使用
- HDL.Companion.v2.8.R1.for.Windows & linux64 编程开发软件
- 设置CentOS防火墙开放端口
- 初碰linux
- centos 7 u盘安装
- linux服务器磁盘扩容的方法
- VisualSVN Server仓库迁移到Linux(包含所有版本, 权限,用户信息)
- Linux下JDK中文字体乱码
- SVN服务器从Windows迁移到LInux
- 云计算之路-阿里云上:Linux内核bug引起的“黑色10秒钟”
- Qt程序在windows 和 linux 下打包发布
- linux学习一
- linux C之access函数
- LAMP环境搭建(Ubuntu
- Linux ipcs命令与ipcrm命令的用法详解
- CentOS 6.6 安装Cacti
- CentOS6.4 安装GCC&G++编译器
- Linux CentOS 6.6安装JDK1.7