PDF-Exchange viewer installed as root, how to make available

Questions about Wine on Linux
Locked
ewald
Level 1
Level 1
Posts: 5
Joined: Thu Apr 08, 2010 12:24 pm

PDF-Exchange viewer installed as root, how to make available

Post by ewald »

System: Linux Mint 17
Wine version: 1.7.25
I tried to install PDF Xchange Editor V 5.5 under Wine. When starting the installer as normal user (administrator account), the installer quit with a whole bunch of error messages in the log. The details of which are above my paygrade but it sounded like there were access problems.
Thus I opened a file manager as root, did a right click on the installer and selected "open with wine windows program loader" and voila the installer did it's trick. To start PDF Xchange Editor I have to go to roots desktop and double click the launcher located there.

Question: is there a way to make the program available for the normal user?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: PDF-Exchange viewer installed as root, how to make avail

Post by dimesio »

ewald
Level 1
Level 1
Posts: 5
Joined: Thu Apr 08, 2010 12:24 pm

Re: PDF-Exchange viewer installed as root, how to make avail

Post by ewald »

Thanks for the link. I followed it and read it. What I learned is "don't run wine as root". From the articles about Posix Capabilities and Posix File Capabilities given as link in the link you gave me I didn't understand much. So I am left with an application I'd like to use (PDF Xchange Edit) which works perfectly under wine when installing it with root privileges but doesn't install when running wine with normal user privileges.

What I would like to learn is how can I install the application as normal user or how to run the application as normal user, since it is already installed. The desktop file is in the root home directory, the exec command is as follows:

Exec=env WINEPREFIX="/root/.wine" wine C:\\\\PROG\\~FBU\\\\TRAC\\~EK1\\\\PDF_\\~VHK\\\\PDFXEdit.exe

if I knew what the path gibberish C:\\\\PROG\\~FBU\\\\TRAC\\~EK1\\\\PDF_\\~VHK\\\\PDFXEdit.exe means I could just copy everything to the normal home directory and run the application as normal user. Is there anybody out there who might be able to help me out here?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: PDF-Exchange viewer installed as root, how to make avail

Post by dimesio »

ewald wrote: What I would like to learn is how can I install the application as normal user
According to the AppDB, the .msi installer for PDF-Xchange Editor works, though the .exe doesn't. https://appdb.winehq.org/objectManager. ... &iId=30820
if I knew what the path gibberish C:\\\\PROG\\~FBU\\\\TRAC\\~EK1\\\\PDF_\\~VHK\\\\PDFXEdit.exe means I could just copy everything to the normal home directory and run the application as normal user. Is there anybody out there who might be able to help me out here?
The C: refers to the drive_c subdirectory of the wineprefix, followed by subdirectories of that. But you don't need to know that to accomplish what you want to try, because what you would need to do is copy the whole wineprefix. Copying only the app's subdirectory will not get the needed registry entries, and if the app also installed other files in other directories, will miss those as well.
Locked