Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> 關於 Linux

修正 Ubuntu 登入畫面解析度過高的完整教學

編輯:關於 Linux

問題背景

虛擬機安裝 Ubuntu 後,登入畫面解析度過高導致須拖動視窗才能輸入帳密,調整螢幕解析度無效。

根因分析

安裝 VMware Tools 後,/etc/X11/xorg.conf 被修改,Section "Screen" 新增多組 SubSection "Display",列出不同色深下的解析度模式,導致 X Server 啟動時選擇最高解析度。

解決步驟

  1. 備份原設定:sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
  2. 編輯 /etc/X11/xorg.conf,在 Section "Screen" 中移除多餘的 SubSection "Display" 區塊,保留所需解析度(如 1024x768)與色深設定。
  3. 儲存並重啟系統:sudo reboot

附帶修復:滑鼠滾輪失效

同樣因 VMware Tools 修改 Section "InputDevice" 中 Option "Protocol" 從 "ImPS/2" 改為 "ps/2"。將其改回 "ImPS/2" 並重啟即可恢復滾輪功能。

結語

手動精簡 xorg.conf 中的 Display 子區段,並修正滑鼠協定,即可解決登入畫面解析度異常與滾輪失效問題。

Copyright © Windows教程網 All Rights Reserved