redhat 配置vnc server

Redhat 配置vnc server

# yum install xorg-x11-fonts-misc  (或rpm安装)

# rpm -i vnc-server-4.1.2-14.el5_6.6.x86_64.rpm  (需要从网上下)

# vncserver    (需记下生成的序号  如“:1”)

两次密码

# vi .vnc/xstartup

按a进入编辑模式

#!/bin/sh

# Uncomment the following two lines for normal desktop:

unset SESSION_MANAGER           (默认是注掉的)

exec /etc/X11/xinit/xinitrc      (默认是注掉的)

#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup  (默认是不注掉的)

#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources   (默认是不注掉的)

#xsetroot -solid grey                          (默认是不注掉的)

#vncconfig -iconic &                (默认是不注掉的)

#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &        (默认是不注掉的)

#twm &          (默认是不注掉的)

按Esc键退出编辑模式

:wq  (保存并退出)

# vncserver -kill :1  (上面生成的序号,非固定":1")

# vncserver

调整防火墙策略:

# vi /etc/sysconfig/iptables

按a进入编辑模式

-A INPUT -p tcp -m multiport --dport 5801,5901,6001 -j ACCEPT

按Esc键退出编辑模式

:wq  (保存并退出)

# service iptables restart

后面Windows vnc客户端略 (输入ip:序号即可)

时间: 2024-12-12 11:53:17

redhat 配置vnc server的相关文章

redhat配置vnc

Redhat 配置vnc server # yum install xorg-x11-fonts-misc  (或rpm安装) # rpm -i vnc-server-4.1.2-14.el5_6.6.x86_64.rpm  (需要从网上下) # vncserver    (需记下生成的序号  如":1") 两次密码 # vi .vnc/xstartup 按a进入编辑模式 #!/bin/sh # Uncomment the following two lines for normal

Linux Study之--RedHat EL6配置VNC server

Linux Study之--RedHat EL6配置VNC server 系统环境:    操作系统:RedHat EL6.4(64)    RH6在vnc server的安装及配置和RH5稍微有不同,以下案例在RH EL6.4上安装配置vnc server 1.查看vnc 安装包 [[email protected] ~]# rpm -qa |grep vncgtk-vnc-0.3.10-3.el6.x86_64libvncserver-0.9.7-4.el6.x86_64gtk-vnc-py

centos6.x 配置 vnc server

环境:  centos6.x 桌面环境 用户root 安装vnc服务端软件 yum install -y tigervnc-server 配置vnc vncserver :1 设置密码后会自动生成相关配置文件 如下 [email protected] ~]# vncserver :1 You will require a password to access your desktops. Password: Verify: xauth: (stdin):1:  bad display name 

RedHat 简易配置 VNC Server 与VNC View详细说明

首先下载Linux版本的VNC文件. 下载地址:http://www.realvnc.com/download/vnc/ 如:VNC-5.0.2-Linux-x86-RPM.tar.gz(其实解压出来后,就会有Server与View的RPM安装包了) #tar -zxvf VNC-5.0.2-Linux-x86-RPM.tar.gz #rpm -ivh VNC-Server-5.0.2-Linux-x86-RPM VNC-View-5.0.2-Linux-x86-RPM 一般都要用到依赖包:xt

CentOS中配置VNC Server

环境:CentOS 6.4 1.安装tigervnc-server及相关软件 首先检查系统中是否安装tigervnc-server安装包 rpm -qa tigervnc-server 如果没有就直接安装 yum install tigervnc-server* 2.修改vncserver的配置文件,配置用户及分辨率 vncserver的配置文件/etc/sysconfig/vncservers 参照最后两行注释,对应自己的设置,添加新的两行 VNCSERVERS="2:test" V

CentOS7配置VNC Server

CentOS7与6有些许变化,感觉有点不太适应. Step 1: 安装tigervnc server 和 X11 fonts: [[email protected] ~]# yum install tigervnc-server xorg-x11-fonts-Type1 Step 2:将VNC server的配置文件复制到/etc/systemd/system/下: [[email protected] ~]# cp /lib/systemd/system/[email protected] /

Ubuntu配置VNC server

安装vncserver后,默认的配置下只有一个很“朴素”的图形界面(没有抓图,就一个黑白窗口),要支持Ubuntu的桌面,并且支持和windows之前复制粘贴文字,需要修改xstartup配置文件如下: [email protected]:~/.vnc$ cat xstartup#!/bin/sh # Uncomment the following two lines for normal desktop:# unset SESSION_MANAGER# exec /etc/X11/xinit/

ubuntu16.04 安装 vnc server 及eclipse配置

Ubuntu 16.04 VNC Server 配置 1. 安装 x11vnc server sudo apt-get install x11vnc 2. 配置vnc server密码 sudo x11vnc -storepasswd /etc/x11vnc.pass 3. 创建服务文件 vi /lib/systemd/system/x11vnc.service [Unit] Description=Start x11vnc at startup. After=multi-user.target

RHEL 6.4 VNC Server 用户配置

VNC (Virtual Network Computer)是虚拟网络计算机的缩写.VNC 是一款优秀的远程控制工具软件,由著名的 AT&T 的欧洲研究实验室开发的.VNC 是在基于 UNIX 和 Linux 操作系统的免费的开源软件,远程控制能力强大,高效实用,其性能可以和 Windows 和 MAC 中的任何远程控制软件媲美. 在 Linux 中,VNC 包括以下四个命令:vncserver,vncviewer,vncpasswd,和vncconnect.大多数情况下用户只需要其中的两个命