IT猫扑网:您身边最放心的安全下载站! 最新更新| 软件分类| 专题汇总| 手机版

您当前所在位置:IT猫扑网 > 操作系统 > LINUX > linux配置X manager与VNC

linux配置X manager与VNC

时间:2015-06-28 00:00 来源:IT猫扑网|http://www.itmop.com/ 作者:网管联盟 我要评论(0)

    今天在oracle linux上配置了一下X manager 和vnc,是第一次配置vnc,vnc配置要比X manager简单许多这里记录一下:

    ----  X manager 配置:

    1.修改GDM的配置文件,/etc/X11/gdm/gdm.conf,将[xdmcp]中的enable选项设置为true

[xdmcp]
# Distributions: Ship with this off. It is never a safe thing to leave
# out on the net. Setting up /etc/hosts.allow and /etc/hosts.deny to only
# allow local access is another alternative but not the safest.
# Firewalling port 177 is the safest if you wish to have xdmcp on.
# Read the manual for more notes on the security of XDMCP.
Enable=true

    用vi编辑gdm.conf 进入后键入/xdmcp查找字符串xdmcp &n&是搜索下一句,这样就能快速的定位到xdmcp项

    2.修改/etc/X11/xdm/xdm-config文件,将DisplayManager.requestPort: 0注释掉

! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
!DisplayManager.requestPort: 0

    3.修改/etc/X11/xdm/Xaccess文件 #* #any host can get a login window 去掉此行首位的#

# right hand sides can match.
#
* #any host can get a login window
#
# To hardwire a specific terminal to a specific host, you can

    4. 如果有防火墙,请打开177的端口

    ok!配置完后用X manager进入吧

    ----VNC 配置

    1.检查rpm包是否安装

[oracle@niuge ~]$ rpm -qa|grep vnc
vnc-server-4.0-11.el4
vnc-4.0-11.el4

    只要有第一个vnc-server-4.0-11.el这个就足够,这是服务端运行程序。如未安装,请安装

    2.安装好后运行 vncserver

[test@niuge ~]$ vncserver

You will require a password to access your desktops.

Password:
Verify:
xauth: creating new authority file /home/test/.Xauthority

New 'niuge:3 (test)' desktop is niuge:3

Creating default startup script /home/test/.vnc/xstartup
Starting applications specified in /home/test/.vnc/xstartup
Log file is /hom

关键词标签:linux,VNC

相关阅读 安装红帽子RedHat Linux9.0操作系统教程 Tomcat9.0如何安装_Tomcat9.0环境变量配置方法 多种操作系统NTP客户端配置 Linux操作系统修改IP Linux实现SCSI硬盘热插拔及在线识别 Linux下用CDMA modem拨号上网

文章评论
发表评论

热门文章 安装红帽子RedHat Linux9.0操作系统教程 安装红帽子RedHat Linux9.0操作系统教程 Linux服务器:设计高性能网站架构-LLMP Linux服务器:设计高性能网站架构-LLMP 使用Clonezilla迁移到虚拟Linux环境 使用Clonezilla迁移到虚拟Linux环境 Linux上的MRTG流量监控中心 Linux上的MRTG流量监控中心 Linux 双网卡绑定一个IP原理及实现 Linux 双网卡绑定一个IP原理及实现 linux和windows等系统远程控制ubuntu桌面 linux和windows等系统远程控制ubuntu桌面

相关下载

人气排行 Linux下获取CPUID、硬盘序列号与MAC地址 dmidecode命令查看内存型号 linux tc实现ip流量限制 安装红帽子RedHat Linux9.0操作系统教程 linux下解压rar文件 lcx.exe、nc.exe、sc.exe入侵中的使用方法 Ubuntu linux 关机、重启、注销 命令 查看linux服务器硬盘IO读写负载 linux命令行浏览器的使用方法 Linux NFS服务固定端口及防火墙配置 U盘安装Ubuntu 10.04 Linux清除用户登录记录和命令历史方法