Trying to install vmware view agent 4.5 on Ubuntu 12.04 LTS

Questions about Wine on Linux
Locked
Oswal
Level 1
Level 1
Posts: 9
Joined: Wed May 30, 2012 8:58 am

Trying to install vmware view agent 4.5 on Ubuntu 12.04 LTS

Post by Oswal »

When i tried to install vmware view agent 4.5 appear many errors. I need to install another aplication o configure some file?
I would appreciate your help

# wine vmware-viewagent-4.5.0-293049.exe
wine: created the configuration directory '/root/.wine'
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:iphlpapi:NotifyAddrChange (Handle 0x237e8cc, overlapped 0x237e8b0): stub
wine: configuration in '/root/.wine' has been updated.
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 300, std (d/m/y): 28/10/2012, dlt (d/m/y): 1/04/2012
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:msi:MsiGetMode unimplemented run mode: 7
err:msi:ITERATE_Actions Execution halted, action L"VM_MustReboot" returned 1603
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trying to install vmware view agent 4.5 on Ubuntu 12.04

Post by dimesio »

Oswal wrote:When i tried to install vmware view agent 4.5 appear many errors. I need to install another aplication o configure some file?
I would appreciate your help

# wine vmware-viewagent-4.5.0-293049.exe
wine: created the configuration directory '/root/.wine'
Never run Wine as root. Delete /root/.wine and run the installer as a normal user.
err:msi:ITERATE_Actions Execution halted, action L"VM_MustReboot" returned 1603
The VMware KnowledgeBase has the following info for that error:
http://kb.vmware.com/selfservice/micros ... Id=1029288

You also might want to take a look at this thread on the VMware forum: http://communities.vmware.com/thread/326968
Oswal
Level 1
Level 1
Posts: 9
Joined: Wed May 30, 2012 8:58 am

I installed wine1.4 with sudo

Post by Oswal »

I really don't know how to install wine with a user diferent of root. I log in with a normal user and use sudo, but the directory ".wine" appear in /root/.wine , not in /home/user/.wine
If i tried to install the vmware-viewagent-4.5.0-293049.exe file through wine, whith a user different of root, the answer is:
Could not open lock file /var/lib/dpkg/lock -open (13: Permissiondenied)
Unable to lock the administration directory (/var/lib/dpkg/), are you root?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: I installed wine1.4 with sudo

Post by dimesio »

Oswal wrote:I really don't know how to install wine with a user diferent of root. I log in with a normal user and use sudo, but the directory ".wine" appear in /root/.wine , not in /home/user/.wine
You install Wine as root, but you don't run it as root. Using sudo is running as root.
If i tried to install the vmware-viewagent-4.5.0-293049.exe file through wine, whith a user different of root, the answer is:
Could not open lock file /var/lib/dpkg/lock -open (13: Permissiondenied)
From what I can tell from googling, that message occurs when you try to open your package manager a second time when it's already running. Running Wine as a normal user should not start up your package manager; nothing Wine does should trigger that message. How exactly are you trying to install this app (the exact command)?
Oswal
Level 1
Level 1
Posts: 9
Joined: Wed May 30, 2012 8:58 am

step by step

Post by Oswal »

Step 1: Im log in with a normal user and use sudo.
Step 2: apt-get install wine1.4.
When i say aptitude search wine1.4 the system answer
c wine1.4
pB wine1.4-common
p wine1.4-dbg
p wine1.4-dev
c wine1.4-i386
Is necesary install some of this packets?

Step 3: copy a file "vmware-viewagent-4.5.0-293049.exe"
Step 4: In a directory where the file was copied, launch the command (wine vmware-viewagent-4.5.0-293049.exe)

If i try to install wine with a normal user, the system say
Could not open lock file /var/lib/dpkg/lock -open (13: Permissiondenied)
Unable to lock the administration directory (/var/lib/dpkg/), are you root?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: step by step

Post by dimesio »

Oswal wrote:Step 1: Im log in with a normal user and use sudo.
Step 2: apt-get install wine1.4.
When i say aptitude search wine1.4 the system answer
c wine1.4
pB wine1.4-common
p wine1.4-dbg
p wine1.4-dev
c wine1.4-i386
Is necesary install some of this packets?
Yes. Install all except wine1.4-dev.
Step 3: copy a file "vmware-viewagent-4.5.0-293049.exe"
Step 4: In a directory where the file was copied, launch the command (wine vmware-viewagent-4.5.0-293049.exe)
Did you do those two steps as sudo? You shouldn't. Also make sure your normal user has read/write/execute permissions for the file and the directory you copy it to.
If i try to install wine with a normal user, the system say
I didn't say to INSTALL Wine as a normal user, I said to RUN Wine as a normal user. Step 2 needs to be done with sudo; everything else needs to be done as a normal user.
Could not open lock file /var/lib/dpkg/lock -open (13: Permissiondenied)
Unable to lock the administration directory (/var/lib/dpkg/), are you root?
As I said, that message is about your package manager, and "wine vmware-viewagent-4.5.0-293049.exe" should not invoke your package manager. You need to ask your distro about this; something is messed up on your system.
Oswal
Level 1
Level 1
Posts: 9
Joined: Wed May 30, 2012 8:58 am

I will work step by step

Post by Oswal »

step1: I will install wine using sudo.
step 2 Log aout root and Log in with a normal user and use "wine vmware-viewagent-4.5.0-293049.exe"
step 3 I post the results
Oswal
Level 1
Level 1
Posts: 9
Joined: Wed May 30, 2012 8:58 am

step by step result

Post by Oswal »

step 1 Install Wine with sudo
command:apt-get install wine1.4
Results
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
wine1.4-common wine1.4-i386 Suggested packages:
dosbox
The following NEW packages will be installed:
wine1.4 wine1.4-common wine1.4-i386
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/20.8 MB of archives.
After this operation, 104 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously unselected package wine1.4-common.
(Reading database ... 170426 files and directories currently installed.)
Unpacking wine1.4-common (from .../wine1.4-common_1.4-0ubuntu4_all.deb) ...
Selecting previously unselected package wine1.4-i386.
Unpacking wine1.4-i386 (from .../wine1.4-i386_1.4-0ubuntu4_i386.deb) ...
Selecting previously unselected package wine1.4.
Unpacking wine1.4 (from .../wine1.4_1.4-0ubuntu4_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Setting up wine1.4-common (1.4-0ubuntu4) ...
Setting up wine1.4-i386 (1.4-0ubuntu4) ...
Setting up wine1.4 (1.4-0ubuntu4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Step 2: Install vmware-viewagent-4.5.0-293049.exe
Commad: exit (log out root)
Command: wine vmware-viewagent-4.5.0-293049.exe ( In the directory where the file vmware-viewagent-4.5.0-293049.exe stay)
Results:
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 300, std (d/m/y): 28/10/2012, dlt (d/m/y): 1/04/2012
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:msi:MsiGetMode unimplemented run mode: 7
err:msi:ITERATE_Actions Execution halted, action L"VM_MustReboot" returned 1603
(In the system's graphical window it's suggest rebbot for the installation continue)
Step 3: Reboot, log in to a normal user and intall vmware-viewagent again
commad: wine vmware-viewagent-4.5.0-293049.exe
Results:
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 300, std (d/m/y): 28/10/2012, dlt (d/m/y): 1/04/2012
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:msi:MsiGetMode unimplemented run mode: 7
err:msi:ITERATE_Actions Execution halted, action L"VM_MustReboot" returned 1603
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: step by step result

Post by dimesio »

Oswal wrote:
err:msi:ITERATE_Actions Execution halted, action L"VM_MustReboot" returned 1603
(In the system's graphical window it's suggest rebbot for the installation continue)
Did you try deleting the registry keys as suggested in the VMware KnowledgeBase article I linked to in my first reply? If you haven't, try that.

If that doesn't work, try upgrading Wine to 1.5.5.

If it still doesn't work in 1.5.5, file a bug.
Oswal
Level 1
Level 1
Posts: 9
Joined: Wed May 30, 2012 8:58 am

I check the VMware KnowledgeBase article

Post by Oswal »

I check the VMware KnowledgeBase article but all is ok.
If i download the file "wine-1-5-2-es-en-br-fr-de-it-cn-ubu.deb" and use "dpkg -i wine...." the installation will be correct?
The .deb file was downloaded from:
http://downloads6.uptodown.net/dw/4fbe4 ... cn-ubu.deb
I'm searching wine1.5.5
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: I check the VMware KnowledgeBase article

Post by dimesio »

Oswal wrote:I check the VMware KnowledgeBase article but all is ok.
If i download the file "wine-1-5-2-es-en-br-fr-de-it-cn-ubu.deb" and use "dpkg -i wine...." the installation will be correct?
The .deb file was downloaded from:
http://downloads6.uptodown.net/dw/4fbe4 ... cn-ubu.deb
I'm searching wine1.5.5
I have no idea what's in that package, and you shouldn't download packages from random places. Use the package from the Wine PPA. https://launchpad.net/~ubuntu-wine/+archive/ppa
Oswal
Level 1
Level 1
Posts: 9
Joined: Wed May 30, 2012 8:58 am

Resolved

Post by Oswal »

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.5
wine vmware-viewagent-4.5.0-293049.exe
I could install successfully vmware view agent 4.5 !!!
I continue to using wine.
I appreciate too much your help.
Oswal
Level 1
Level 1
Posts: 9
Joined: Wed May 30, 2012 8:58 am

I Need to excecute wmware view agent

Post by Oswal »

Now i need to execute wmware view agent through wine. How can i do it?
Oswal
Level 1
Level 1
Posts: 9
Joined: Wed May 30, 2012 8:58 am

Post by Oswal »

This are the process in the up status
ps -aux | grep wine
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
1000 2233 0.0 0.0 4368 836 pts/0 S+ 15:43 0:00 grep --color=auto wine
ps -aux | grep vmware
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
1000 1854 0.5 1.0 26136 10272 ? S 15:42 0:00 /usr/lib/vmware-tools/bin32/vmware-user-loader
1000 2236 0.0 0.0 4372 832 pts/0 S+ 15:43 0:00 grep --color=auto vmware
I need to stand up the process of vmware view agent.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Oswal wrote: I need to stand up the process of vmware view agent.
http://wiki.winehq.org/FAQ#run_from_terminal
Locked