LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem launching vmware from kde desktop or from kmenu (https://www.linuxquestions.org/questions/linux-newbie-8/problem-launching-vmware-from-kde-desktop-or-from-kmenu-649194/)

Speedyone 06-13-2008 11:44 PM

Problem launching vmware from kde desktop or from kmenu
 
I'm having trouble getting the application VMWare 6.04 launching either from the kmenu or from the the added item to the desktop.

When I'm in the terminal, I start out at: speedy@AMD64(which is my computer name), and from here I type: sudo(space) vmware and it asks for my password, I type it in and VMWare launches.

I'd like to be able to launch VMWare from also the kmenu - system and/or from the desktop.

I'm running Kubuntu 7.10 X86-64 Gusty Gibbon with KDE desktop 3.5.8

Any help would be greatly appreciated!

Thx :Pengy:

Tinkster 06-14-2008 01:03 AM

I'd say there's something odd there. None of the installations
of vmware that I've used (player or workstation) required root-
privileges to be run. That said: just use kdesu vmware from
your launcher button.


Cheers,
Tink

Speedyone 06-14-2008 09:08 AM

Tinkster - How do I apply your suggestion
 
Hi Tinkster, Thanks for your thoughts! I don't understand what to do or how to apply your answer?

When I go thru kmenu and then to system and then to VMWare Workstation, I highlite this and right click it and say edit this item. This takes me into KDE Menu Editor......from here I think I need to populate both the Command box and the working path box.

The other day, I had in both boxes: /usr/bin/sudo vmware and I was able to get the application to launch from here and also from the desktop shortcut.

I then shut off the machine and when I came back to it the next day, the application wouldn't launch from these locations.

As you said though, something seems strange as the only way to launch the program from terminal, I have to use "sudo".

If you could further explain how to do what you've suggested, I'll try that. I wanted to give you some more background info.

Regards,
speedy

gcaldwel 06-14-2008 10:36 AM

I'm running VNWARE under RHEL5.1 64 bit using KDE
I launch vmware from Kmenus everyday as myself (not root)

Check your path make sure it knows where to find vmware.
Also my command field included the full path to the vmware executable in the menu item for vmware

Also have you had any kernel updates, Run vmware-config.pl as root to make sure vmware is configured properly.
I have to do this everytime I apply a new kernel.

Hope this helps
G-

Speedyone 06-14-2008 12:01 PM

Thank you "G"
 
:cool:Thank you for your response "G". It's a good reminder to re-configure upon kernal updates.

Regards,
speedy

resetreset 06-14-2008 12:27 PM

Just out of curiosity, WHY do you want VMWare? If you're new to Linux, why're you trying to run something under it?

Speedyone 06-24-2008 10:33 PM

I'd say there's something odd there. None of the installations
of vmware that I've used (player or workstation) required root-
privileges to be run. That said: just use kdesu vmware from
your launcher button.


Cheers,
Tink


I get the following error when trying to launch from the launcher button----KDEInit could not launch /usr/bin/vmware.

any ideas on how to fix this?

Thanks in advance.

Speedy

okos 06-24-2008 11:22 PM

Can you start vmware in command line without su?
I used vmware without root.
I just opened up a Konsole and typed vmware.

What happends when you try that?

If that works open up kde editor and add vmware in the command box.

Tinkster 06-25-2008 04:40 AM

Quote:

Originally Posted by Speedyone (Post 3194209)
I get the following error when trying to launch from the launcher button----KDEInit could not launch /usr/bin/vmware.

any ideas on how to fix this?

Thanks in advance.

Speedy


What does
Code:

ls -l `which vmware`
say? Note: those are back-ticks, not apostrophes.



Cheers,
Tink

Speedyone 06-25-2008 07:52 PM

Quote:

Originally Posted by okos (Post 3194244)
Can you start vmware in command line without su?
I used vmware without root.
I just opened up a Konsole and typed vmware.

What happends when you try that?

If that works open up kde editor and add vmware in the command box.

I get a message - permission denied. But if I type "sudo vmware" and then enter my password, vmware workstation will launch.

I suspect my problem lies what folder is vmware parked in?? I moved it from it's original place (can't remember where it was - I think it was in desktop) and I put it in it's own folder called vmware.

In being so new to the Linux world, I'm still very confused on how to understand the file structure. I'm having trouble deciphering where my new installed programs should be parked. Do I put them in the Home folder, the User's Folder or the Root folder.

Another question, if I uninstall vmare in an effort to get a clean install, would I lose my Windows install and have to re-install windows?

Thanks for your help :)

Speedyone 06-25-2008 08:08 PM

Quote:

Originally Posted by Tinkster (Post 3194463)
What does
Code:

ls -l `which vmware`
say? Note: those are back-ticks, not apostrophes.



Cheers,
Tink


Hi Tink,

I think you're onto the errors of my ways. I hope this code can tell you how I should fix things.

speedy@dcerouter:~$ ls -l `which vmware`
total 16
drwx------ 2 speedy speedy 4096 2008-06-24 19:51 Desktop
drwxr-xr-x 2 speedy speedy 4096 2008-05-26 18:24 ESET
drwxr-xr-x 2 speedy speedy 4096 2008-06-09 18:59 My Pictures
drwxr-xr-x 4 speedy speedy 4096 2008-06-08 15:24 vmware
speedy@dcerouter:~$

Thanks for keeping an eye on my post!

Kind regards,
Speedy

Tinkster 06-25-2008 11:14 PM

Hmmm .... this gives no indication as to why it would require you to run
it as root. When sudo -i, do you get the same result? I'm starting to
wonder whether you have to different installations...

Of course, it doesn't actually show us an executable, either, which is
what I'd expect from `which`.

Speedyone 06-26-2008 12:11 AM

Quote:

Originally Posted by Tinkster (Post 3195407)
Hmmm .... this gives no indication as to why it would require you to run
it as root. When sudo -i, do you get the same result? I'm starting to
wonder whether you have to different installations...

Of course, it doesn't actually show us an executable, either, which is
what I'd expect from `which`.


when starting konsole at location speedy@dcerouter, and launching "sudo -i", I get "dcerouter_80263:~#"


If I uninstalled, would I lose my windows installation?

Speedyone 06-26-2008 12:34 AM

I did a file search for vmware and found 13 files.
There did seem to be duplicates. I tried to use KSnapshot ( a screenprint tool) to show you my screen image, but I can't do a paste to here.


All times are GMT -5. The time now is 02:30 PM.