大网数据广告活动
服务器运维问答

(KVM) virt-manager stuck in password prompt after open VM

· 52CE 我爱测

so i installed a fresh ubuntu server 14.04 with KVM, i'm connecting with my other ubuntu machine using virt-manager. so after i had permissions problem creating a new VM, i uncomment user="root" and group="root" in /etc/libvirt/q…

问题原文

原帖链接 · Morti · CC BY-SA 3.0

so i installed a fresh ubuntu server 14.04 with KVM, i'm connecting with my other ubuntu machine using virt-manager. so after i had permissions problem creating a new VM, i uncomment user="root" and group="root" in /etc/libvirt/qemu.conf and it solved the problem.

but when i try open the graphical console of new VM with virt-manager it stuck in "user@ip" openssh password prompt, no matter how many times i type the password.

same issue with virt-viewer.

i might changed some permissions of folders when trying to solve the first problem. any clue?

p.s. i did purge the libvirtd and reinstall everything.

已采纳解答

原帖链接 · Tomas Maliuk · CC BY-SA 3.0

I had the same problem

in VM settings change display from "Spice server" to "VNC server" and it should fix the problem.

Issue is, that spice server only allows localhost connection by default. If you want to use spice, than you should change spice setting in hosting machine. Otherwise - use VNC.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2015-05-01)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。