如何在 Xubuntu 客户机中模拟垂直屏幕?

如何在 Xubuntu 客户机中模拟垂直屏幕?

我正在使用带有 Virt-Manager、Spice 和 QXL 的 Xubuntu 客户虚拟机。我想将虚拟显示器旋转为垂直以适合我的显示器。

我尝试过的东西:

  • 设置 > Xubuntu 客户机中的显示:有一个Rotation弹出菜单,但唯一可用的选项是None
  • 通过 xrandr 旋转不起作用:
~$ xrandr -q
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
Virtual-0 connected primary 1024x768+0+0 0mm x 0mm
   1024x768      59.95*+
   1920x1200     59.95  
   1920x1080     60.00  
   1600x1200     59.95  
   1680x1050     60.00  
   1400x1050     60.00  
   1280x1024     59.95  
   1440x900      59.99  
   1280x960      59.99  
   1280x854      59.95  
   1280x800      59.96  
   1280x720      59.97  
   1152x768      59.95  
   800x600       59.96  
   848x480       59.94  
   720x480       59.94  
   640x480       59.94  
Virtual-1 disconnected
Virtual-2 disconnected
Virtual-3 disconnected
~$ xrandr --output Virtual-0 --rotate right
xrandr: output Virtual-0 cannot use rotation "right" reflection "none"
  • echo 3 | sudo tee /sys/class/graphics/fbcon/rotate没有任何效果,也没有给出任何错误。
  • 据我所知,我已经安装了正确的驱动程序:
~$ apt list --installed | grep -i spice

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

spice-vdagent/bionic,now 0.17.0-1ubuntu2 amd64 [installed]
~$ apt list --installed | grep -i qxl

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

xserver-xorg-video-qxl/bionic,now 0.1.5-2build1 amd64 [installed]
  • 我的 XML 看起来没问题,对吗?
    <graphics type='spice' autoport='yes'>
      <listen type='address'/>
      <image compression='off'/>
    </graphics>
    <sound model='ich9'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
    </sound>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>

有没有办法让 Xubuntu 客户机拥有虚拟垂直显示器?

相关内容