5

I want to use a physical disk in Vmware Player. To do that I need to run Vmware Player as root. How do I do that?

I have tried to start it via terminal but no luck. I have tried to start it via gksu but no luck.

Zanna
  • 72,312
jse71
  • 61

2 Answers2

9

According to this answer, gksu is now deprecated. And according to a couple of Ubuntu bug reports, it appears this is the case.

You can just use sudo to open vmware player as root:

% sudo -i vmplayer &

To open vmware workstation as root:

% sudo -i vmware &

Another options is to just switch to su:

% sudo su
% vmplayer &

Or workstation:

% sudo su
% vmware &
1

The actual command for launching vmware player from the terminal is vmplayer, That is why it wasn't launching for you. To launch vmware player as root just run the following command from the terminal.

gksu vmplayer

I know you found a workaround for your problem but I hope this helps anyway.

Also it is apparently not advisable to run desktop virtualization software as root so please keep that in mind (I was told about this in the comments).

Rumesh
  • 1,449