vnc

怎样在 CentOS 7.0 上安装和配置 VNC 服务器

▼魔方 西西 提交于 2019-12-01 12:20:52
原文: http://linoxide.com/linux-how-to/install-configure-vnc-server-centos-7-0/ 作者: Arun Pyasi 译文: LCTT https://linux.cn/article-5335-1.html 译者: boredivan 这是一个关于怎样在你的 CentOS 7 上安装配置 VNC 服务的教程。当然这个教程也适合 RHEL 7 。在这个教程里,我们将学习什么是 VNC 以及怎样在 CentOS 7 上安装配置 VNC 服务器 。 我们都知道,作为一个系统管理员,大多数时间是通过网络管理服务器的。在管理服务器的过程中很少会用到图形界面,多数情况下我们只是用 SSH 来完成我们的管理任务。在这篇文章里,我们将配置 VNC 来提供一个连接我们 CentOS 7 服务器的方法。VNC 允许我们开启一个远程图形会话来连接我们的服务器,这样我们就可以通过网络远程访问服务器的图形界面了。 VNC 服务器是一个自由开源软件,它可以让用户可以远程访问服务器的桌面环境。另外连接 VNC 服务器需要使用 VNC viewer 这个客户端。 一些 VNC 服务器的优点: 远程的图形管理方式让工作变得简单方便。 剪贴板可以在 CentOS 服务器主机和 VNC 客户端机器之间共享。 CentOS 服务器上也可以安装图形工具

centos6/7安装使用tigervnc-server

痞子三分冷 提交于 2019-12-01 12:20:37
参考: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-remote-access-for-the-gnome-desktop-on-centos-7 centos6和centos7安装使用 tigervnc-server 的方法有些不同。记录一下。 客户端使用 tigervnc-viewer centos6 关闭防火墙和selinux 。 安装 yum -y install tigervnc-server 修改配置文件 vim /etc/sysconfig/vncservers 配置如下: 把配置最后两行注释取代。 5 代表监听5905端口(vncserver使用590*端口),root是以此计算机的上什么用户。第二行是分辨率。最后的有监听本地端口也可以去掉。不然只监听本地。 VNCSERVERS = "5:root" VNCSERVERARGS [ 1 ] = "-geometry 800x600 -nolisten tcp " 配置vnc登陆密码: vncspasswd 4.启动服务。 service vncserver start 可看到5095端口被监听。 服务可使用。 centos7 安装使用 安装 yum install -y tigervnc* 配置

centos 7 安装 vnc server

早过忘川 提交于 2019-12-01 12:20:28
1.环境 vmware 10 workstation centos7 2.参考 https://linuxize.com/post/how-to-install-and-configure-vnc-on-centos-7/ 进行安装。昨天由于没有安装xwindow环境,vncserver服务一直启动不起来。今天参考这篇文章安装了xfce。服务成功启动。 3.windows宿主机安装vnc viewer 然后连接vnc server 效果如图: 来源: CSDN 作者: niufw_qb 链接: https://blog.csdn.net/niufw_qb/article/details/89761079

vnc centos 7 搭建

余生长醉 提交于 2019-12-01 12:20:18
翻译自外文网站: https://linoxide.com/linux-how-to/install-configure-vnc-server-centos-7-0/ 首先试试服务器装了VNC没 [root@wic ~]# rpm -q tigervnc tigervnc-server 没安装的话会直接出现 package tigervnc is not installed package tigervnc-server is not installed 如果没有安装X-Windows 桌面的话要先安装Xwindows [root@wic ~]# yum check-update [root@wic ~]# yum groupinstall "X Window System" [root@wic ~]# yum install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts [root@wic ~]# unlink /etc/systemd/system/default.target [root@wic ~]# ln -sf /lib/systemd/system/graphical.target /etc/systemd/system

How to Install a VNC Server in Ubuntu

坚强是说给别人听的谎言 提交于 2019-12-01 12:18:57
1 Open a Terminal window. The Terminal window can be found under "Start" > "Utilities." 2 Download vnc4server and xinetd: sudo apt-get install vnc4server xinetd 3 Start the vnc4server: vnc4server You will be prompted for a password. This password will be used to log into the VNC session. After providing a password, you will get output that looks like: New 'laptop:3 (laptop)' desktop is laptop:3 Take notice of the number after the colon (:), in this case it is "3." Starting the vnc4server will cause a .vnc directory to be placed in your home directory. 4 Stop the vnc4server vnc4server -kill :3

How To Install / Configure VNC Server On CentOS 7.

不羁岁月 提交于 2019-12-01 12:18:39
February 4, 2015 | By Arun Pyasi in GUI , LINUX HOWTO Hi there, this tutorial is all about how to install or setup VNC Server on your very CentOS 7. This tutorial also works fine in RHEL 7. In this tutorial, we'll learn what is VNC and how to install or setup VNC Server on CentOS 7. As we know, most of the time as a system administrator we are managing our servers over the network. It is very rare that we will need to have a physical access to any of our managed servers. In most cases all we need is to SSH remotely to do our administration tasks. In this article we will configure a GUI

centos7.2 vncserver配置安装

梦想的初衷 提交于 2019-12-01 12:18:27
1.yum install tigervnc-server -y 2.cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service 3.修改配置文件 vi /etc/systemd/system/vncserver@:1.service ExecStartPre=/bin/sh -c ‘/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :’ #修改为需要登录的用户名 ExecStart=/usr/sbin/runuser -l XXX -c “/usr/bin/vncserver %i” #修改为需要登录的用户名 PIDFile=/home/XXX/.vnc/%H%i.pid ExecStop=/bin/sh -c ‘/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :’ 4.重新加载启动文件 systemctl daemon-reload 去用户的家目录下查看是否创建.vnc 目录 cd /home/XXX | ls -a 5.su XXX 切换到上边写的用户 6..执行vncpasswd 输入密码 查看在.vnc目录下是否产生passwd文件 切记一定要先su到用户再vncpasswd

centos6.x 配置 vnc server

一笑奈何 提交于 2019-12-01 02:21:21
环境: centos6.x 桌面环境 用户root 安装vnc服务端软件 yum install -y tigervnc-server 配置vnc vncserver :1 设置密码后会自动生成相关配置文件 如下 root@localhost ~]# vncserver :1 You will require a password to access your desktops. Password: Verify: xauth: (stdin):1: bad display name "localhost:1" in "add" command New 'localhost:1 (root)' desktop is localhost:1 Creating default startup script /root/.vnc/xstartup Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/localhost:1.log 配置防火墙 vnc服务默认使用5900以后端口 :1使用5901 :2使用5902 ##以此类推 查看使用哪个端口 netstat -tupln|grep vnc tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 5969/Xvnc

Ubuntu 的远程访问——XRDP

自古美人都是妖i 提交于 2019-12-01 02:20:18
需求 备选方案 软件 配置 存在的问题及解决方案 =============================================================== 1. 需求 通过远程桌面访问Ubuntu 14.04。 因为服务器需要托管在机房,不能直接接触到,但又时常需要远程访问一些图形化的程序,所以产生了远程桌面的需求。 2. 备选方案 实现该需求还是有很多方案可选的,但是各有优劣: SSH X11 Tunneling VNC XRDP 从我的使用体验来说: X11 Tunneling 是最简单的方案,但是局限比较大,经常出现无法转发的情况。体验不是很好。 VNC 可以通过TurboVNC、vnc4server、tightvncserver等实现,但是在分辨率上个人感觉体验不是很好,并且需要vncviewer来访问(其实软件很小) XRDP XRDP通过rdp协议进行通讯,可以方便的使用windows自带的mstsc进行访问,而且功能比较强大,自动缩放的体验比较棒。 因此,我选择XRDP作为远程桌面访问的方案。 3. 软件 xrdp xfce4 sudo apt-get install xrdp xfce4 xfce4-goodies gnome-icon-theme-full xrdp: 来源: 来自 universe,所以软件源中要加上universe

VNC服务器的搭建(带图形化支持)

半世苍凉 提交于 2019-11-30 21:17:44
环境:centos7.6最小化安装 图形化支持 如果希望安装简单的图形支持的话,仅包含gnome的最最最最基础的包的话可以使用以下命令 yum groups install "X Window System" yum install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts 如果想安装gnome全量的图形化工具支持的话。则执行以下命令 yum groupinstall "GNOME Desktop" "Graphical Administration Tools" 选上述之一的图形化支持执行命令之后使用以下命令修改系统的启动级别,修改为默认启动图形化界面 systemctl set-default graphical.target 1,先安装vncserver端 yum install tigervnc-server 2,创建vncserver运行的配置文件 cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service vncserver@:1.service 为配置文件的名称,文件名内的1含义为vnc的会话接口