zoukankan      html  css  js  c++  java
  • Vmware 14.0 版本中安装Ubuntu 17.10版本无法调整分辨率的问题

    装完ubuntu后发现在vmware中选择了查看-自动调整大小-自适应客户机,虚拟机也无法随着窗口大小来切换分辨率,其实是因为WAYLAND限制了。

    1、 先安装vim

    sudo apt-get install vim


    2、取消ubuntu中的显示设备WAYLAND

    sudo vim /etc/gdm3/custom.conf

    3、在custom.conf文件中找到下面这一行,并把前面的#号去掉

    #WaylandEnable=false 

    修改后如下

    # GDM configuration storage  
    #  
    # See /usr/share/gdm/gdm.schemas for a list of available options.  
      
    [daemon]  
    # Uncoment the line below to force the login screen to use Xorg  
    WaylandEnable=false
      
    # Enabling automatic login  
    #  AutomaticLoginEnable = true  
    #  AutomaticLogin = user1  
      
    # Enabling timed login  
    #  TimedLoginEnable = true  
    #  TimedLogin = user1  
    #  TimedLoginDelay = 10  
      
    [security]  
      
    [xdmcp]  
      
    [chooser]  
      
    [debug]  
    # Uncomment the line below to turn on debugging  
    # More verbose logs  
    # Additionally lets the X server dump core if it crashes  
    #Enable=true  

    4、然后重启虚拟机就好了

    重启命令: reboot
  • 相关阅读:
    after() 和 remove() 实现替换
    jquery not() 方法
    jQuery filter() , end()
    jquery 拓展函数集
    window onload || jquery $()
    java jdk environment variables
    mysql 64 zip download
    闭包初探
    hdu 1195 Open the Lock (BFS)
    poj 1743 Musical Theme (后缀数组+二分法)
  • 原文地址:https://www.cnblogs.com/fwl8888/p/9747294.html
Copyright © 2011-2022 走看看