Ø 问题: 作者:王××(zbwangjian@×××.cn)
在SUSE Linux Enterprise Server 10 SP2 (x86_64)系统上,执行sudo virt-manager(或其它X-windows应用程序)的时候,出现"cannot open display:" |
解决:
#visudo
将下面两行注释掉
Defaults targetpw # ask for the password of the target user i.e. root
ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
添加下面一行
Defaults env_keep=DISPLAY