vnc

Ubuntu 18.04.3 LTS server版配置vnc

徘徊边缘 提交于 2020-02-05 04:30:12
使用x11vnc作为vncserver端 1 安装x11vnc sudo apt-get update sudo apt-get install x11vnc 2 生成密码 sudo x11vnc -storepasswd Enter VNC password: ********* Verify password: ********* Write password to /home/USERHOME/.vnc/passwd? [y]/n y Password written to: /home/rahul/.vnc/passwd 3 开启服务 #编辑 /lib/systemd/system/x11vnc.service文件,设为开机启动 sudo vim /lib/systemd/system/x11vnc.service #在文件中添加如下内容 [Unit] Description=Start x11vnc at startup. After=multi-user.target [Service] Type=simple ExecStart=/usr/bin/x11vnc -auth guess -once -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared

CentOS 7 搭建VNC

女生的网名这么多〃 提交于 2020-02-01 08:08:55
VNC搭建 服务器: [root@zdj ssh]# rpm -qa|grep vnc tigervnc-1.1.0-5.el6.x86_64 libvncserver-0.9.7-4.el6.x86_64 gtk-vnc-python-0.3.10-3.el6.x86_64 gtk-vnc-0.3.10-3.el6.x86_64 tigervnc-server-1.1.0-5.el6.x86_64 ---------------------已经安装VNC [root@zdj ssh]# yum install tigervnc* -----------安装VNC [root@zdj ssh]# vncserver :3 -------开启三号桌面 You will require a password to access your desktops. Password: -------设置VNC密码 Verify: New ‘zdj.hncsxy.com:3 (root)’ desktop is zdj.hncsxy.com:3 Creating default startup script /root/.vnc/xstartup Starting applications specified in /root/.vnc/xstartup Log file is /root/

【树莓派】使用VNC进行远程控制

核能气质少年 提交于 2020-01-29 02:49:59
之前有进行过VNC以及xrdp连接树莓派,并成功了。 这里看到一篇比较新的,基于mac的连接,文章转载收藏,实践可参考。 这一课里我们将学习如何在树莓派上安装和使用VNC。它可以使你通过图形界面的方式访问树莓派的桌面,就好像你正坐在小派的前面。 以这种方式连接小派可以节省桌面空间,使你的桌面不会乱糟糟的,不会这儿一套键盘鼠标那儿又有一套。这也可以使你把你的小派放到能连上网的其他地方,并远程控制它。 安装VNC SSH(详见: http://www.boydwang.com/2014/05/adafruits-raspberry-pi-lesson-6-using-ssh/ )通常对于控制树莓派来说已经足够了,但是有时使用鼠标进行远程控制并且能够看到树莓派的屏幕也非常有用。 VNC(Virtual Network Connection,可视化网络连接)正是能够做到这一点的一套标准。要使用它,你得在小派上安装一些软件。现在已经有许许多多的VNC server应用,我们接下来将要使用的一款叫做”tightvnc”。 我们可以通过先前已经建立好的SSH连接来安装VNC server。 在SSH终端里输入下列命令: 1 2 sudo apt - get update sudo apt - get install tightvncserver 当出现提示时按一下”Y”

龙芯 Fedora 28 设置 VNC

拥有回忆 提交于 2020-01-28 20:02:44
系统为龙芯版Fedora28 (床28) Fedora防火墙默认阻止了VNC所需的端口的访问,导致VNC客户端一直无法连接。 安装VNC Server sudo dnf install tigervnc-server 使用 vncserver 启动服务 第一次启动会提示需要设定VNC的密码,并生成默认配置文件。后期若想修改VNC用户密码,可使用 vncpasswd 命令修改。注意打开的桌面号,为 1 则端口为 5901. 若将当前桌面作为远程桌面,端口默认为 5900: x0vncserver PasswordFile=/home/<username>/.vnc/passwd display=':0.0' 将<username>改为你自己的用户名。 防火墙设置 可以永久开启这些端口,但我选择暂时打开,不用的时候保持默认状态。 sudo iptables -I INPUT -p tcp --dport 5901 -j ACCEPT 如果要将设置持久化,运行一下命令 service iptables save service itptables restart 我的操作 由于日常使用需要开启当前桌面和一个虚拟桌面,我创建了一个 .sh 脚本方便使用。 内容如下: echo "Opening needed port" sudo iptables -I INPUT -p tcp -

Linux Deploy 总结经验

霸气de小男生 提交于 2020-01-28 16:26:44
##在Linuxdeploy上踩了很久的坑,也发现了不少问题。结合我使用Linux的经验应用于linuxdeploy中总结了一些体会。希望能让后来者少走弯路,更快的可以使用它。纯手打,望尊重作者劳动。 测试手机: 红米note2(刷入第三方开发版集成ROOT环境) 使用软件: Linux Deploy(2.5.1) JuiceSSH(最新版) VNC Viewer(推荐使用蓝色图标版本) Busy Box(瑞士军刀) Linux Deploy设置 屏幕常亮 打开 CPU唤醒 打开 时间戳 推荐打开 PATH变量 /systeam/xbin Linux Deploy属性配置 注释 发行版GNU/Linux Kali Ubuntu 架构 arm64 arm64 发行版GNU/Linux版本 kali-rolling 源地址 http://mirrors.tuna.tsinghua.edu.cn/kali/ http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ 清华大学开源镜像站,目前国内清华的测试较好,没有发生过问题 安装类型 镜像文件 也可分区,安装在手机内部推荐镜像类型,外置SD卡推荐分区类型,SD卡最好先在电脑上格式化为ext4格式,当然SD卡也可以装镜像文件,但是不推荐这么做,一般SD卡为FAT32,这种格式单个文件上限为4G

在centOS上安装VNC

五迷三道 提交于 2020-01-26 17:28:11
步骤如下: 1.搜寻VNC Server [root@msg45 wasliberty]# yum search tigervnc-server Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.advancedhosters.com * extras: mirrors.advancedhosters.com * updates: mirrors.advancedhosters.com ================================= N/S Matched: tigervnc-server ================================= tigervnc-server.x86_64 : A TigerVNC server tigervnc-server-applet.noarch : Java TigerVNC viewer applet for TigerVNC server tigervnc-server-module.x86_64 : TigerVNC module to Xorg Name and summary matches only, use

linux中安装配置vnc

戏子无情 提交于 2020-01-25 03:35:11
要求在图形化界面的虚拟机 安装实验环境 [ root@localhost ~ ] # yum install -y vnc-server vnc vim 启动VNCSERVER [ root@localhost ~ ] # vncserver :1 You will require a password to access your desktops. Password:自己设置的密码 Verify:和上述一样就行 New 'localhost:1 (zx)' 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 [ root@localhost ~ ] # vim /etc/sysconfig/vncservers VNCSERVERS = "2:hubery" VNCSERVERARGS [ 2 ] = "-geometry 800x600 -nolisten tcp -nohttpd -localhost" 在远程Windows机器安装VNC Viewer软件并打开 来源: CSDN

阿里云服务器搭建Ubuntu可视化界面

半世苍凉 提交于 2020-01-25 02:41:23
阿里云服务器搭建Ubuntu可视化界面 2020-01-19 小先生-黄泽金 【关键词】:阿里云服务器,Ubantu,VNC,服务器端口配置 设置远程连接 实例——远程连接(账号名:root,密码:为重置密码) 安装配置软件 一、VNC的安装与配置 安装之前更新系统套件,输入: apt-get update 正式安装VNC,中途需要输入“ Y “进行确认: apt-get install vnc4server ​ (若已安装VNC,则会显示已安装的版本信息) 启动VNC vncserver ​ 设置密码 Password: ​ 确认密码 Verify: ​ 显示以下信息则说明VNC启动成功: 二、gnome 桌面环境安装与配置 安装x-windows的基础 sudo apt-get install x-window-system-core 安装登录管理器 sudo apt-get install gdm 安装Ubuntu的桌面 sudo apt-get install ubuntu-desktop 安装gnome配套软件 sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal 修改VNC配置文件 vi ~/.vnc/xstartup ​ 修改为: #!/bin

vncserver supports unix domain sockets

末鹿安然 提交于 2020-01-25 00:03:29
问题 can you help me in finding a vncserver that supports UNIX domain socket or any other tweak tightvnc creates a socket file under /tmp/.X11-unix/X${display_number} but i'm not sure that this would work thanks in advance 回答1: You can do it with Tigervnc or X2go: Tigervnc Tigervnc added Unix domain socket with -rfbunixpath. You can obtain Tigervnc in two ways at less, using the official build or your OS packages system, and they differ a little bit (for Debian at less, maybe other OS's too):

vncserver supports unix domain sockets

▼魔方 西西 提交于 2020-01-25 00:03:22
问题 can you help me in finding a vncserver that supports UNIX domain socket or any other tweak tightvnc creates a socket file under /tmp/.X11-unix/X${display_number} but i'm not sure that this would work thanks in advance 回答1: You can do it with Tigervnc or X2go: Tigervnc Tigervnc added Unix domain socket with -rfbunixpath. You can obtain Tigervnc in two ways at less, using the official build or your OS packages system, and they differ a little bit (for Debian at less, maybe other OS's too):