Ubuntu安装VMware 到最后一步点击Finish按钮时报错

博客主要讲述了Linux系统下的两个报错问题及解决办法。一是VMware运行需root权限报错,可能因不同用户安装和启动或在root账户启动,解决办法是首次以Root运行完成设置;二是Synaptic Package Manager认证失败,执行特定命令可解决。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

错误一:

vmware-setup-helper requires root access

Having just installed vmplayer on openSUSE Leap 15.1 and find it can only run as root:

I/O warning : failed to load external entity "/etc/vmware/hostd/proxy.xml"

==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====

Authentication is needed to run `/usr/lib/vmware/bin/vmware-setup-helper' as the super user

Authenticating as: root

Password:

polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie

==== AUTHENTICATION FAILED ====

Error executing command as another user: Not authorized

原因:可能是在一个用户下安装的VMware,然后在另一个用户下启动VMware,然后导致报错;

或者    不能在root账户下启动VMware,我的就是这种情况,切换到别的用户就可以了。

请看下面这句话!!!

Run it the first time as Root, to finish the setup.  Then it shouldn't need root afterwards.

第一次以Root身份运行它,以完成安装设置。然后它就不需要Root了。

错误二:

$ synaptic-pkexec
==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic ===
Authentication is required to run the Synaptic Package Manager
Authenticating as: [my realname],,, ([my username])
Password: 
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized

This incident has been reported.

解决方法:

执行如下命令即可

/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

 具体原因我也不清楚,反正问题解决了!_(:з」∠)_

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

薛定谔的猫喵喵

你的鼓励将是我创作的最大动力!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值