VNC配置连接远程服务器桌面-linux\windows
2015-06-15 10:21
1596 查看
一、VNC配置连接远程服务器桌面
1、服务器安装VNC-server# yum -y install vnc-server
2、配置VNC连接登陆密码
# vncpasswd 回车
3、配置VNC-server
# vi /etc/sysconfig/vncservers
4、取消以下两行的注释
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 1024x768"
保存退出
5、启动VNC-server
# /etc/init.d/vncserver start
6、查看你VNC-server端口号
# ps aux | grep vnc*
root 9472 0.0 0.4 137560 34260 pts/2 S 09:50 0:00 /usr/bin/Xvnc :2 -desktop dy001.cn:2 (root) -auth /root/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5902 -fp catalogue:/etc/X11/fontpath.d -pn
端口号为5902
7、配置iptables开启5902端口
二、windows安装VNC客户端
安装完成后 启动VNC Viewer启动界面输入IP:端口号 确定以连接
输入vncpasswd设置的密码
登陆成功
相关文章推荐
- linux 命令——6 rmdir(转)
- linux 命令——5 rm(转)
- Linux-iptables原理
- 每天进步一点点——linux——pwd
- DNS服务器搭建
- 每天进步一点点——linux——ls
- 浅析 Linux 初始化 init 系统,第 2 部分: UpStart
- 浅析 Linux 初始化 init 系统,第 1 部分: sysvinit
- Linux开发基于Qt的Android应用指定调试设备
- Linux curl命令详解
- The journey of a packet through the linux 2.4 network stack
- 学习笔记之 Linux 程序如何从用户态切换到内核态 反之呢
- [工程备案]linux基本命令以及C和C++编程
- 学习笔记 之 linux netfilter
- ARM-Linux--ADC 驱动(查询方式)
- Linux Kernel 4.1将是下一个长期支持版
- arm-linux --ADC驱动(中断方式)
- 鸟哥的linux私房菜学习笔记 ---第8章-1
- linux中DNS服务配置详解
- centos同步北京时间