vnc

wifi远程连接树莓派3B

匿名 (未验证) 提交于 2019-12-02 21:56:30
树莓派可以连接上wifi,我用的是自己的小米路由器,目的是为了获取内网IP 下载 vnc viewer https://www.realvnc.com/en/connect/download/viewer/ 下载 PuTTY (中文版本) 在路由器后台,在DHCP里面找到IP 打开putty之后,在IP里面输入即可,默认端口设置不变 开启ssh 遇到connect refused SD卡插到电脑上面,在可以被windows读取的一个分区里面,建立一个txt文件 文件命名的时候,注意把名字改成ssh,没有后缀!没有后缀!没有后缀!之后就能用ssh连接 注意连接的时候出现login as 输入账户: pi 然后password 默认是 :raspberry(linux下面的密码输入不可见) 连接成功之后: sudo raspi-config 选择5.Interfacing Options 找到VNC(远程桌面) 选择 Yes(是)enable 然后sudo reboot 重启后重新连接ssh 下面正式开始配置 1.sudo nano /etc/init.d/vncserver 2.复制下面的内容 右键粘贴进去 #!/bin/sh ### BEGIN INIT INFO # Provides: vncserver # Required-Start: $local_fs #

基于ubuntu 14.04 kvm虚拟化部署

匿名 (未验证) 提交于 2019-12-02 21:53:52
1. 宿主机环境(dell备份服务器) Ubuntu 14.04 LTS 64位 内存:16G 硬盘:2T 2. 确认CPU是否支持硬件虚拟化 root@shwilling:~# egrep -o '(vmx | svm)' /proc/cpuinfo vmx vmx 如果有结果显示就OK 2. 安装相关软件包 apt-get install qemu-kvm qemu-system libvirt-bin bridge-utils qemu-kvm是虚拟机 bridge用于网络桥接虚拟机和宿主机之间通信 apt-get install virt-manager python-spice-client-gtk virt-manager为虚拟机管理程序(在x window中运行,需要用到python-spice-client-gtk) 3. 执行下面的命令查看kvm是否安装成功 root@shwilling:~# kvm-ok 输出如下: INFO: /dev/kvm exists KVM acceleration can be used 如果输出是这样: INFO: Your CPU does not support KVM extensions KVM acceleration can NOT be used 表明CPU不支持硬件虚拟化,还可以跑虚拟机不过非常慢

windows下通过VNC图形化访问Ubuntu桌面环境

独自空忆成欢 提交于 2019-12-02 21:36:36
windows下通过VNC图形化访问Ubuntu桌面环境 要在windows下图形化访问Ubuntu或其它Linux系统桌面环境有很多方法,我比较喜欢的是使用VNC服务,需要在Ubuntu下安装vncserver和在windows下安装客户端访问工具。 1. windows下客户端访问工具 对于VNC,客户端访问工具也有不少,比如RealVNC、VNCViewer等,我比较喜欢的是VNCViewer,比较小巧轻量级,使用也十分简单,如下图所示: 后面的:1是分配的桌面号,可以给不同的客户端分配不同的桌面号访问,如果是默认端口这样输入就可以了,如果设置了端口号还需要在IP后面加上端口号访问。 2. Ubuntu服务端配置 1) 首先安装vncserver服务 sudo apt-get install vnc4server 2)安装成功后,开启vnc服务 如果你想访问root用户的桌面环境就用sudo vncserver,如果访问当前普通用户的环境就直接vncserver即可,首次启动会要求设置密码,用来在客户端访问时使用,后面可以使用vncpasswd 修改。 启动vnc成功后,会在主目录下产生一个.vnc目录。 3)修改原有xstartup文件以图形化访问 如果不修改xstartup文件就在客户端下访问则会出现下面这样的界面: 也就是只有一个终端窗口没有图形界面

CentOS6.4下VNC Server最简配置

可紊 提交于 2019-12-02 21:36:19
CentOS6.4下VNC Server最简配置 环境: CentOS 6.4 Final,桌面安装了除KDE的所有组件 1、安装服务 yum install tigervnc-server 名字有点怪哦,CentOS5前叫vnc-server 2、运行并设置密码 vncserver :1 输入密码,会生成相关的文件 xauth: creating new authority file /root/.Xauthority New 'centos6-244:1 (root)' desktop is centos6-244:1 Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/centos6-244:1.log 3、配置用户 vim /etc/sysconfig/vncservers 最后一行加入: VNCSERVERS="1:root" 多个用户用空格分开,并要先su - 到那个用户运行vncserver :n来设定配置文件和密码 4、实用命令 usage: vncserver [:] [-name ] [-depth ] [-geometry x] [-pixelformat rgbNNN|bgrNNN] [-fp ] [-fg] ... vncserver -kill

Connecting to Android Emulator through VNC

你说的曾经没有我的故事 提交于 2019-12-02 18:55:24
How can we connect to Android emulator through VNC with the help of noVNC using javascript? i would like to render the emulator on my browser.How can that be done.thanks You can start the emulator on the console with emulator -avd <the avd name> and add options for qemu with -qemu in your case -qemu -vnc :2 will start a VNC server listening at Port 5902 . If you get an error, that your keymap was not found you can creating a symlink from android-sdks/tools/keymaps to the keymaps folder of your local qemu install. Until now I couldn't find out, how to forward the mouse to the VNC server. You'll

Linux: Screen desktop video capture over network, and VNC framerate

徘徊边缘 提交于 2019-12-02 17:07:20
Sorry for the wall of text - TL;DR: What is the framerate of VNC connection (in frames/sec) - or rather, who determines it: client or server? Any other suggestions for desktop screen capture - but "correctly timecoded"/ with unjittered framerate (with a stable period); and with possibility to obtain it as uncompressed (or lossless) image sequence? Briefly - I have a typical problem that I am faced with: I sometimes develop hardware, and want to record a video that shows both commands entered on the PC ('desktop capture'), and responses of the hardware ('live video'). A chunk of an intro

VNC怎么和宿主机共享粘贴板

不想你离开。 提交于 2019-12-02 15:34:09
VNC 怎么和宿主机共享 粘贴 板 假设目标主机是linux,终端主机是windows(就是在windows上使用 VNC 登陆linux) 在linux中执行vncconfig -nowin& 在linux选中文字后,无需其他按键,直接在windows中可以黏贴。 在windows中选中文字,Ctrl+C,在linux中按中键黏贴。 具体表现为: 在使用vncconfig &命令后,上面的VNC config出现后,就可以按照上面说的进行复制粘贴了。 来源: https://www.cnblogs.com/wxwgk/p/11751823.html

Using VNCserver + GUI application + Virtual Display in Docker container

我与影子孤独终老i 提交于 2019-12-02 01:08:26
I would like to run firefox (or any graphical application) inside docker container. My requirement: When I start the container, I should be creating a virtual display, starting VNC server and then the GUI application. This means after the container is successfully started, I can connect to the GUI application running inside the container via VNC client. When I close the application, the container should automatically stop. Attempt 1: I started with the example here https://hub.docker.com/r/devopsil/vnc-firefox/~/dockerfile/ In this example the developer starts the vnc server via CMD and keeps

Win自带mastc远程Cenots7桌面

我只是一个虾纸丫 提交于 2019-12-01 18:30:34
1、Centos7安装桌面 yum -y groups install "GNOME Desktop"startx 2、安装xrdp 操作需要root用户权限,所以,我们先切换为root用户: yum install epel-release -y 因为Xrdp最终会自动启用VNC,所以必须安装tigervnc-server,否则xrdp无法使用。安装vnc: yum install xrdp tigervnc-server -y 设置vnc用户登录密码 vncpasswd root 注释:经测试,后续新建的用户不用这样设置就可以直接使用 注释:修改 xrdp最大连接数(使用默认值,不修改也是可以的) :vim /etc/xrdp/xrdp.ini (默认是32) 3、防火墙设置 firewall-cmd --zone=public --add-port=3389/tcp --permanent 或 firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.1.1/24" port protocol="tcp" port="3389" accept firewall-cmd --reload 来源: https://www.cnblogs.com/huangyanqi/p

webshell提权20种思路

烈酒焚心 提交于 2019-12-01 17:28:10
1,SER-TU提权(通常是利用SERFTP服务器管理工具,首先要在安装目录下找到INI配置文件,必须具备可写入的权限) 2,RADMIN提权(大家并不陌生,我们在扫描4899空口令后,同样需要他来连接) 3,PCANYWHRER提权(也是远程客户端软件,下载安装目录的CIF文件进行破解) 4,SAM提权(SAM系统帐户,通常需要下载临时存放的SAM文件,然后进行HASH破解) 5,NC提权(利用NC命令,反弹一个端口,然后TELNET远程去连接一个端口,虽然权限不够大,但结合巴西烤肉,也是能够成功的) 6,PR提权(PR提权,这个就不多说了,最好是免杀的PR大杀器,这样更方面我们去操作) 7,IIS提权(IIS6.0提权,首先需要获取IIS的配置信息,利用工具进行添加后门用户) 8,43958提权(如果SER-TU有直接读入和执行的权限,那么我们就可以直接提权) 9,PERL提权(PERL提权通常是针对PERL文件夹下的提权方式,利用DIR目录%20NET USER这样来建立后门用户) 10,内网LCX提权(转发工具LCX,通常需要先本地监听一个端口,然后转发,针对内网,用本地的127连接对方的3389) 11,启动提权(如果服务器启动项有能够执行的权限,那么应该说管理员的技术肯定不精湛) 12,替换服务提权(替换某个服务EXE,比如SER-TU,可将原有的删除