vnc

Linux环境KVM布署学习

流过昼夜 提交于 2020-01-24 22:12:28
1、环境检查: 查看CPU是否支持虚拟化: cat /proc/cpuinfo |grep -E "vmx|svm" Vmware虚拟机centos需要开启cpu虚拟化支持: 与虚拟化相关的程序包: qemu-kvm 主要的KVM程序包 libvirt 用于管理超级监视程序的libvirtd服务 libvirt-client 用于管理虚拟机的virsh命令和客户端API virt-install 创建虚拟机所需要的命令行工具 virt-manager GUI虚拟机管理工具 virt-top 虚拟机统计命令 virt-viewer 用于连接到虚拟机的图形控制台 2、KVM安装布署 yum安装布署: *本次yum安装的版本为libvirt-4.5.0-10.el7_6.6.x86_64 yum install qemu-kvm libvirt libvirt-client virt-install virt-manager virt-top virt-viewer -y 一般情况下,只要选择了正确的程序包,系统会自动加载合适的内核模块,查看是否加载相关的内核模块 lsmod |grep kvm 载入可应用的模块(AMD CPU为kvm_amd): modprobe kvm_intel /etc/libvirt/qemu.conf追加如下配置(标红部分为vnc连接密码): vnc

first time running qemu, vnc viewer not open automatically

纵然是瞬间 提交于 2020-01-24 13:53:07
问题 Recently I downloaded qemu, and ran configure, make and make install. when I run qemu-system-sparc linux-0.2.img I just see a message below VNC server running on `::1:5900' At this state, when I open vncviewer window by typing vncviewer :5900 , then I see the window. The window shows the emulated screen Welcome to OpenBIOS v1.1 build on Mar 10 2014 08:41 Type 'help' for detailed information Trying disk... No valid state has been set by load or init-program 0> How can I make the vnc window

C: can I forward port for external application with libssh?

拟墨画扇 提交于 2020-01-24 12:06:45
问题 I'm implementing VNC connection for xen VM in my app. In order to connect I have to forward the port as XenServer accept only local connection. I do it like this: ssh -L 5903:localhost:5903 root@192.168.1.4 After it a can connect my VNC to localhost with corresponding port. But I have to frequently reconnect to different hosts, and using bash is not a good idea as I have a windows build also. Installing ssh-client is not always possible. I read http://api.libssh.org/stable/libssh_tutor

C: can I forward port for external application with libssh?

自闭症网瘾萝莉.ら 提交于 2020-01-24 12:06:12
问题 I'm implementing VNC connection for xen VM in my app. In order to connect I have to forward the port as XenServer accept only local connection. I do it like this: ssh -L 5903:localhost:5903 root@192.168.1.4 After it a can connect my VNC to localhost with corresponding port. But I have to frequently reconnect to different hosts, and using bash is not a good idea as I have a windows build also. Installing ssh-client is not always possible. I read http://api.libssh.org/stable/libssh_tutor

VNC远程连接树莓派

一笑奈何 提交于 2020-01-24 09:18:49
使能remote graphical access 键入如下命令: sudo raspi-config 选择Advanced options 使能VNC remote graphical access ![Enable VNC](https://img-blog.csdnimg.cn/20200124083435510.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3UwMTA4MTEwNjI=,size_16,color_FFFFFF,t_70 开机启动VNC server服务 编辑/home/pi/.bashrc,在文件最后添加,如下命令 vncserver 配置VNC登陆密码 键入如下命令,按提示设置密码: vncpasswd 来源: CSDN 作者: suph 链接: https://blog.csdn.net/u010811062/article/details/104079342

Linux安装设置VNC远程桌面

走远了吗. 提交于 2020-01-21 12:01:51
1,先检查一下服务器是否已经安装了VNC服务,没有安装,检查服务器的是否安装VNC的命令如下 [root@linuxidc rpms]# ps -eaf|grep vnc root 1789 1557 0 17:30 pts/0 00:00:00 grep vnc [root@linuxidc rpms]# [root@linuxidc rpms]# rpm -qa | grep vnc [root@linuxidc rpms]# 2,如果没有安装vnc可以使用下面命令进行安装: yum install tigervnc tigervnc-server -y 顺利安装完,check下 [root@linuxidc rpms]# rpm -qa | grep vnc tigervnc-1.1.0-16.el6. CentOS .x86_64 tigervnc-server-1.1.0-16.el6.centos.x86_64 libvncserver-0.9.7-4.el6.x86_64 [root@linuxidc rpms]# 3,接下来就是安装之后的配置问题了,使用下面的命令编辑配置文件: vim /etc/sysconfig/vncservers VNCSERVERS="1:root" VNCSERVERARGS[1]="-geometry 800x600"

CentOS7.x安装VNC实录

无人久伴 提交于 2020-01-18 22:13:09
CentOS7.x安装VNC实录 不知不觉,centos已经到7.6了,在服务器操作系统中,centos是用的比较多的,占很大的比例。由于7.x版本和6.x版本有区别,最近安装了7.6的VNC,特记之。 VNC需要系统安装的有桌面,如果是生产环境服务器,安装时使用的最小化安装,那么进行下面操作按章GNOME 桌面。 # 列出的组列表里有GNOME Desktop。 yum grouplist #安装之 yum groupinstall -y "GNOME Desktop" # 安装完成后,修改默认启动方式为图形化界面 systemctl set-default graphical.target //设置成图形模式 # 如果要换回来 systemctl set-default multi-user.target //设置成命令模式 #然后重启系统即可 第一步:安装VNC服务软件,使用root用户执行以下命令(以下操作没有特别说明均在root用户): yum install tigervnc-server -y 安装后可以使用如下命令来验证是否安装成功: rpm -qa|grep tigervnc-server 第二步:复制vnc的启动操作脚本, vncserver@:1.service中的:1表示"桌面号",启动的端口号就是5900+桌面号,即是5901,如果再有一个就是2啦

Centos7远程桌面 vnc-server设置

a 夏天 提交于 2020-01-17 12:57:57
Centos7远程桌面 vnc-server设置 1, 要以界面化方式访问服务器,首先要确认目标服务器安装了图形化环境,Linux系统下常见的桌面环境有GNOME和KDE,这里安装GNOME桌面,执行命令如下: yum -y groupinstall "GNOME Desktop" 2, 安装 vncserver 服务 yum install -y tigervnc-server tigervnc cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service #替换文件中的两行,其实就是将<user>换成root vi /etc/systemd/system/vncserver@:1.service ExecStart=/usr/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i" PIDFile=/home/<USER>/.vnc/%H%i.pid 改为下面的: ExecStart=/sbin/runuser -l root -c "/usr/bin/vncserver %i" PIDFile=/root/.vnc/%H%i.pid 1) 关闭防火墙 centos的防火墙是firewalld,关闭防火墙的命令 [root

Fedora 31 :远程图形桌面: tigervnc

做~自己de王妃 提交于 2020-01-16 08:55:19
一切的关键是得有X server,再然后就是有X window manager step 1:yum install tigervnc-server step 2 : 创建相应的vnc用户,并启用一次【vncserver】程序进行初次用户vnc配置 step 3 : 关键来了:配置相应用户的xstartup配置     $HOME/.vnc/xstartup step 1+3 : 你想启动什么样的XWM,就安装相应的XWM,并修改xstartup的配置即可 来源: https://www.cnblogs.com/jinzhenshui/p/12199503.html