VNC XEN 双鼠标问题 以及 使用 virt-manager 工具创建的 Xen 虚拟机配置文件不在 /etc/xen/ 目录中了
0.本人用的是Ubuntu 12.04,在其中安装xen 4.1,用的是virt-manager安装虚拟机
1.VNC XEN 双鼠标问题,在配置文件中加入:
找到:(usb 1),在之后加入:
(usbdevice tablet)
Ctrl+F找到了两处usb,我在之后都添加了如上语句。
然后保存
然后重启xend服务(不重启,你的sxp文件就被会重置)
service restart xend
2.使用 virt-install 工具创建的 Xen 虚拟机配置文件不在 /etc/xen/ 目录中了,可以使用下面的方法查看:
chenjunlu@ubuntu-Xen:/var/lib/xend$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
chenjunlu@ubuntu-Xen:/var/lib/xend$ su -
Password:
root@ubuntu-Xen:~# cd /var/lib/xend/domains/
root@ubuntu-Xen:/var/lib/xend/domains# ls
1cddab93-e5b5-0ed4-bce1-0456688e783b
root@ubuntu-Xen:/var/lib/xend/domains# cat 1cddab93-e5b5-0ed4-bce1-0456688e783b/config.sxp
(domain
(domid 4)
(vcpus_params ((cap 0) (weight 256)))
(PV_args '')
(memory_static_min 0)
(HVM_boot_policy '')
(PV_bootloader /usr/lib/xen-default/bin/pygrub)
(pool_name Pool-0)
(auto_power_on False)
(memory_static_max 536870912)
(cpus (()))
(actions_after_shutdown destroy)
(memory_dynamic_max 536870912)
(memory_sharing 0)
(superpages 0)
(is_a_template False)
(PV_bootloader_args '')
(memory_dynamic_min 536870912)
(VCPUs_live 1)
(target 0)
(actions_after_crash restart)
(uuid 1cddab93-e5b5-0ed4-bce1-0456688e783b)
(PV_ramdisk '')
(other_config ())
(name_label vm01)
(PV_kernel '')
(actions_after_reboot restart)
(VCPUs_at_startup 1)
(HVM_boot_params ())
(platform ((tsc_mode 0) (pci ()) (nomigrate 0)))
(VCPUs_max 1)
(Description '')
(pool_name Pool-0)
(bootloader /usr/lib/xen-default/bin/pygrub)
(vcpus 1)
(cpus (()))
(on_poweroff destroy)
(description '')
(on_crash restart)
(uuid 1cddab93-e5b5-0ed4-bce1-0456688e783b)
(bootloader_args '')
(name vm01)
(on_reboot restart)
(maxmem 512)
(memory 512)
(shadow_memory 0)
(vcpu_avail 1)
(features '')
(on_xend_start ignore)
(on_xend_stop ignore)
(start_time 1368765816.0)
(image
(linux
(kernel '')
(superpages 0)
(pci ())
(nomigrate 0)
(tsc_mode 0)
(notes
(FEATURES
'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel'
)
(VIRT_BASE 18446744071562067968)
(GUEST_VERSION 2.6)
(PADDR_OFFSET 18446744071562067968)
(GUEST_OS linux)
(HYPERCALL_PAGE 18446744071564189696)
(LOADER generic)
(ENTRY 18446744071564165120)
(XEN_VERSION xen-3.0)
)
)
)
(status 1)
(state ------)
(store_mfn 138822)
(console_mfn 138821)
(device
(vif
(bridge virbr0)
(mac 00:16:3e:8d:b5:31)
(script /etc/xen/scripts/vif-bridge)
(uuid ae0f0484-4d0c-923f-8e8b-30b8bf846f80)
(backend 0)
)
)
(device
(vbd
(protocol x86_64-abi)
(uuid a35aa2d6-145c-447c-a716-8b6c78dc3756)
(bootable 1)
(dev xvda:disk)
(uname file:/xen/vm01.img)
(mode w)
(backend 0)
(VDI '')
)
)
)
VNC XEN 双鼠标问题 以及 使用 virt-manager 工具创建的 Xen 虚拟机配置文件不在 /etc/xen/ 目录中了的更多相关文章
- virt manager 提示权限不允许(ubuntu)
问题描述: 新安装virt manager 打开提示权限不允许(ubuntu 15.04); 提示检查libvirt-bin包是否安装:libvirtd服务是否已运行:当前用户是否在libvirtd组 ...
- KVM虚拟化管理 virt manager常用操作
部分涉及到Linux.Nginx.tomcat.MySQL等的点滴操作记录,时间长了,就忘掉了,偶尔整理一下操作的history,就此简要备份一下: [原][BG]-一次虚拟化环境实践简要记录: ht ...
- Linux centos7下安装配置redis及Redis desktop Manager工具连接注意事项
基本工具:VMware12.CentOS-7-x86_64-Everything-1611.iso.redis-desktop-manager-0.8.0.3841 废话不多说,首先,关于什么是Red ...
- IBM Installation Manager 工具概述(转)
IBM Installation Manager 工具概述 IBM Installation Manager 是一款可运行在多种平台(如 IBM i. z/OS. Windows. Linux.Uni ...
- 1.5.6、CDH 搭建Hadoop在安装之前(定制安装解决方案---使用Cloudera Manager模板创建CDH群集)
使用Cloudera Manager模板创建CDH群集 您可以通过从Cloudera Manager管理的现有CDH群集导出群集模板来创建新的CDH群集.然后,您可以修改模板并使用它在新的主机集上创建 ...
- Tomcat的Admin和Manager工具初探
版本说明 apache-tomcat-5.5.28.zip(解压缩版) Manager工具是自带的,Admin工具apache-tomcat-5.5.28-admin.zip需要单独安装 下载地址:h ...
- 成功安装SQL Server实例后 无法找到SQL Server Configuration Manager工具的解决方案
有一次成功安装SQL Server实例后 ,但是在所有程序中无法找到SQL Server Configuration Manager工具,以下步骤是我们当时的解决方案.最后成功将这个工具的转移到了桌面 ...
- 使用net Manager工具远程连接oracle
一,在服务端配置oracle端口 在命令行中输入netca命令,打开相关配置默认端口号为1521 二,配置端口后使用Telnet工具调试端口是否联通 在命令行输入telnet 服务器ip 端口号 三, ...
- Cloudera Manager(CDH5)内部结构、功能包括配置文件、目录位置等
1. 相关目录 /var/log/cloudera-scm-installer : 安装日志目录./var/log/* : 相关日志文件(相关服务的及CM的)./usr/share/cmf/ : 程序 ...
随机推荐
- cv2 与 matplotlib 的 Bug 记录
cv2 的 imread 无法读取中文路径 解决方案: img = cv2.imdecode(np.fromfile(image_path,dtype=np.uint8),cv2.IMREAD_COL ...
- springboot工程pom的两种配置方式
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/20 ...
- 通过jstack与jmap分析一次线上故障
一.发现问题 下面是线上机器的cpu使用率,可以看到从4月8日开始,随着时间cpu使用率在逐步增高,最终使用率达到100%导致线上服务不可用,后面重启了机器后恢复. 二.排查思路 简单分析下可能出问题 ...
- linux学习笔记-6.权限
1.创建a.txt和b.txt文件,将他们设为其拥有者和所在组可写入,但其他以外的人则不可写入 chmod ug+w,o-w a.txt b.txt 2.创建c.txt文件所有人都可以写和执行 chm ...
- codevs 3022 西天收费站
题目描述 Description 唐僧师徒四人终于发现西天就在眼前,但猴子突然发现前面有n个收费站(如来佛太可恶),在每个收费站用不同的方式要交的钱不同,输入每个收费站的每种方法收的钱,输出最少花的钱 ...
- 理解%r和%s的区别
理解%r和%s的区别 %r会重现所表达的对象,%s会将所有转成字符串 eg1: print('i am %s years old' % 22) print('i am %r years old' % ...
- Cannot create a new pixel buffer adaptor with an asset writer input that has already started writing'
reason: '*** -[AVAssetWriterInputPixelBufferAdaptor initWithAssetWriterInput:sourcePixelBufferAttrib ...
- 如何快速将Linux文件系统迁移到Azure存储
概述 前一段时间一直在给一个客户将原先搭载在Linux(客户使用的是CentOS 7.0)上的NFS快速迁移到Azure存储上,并且为了保证数据完整性还需要另开一个存储做冷备,架构图如下: 通过Cli ...
- consul vs etcd3
https://sysadmin.libhunt.com/project/etcd/vs/consul
- stanford CS DB 课程 数据库系统实现
http://infolab.stanford.edu/db_pages/classes.html CS145: Introduction to Databases CS245: Databa ...