看板 Linux 關於我們 聯絡資訊
之前看過版友推薦使用 Debian 作為系統,身為重度 Archer 還是想要試試看新口味 所以就用 QEMU 安裝了 Debian 試試 不過遇到問題就如標題所說,不知道卡在哪邊(或是有少裝驅動之類的) QEMU 有接收到 guser agent 的訊號,但是視窗調整大小後畫面沒有跟著縮放 解析度也不會自動調整,這裡使用 virt-manager 管理。 這邊需要請版友開示,是不是有少裝什麼套件而導致 qxl 或 spice 沒辦法正常運作? 我等等會再測試看看哪些裝哪些套件,如果有測試好結果會再回報上來。 這邊補進度: 確定有安裝 xserver-xorg-video-qxl spice-vdagent qemu-guest-agent 然後服務該啟動有啟動,有重開機過 另外在 manager 內 channel spice 中顯示為 disconnected 然後執行 xrandr --output Virtual-0 --auto 後正常運作 但重開機後失效 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 117.4.200.117 (越南) ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1612977503.A.C84.html ※ 編輯: a07051226 (117.4.200.117 越南), 02/11/2021 02:24:18
holishing: 用哪個桌面?02/11 11:01
KDE 跟 Debian DE 都有試過,一樣不會自動調整 ※ 編輯: a07051226 (113.160.178.253 越南), 02/11/2021 11:28:34
holishing: Debian DE 預設應該是 GNOME, 試試看 hmm02/11 21:19
holishing: 你做完你原本做的事之後,開機前在 virt-manager 的虛02/11 21:31
holishing: 擬機視窗 (V)iew -> (S)cale Display -> Auto resize02/11 21:32
holishing: VM with window 那個把它選起來之後開機,就搞定了02/11 21:33
holishing: btw, 我的 host 是 Arch, 但 Debian Buster 的 virt-02/11 21:35
holishing: manager 看起來也有支援02/11 21:35
喔喔,你誤會我意思了,我是在 Arch(host)上的 QEMU 裝 Debian(guest) ※ 編輯: a07051226 (117.4.200.117 越南), 02/11/2021 23:32:50
holishing: Arch host + Debian guest 一樣可以用喔 02/12 02:29
holishing: 方法一樣就是前面提到的 02/12 02:30
我的一直都有開著耶,就只有 Debian 會有問題 之前裝過 OpenSuSE 也沒什麼異常的地方 ※ 編輯: a07051226 (113.160.178.253 越南), 02/13/2021 12:10:12
holishing: 相關的服務都有 enabled 且 started? 02/13 19:41
holishing: https://i.imgur.com/fWKN1sx.png 做過的事情 02/13 19:48
holishing: 樓上上請忽略... channel spice disconnected 沒差 02/13 19:53
holishing: https://pastebin.ubuntu.com/p/SfGZVnwfjp/ VM設定檔 02/13 19:59
holishing: xorg 的 xrandr: https://i.imgur.com/IKY8TJs.png 02/13 20:03
holishing: wayland 底下的 xrandr: https://i.imgur.com/aojFdYe 02/13 20:05
holishing: host 都是 Xorg (因為有裝 Nvidia 驅動) 02/13 20:06
holishing: 每次換大小 dmesg 都會出現 spice vdagent tablet as 02/13 20:20
holishing: /devices/virtual/input/inputXX 的提示 02/13 20:20
holishing: 其他就 driver 有沒有讀到 qxl...(手動開可以就應該有) 02/13 20:36
holishing: 還有什麼可能再提出來討論吧 02/13 20:36
holishing: Debian Bullseye 的 GNOME + Wayland 可能不太行 03/01 17:41