mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
translated
This commit is contained in:
parent
a3218c3471
commit
1351be8a36
@ -1,81 +1,86 @@
|
||||
translating---geekpi
|
||||
# 如何在 XenServer 7 GUI 虚拟机(VM)上提高屏幕分辨率
|
||||
|
||||
# How to increase screen resolution on XenServer 7 GUI Virtual Machine (VM)
|
||||
内容
|
||||
|
||||
Contents
|
||||
* * [1. 目的][5]
|
||||
* [2. 要求][6]
|
||||
* [3. 难易性][7]
|
||||
* [4. 惯例][8]
|
||||
* [5. 指导][9]
|
||||
* [5.1. 获得 VM UUID][1]
|
||||
* [5.2. 关闭 VM][2]
|
||||
* [5.3. 更新 VGA 的 VIDEORAM 设置][3]
|
||||
* [5.4. 启动 VM][4]
|
||||
|
||||
* * [1. Objective][5]
|
||||
* [2. Requirements][6]
|
||||
* [3. Difficulty][7]
|
||||
* [4. Conventions][8]
|
||||
* [5. Instructions][9]
|
||||
* [5.1. Obtain VM UUID][1]
|
||||
* [5.2. Shutdown VM][2]
|
||||
* [5.3. Update VGA a VIDEORAM settings][3]
|
||||
* [5.4. Start VM][4]
|
||||
### 目的
|
||||
|
||||
### Objective
|
||||
|
||||
If your intention is to use XenServer's virtual machine as a remote desktop, the default screen resolution may not be satisfactory for your purposes.
|
||||
如果你想要将 XenServer 虚拟机作为远程桌面,默认的分辨率可能不能满足你的要求。
|
||||
|
||||
|
||||
![Default xenserver screen VM resolution](https://linuxconfig.org/images/xenserver-7-default-screen-resolution.png)
|
||||
|
||||
|
||||
The objective is to increase screen resolution on XenServer 7 GUI Virtual Machine.
|
||||
本篇的目标是提高 XenServer 7 GUI 虚拟机(VM)的屏幕分辨率
|
||||
|
||||
### Requirements
|
||||
### 要求
|
||||
|
||||
Privileged access to XenServer 7 system.
|
||||
访问 XenServer 7 系统的特权
|
||||
|
||||
### Difficulty
|
||||
### 难易性
|
||||
|
||||
EASY
|
||||
简单
|
||||
|
||||
### Conventions
|
||||
### 惯例
|
||||
|
||||
* **#** - requires given command to be executed with root privileges either directly as a root user or by use of `sudo` command
|
||||
* **$** - given command to be executed as a regular non-privileged user
|
||||
* **#** - 给定命令需要作为 root 用户权限运行或者使用 `sudo` 命令
|
||||
* **$**- 给定命令作为常规权限用户运行
|
||||
|
||||
### Instructions
|
||||
### 指导
|
||||
|
||||
### Obtain VM UUID
|
||||
### 获得 VM UUID
|
||||
|
||||
首先,我们需要获得想要提升分辨率的虚拟机的 UUID。
|
||||
|
||||
First, we need to obtain a relevant UUID of the Virtual Machine on which we wish to increase a screen resolution:
|
||||
```
|
||||
# xe vm-list
|
||||
uuid ( RO) : 09a3d0d3-f16c-b215-9460-50dde9123891
|
||||
name-label ( RW): CentOS 7
|
||||
power-state ( RO): running
|
||||
```
|
||||
Tip: It saves some time if you save this UUID as a shell variable:
|
||||
|
||||
提示:如果你将此 UUID 保存为 shell 变量会节省一些时间:
|
||||
|
||||
```
|
||||
# UUID=09a3d0d3-f16c-b215-9460-50dde9123891
|
||||
```
|
||||
|
||||
### Shutdown VM
|
||||
### 关闭 VM
|
||||
|
||||
优雅地关闭 VM 或使用 `xe vm-vm-shutdown` 命令:
|
||||
|
||||
Gracefully shutdown your VM or shutdown using `xe vm-vm-shutdown` command:
|
||||
```
|
||||
# xe vm-shutdown uuid=$UUID
|
||||
```
|
||||
|
||||
### Update VGA a VIDEORAM settings
|
||||
### 更新 VGA 的 VIDEORAM 设置
|
||||
|
||||
检查你目前的 VGA 的 VIDEORAM 参数设置:
|
||||
|
||||
Check your current VGA a VIDEORAM parameter settings:
|
||||
```
|
||||
# xe vm-param-get uuid=$UUID param-name="platform" param-key=vga
|
||||
std
|
||||
# xe vm-param-get uuid=$UUID param-name="platform" param-key=videoram
|
||||
8
|
||||
```
|
||||
To increase a screen resolution, update your VGA to `std` ( if its already set, nothing needs to be done ) and `videoram` to some greater number in megabytes. Eg. 16:
|
||||
|
||||
要提升屏幕的分辨率,将 VGA 更新到 `std` (如果已经设置过,就不需要做什么),并将 `videoram` 调大几兆,如设置成 16:
|
||||
|
||||
```
|
||||
# xe vm-param-set uuid=$UUID platform:vga=std
|
||||
# xe vm-param-set uuid=$UUID platform:videoram=16
|
||||
```
|
||||
|
||||
### Start VM
|
||||
### 启动 VM
|
||||
|
||||
```
|
||||
# xe vm-start uuid=$UUID
|
||||
@ -88,7 +93,7 @@ To increase a screen resolution, update your VGA to `std` ( if its already set
|
||||
via: https://linuxconfig.org/how-to-increase-screen-resolution-on-xenserver-7-gui-virtual-machine-vm
|
||||
|
||||
作者:[Lubos Rendek][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
Loading…
Reference in New Issue
Block a user