zoukankan      html  css  js  c++  java
  • 【Ubuntu Desktop】VMware 中 Unknown Display

    由于之前重复的安装卸载Unity桌面,今天遇到了在设置虚拟机分辨率的时候,遇到了Unknown Display问题


    参考网上内容 使用 xrandr调节分辨率

    xrandr只能在虚拟机本地终端执行,不能使用ssh远程操作。

    1.输入xrandr查看可设置的分辨率取值    *为当前屏幕分辨率取值

    $ xrandr
    Screen 0: minimum 1 x 1, current 1360 x 768, maximum 16384 x 16384
    Virtual1 connected primary 1360x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
       800x600       60.00 +  60.32  
       2560x1600     59.99  
       1920x1440     60.00  
       1856x1392     60.00  
       1792x1344     60.00  
       1920x1200     59.88  
       1600x1200     60.00  
       1680x1050     59.95  
       1400x1050     59.98  
       1280x1024     60.02  
       1440x900      59.89  
       1280x960      60.00  
       1360x768      60.02* 
       1280x800      59.81  
       1152x864      75.00  
       1280x768      59.87  
       1024x768      60.00  
       640x480       59.94  
    Virtual2 disconnected (normal left inverted right x axis y axis)
    Virtual3 disconnected (normal left inverted right x axis y axis)
    Virtual4 disconnected (normal left inverted right x axis y axis)
    Virtual5 disconnected (normal left inverted right x axis y axis)
    Virtual6 disconnected (normal left inverted right x axis y axis)
    Virtual7 disconnected (normal left inverted right x axis y axis)
    Virtual8 disconnected (normal left inverted right x axis y axis)

    2.临时设置 分辨率

    xrandr -s 1280x768_59.81

    3.永久设置分辨率   参数output的值  Virtual1 根据第一步输出信息得到

    xrandr --output Virtual1 --mode 1360x768

    负责任的讲一下,上面的永久设置在重启之后会失效哭



  • 相关阅读:
    jQuery选择器
    CSS选择器性能分析
    JavaScript 之垃圾回收和内存管理
    六个字符,带你领略JavaScript (js的艺术编写)
    Redis(1) 简介以及linux环境下的安装
    Teamviewer被商业检测处理办法
    Linux 分配/home的磁盘空间给根目录
    vmware虚拟机安装Oracle Linux 出现Unable to open the image
    Vim编辑器常用命令
    Xshell连接虚拟机中的Ubuntu
  • 原文地址:https://www.cnblogs.com/zhengwenqiang/p/6804584.html
Copyright © 2011-2022 走看看