WineHQ
Wine Forums

Board index » WineHQ » Wine Help




 Page 1 of 1 [ 3 posts ] 



 
Author Message
 Post subject: persistent wineserver
 Post Posted: Wed Oct 03, 2018 3:08 am 
Offline
Level 2
Level 2

Joined: Thu Aug 30, 2018 10:59 am
Posts: 11
This point from wiki/faq is interesting for me, as I have an autorun calendar program that saves its changes when system is shut down. Now - without persistence - it forgets all changes that were made and I have to save manually.

I tried to make persistent from .bashrc with:

Quote:
. /opt/wine-stable/bin/wineserver


but it says 'cannot execute'. I suppose we need root rights? Where to put this command? Sorry it is half way linux issue, I know.


Top 
 Post Posted: Sun Oct 07, 2018 11:54 am 
Offline
Level 12
Level 12
User avatar

Joined: Sat Oct 16, 2010 7:40 pm
Posts: 2324
Location: Cambridge
Potter wrote:
This point from wiki/faq is interesting for me, as I have an autorun calendar program that saves its changes when system is shut down. Now - without persistence - it forgets all changes that were made and I have to save manually.

I tried to make persistent from .bashrc with:

Code:
. /opt/wine-stable/bin/wineserver


but it says 'cannot execute'. I suppose we need root rights? Where to put this command? Sorry it is half way linux issue, I know.


You should never run Wine as root, see: WineHQ FAQ : 6.2 Should I run Wine as root?

The . (in your line above) is the same as the shell source command and is used to load a secondary text-based shell script. See: Source command.

wineserver is a compiled ELF, native Linux binary file:
Code:
file /opt/wine-stable/bin/wineserver

/opt/wine-stable/bin/wineserver: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=55cfefcb240a41facdc24b46ae4df983701791dc, stripped

Not a shell script.

You would want something like:
Code:
~/.bashrc

/opt/wine-stable/bin/wineserver -p


Also, in future, please use the WineHQ forum Code tags:
Code:
...
for blocks of terminal commands and output.

Bob


Top 
 Post Posted: Sat Oct 13, 2018 1:41 am 
Offline
Level 2
Level 2

Joined: Thu Aug 30, 2018 10:59 am
Posts: 11
Thank You. I will try that in .bashrc

I see I have mixed the functions in editor. Sorry for that: code is code and quote is quote! :-)


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 3 posts ] 




Board index » WineHQ » Wine Help


Who is online

Users browsing this forum: No registered users and 22 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: