wineserver: /tmp/.wine-1000 is not owned by you

Questions about Wine on Linux
Locked
User avatar
ineuw
Level 2
Level 2
Posts: 30
Joined: Mon Aug 12, 2013 11:08 am

wineserver: /tmp/.wine-1000 is not owned by you

Post by ineuw »

Installed wine 7.0 64bit in Linux Mint Cinnamon 20.3 and when I try to run "winecfg", "wine winecfg", or "wine64 winecfg" I get the following error:
wineserver: /tmp/.wine-1000 is not owned by you and I found no info on the web on how to proceed.
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: wineserver: /tmp/.wine-1000 is not owned by you

Post by invisible kid »

For some reason wine is using the /tmp area for it's work folder. You can override it on the command line:

Code: Select all

WINEPREFIX=~/.wine wine filename.exe
but you should probably see why it's using /tmp. You can also do other things like grant that account writing permission in /tmp. Whatever you do good luck, you should be able to get it going.
User avatar
ineuw
Level 2
Level 2
Posts: 30
Joined: Mon Aug 12, 2013 11:08 am

Re: wineserver: /tmp/.wine-1000 is not owned by you

Post by ineuw »

Thanks for the reply. Unfortunately, I never used WINEPREFIX so I tried:

Code: Select all

ineuw@LMC203DT:~/.wine$ WINEPREFIX=/home/ineuw/.wine wine iview459_x64_setup.exe
wineserver: /tmp/.wine-1000 is not owned by you
ineuw@LMC203DT:/media/lindata/logiciels/wine/irfanview/x64 $ sudo chmod -R +w /tmp *
Permissions on /tmp cannot be changed
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: wineserver: /tmp/.wine-1000 is not owned by you

Post by jkfloris »

After a restart, the .wine-1000 folder should be gone.
You can also delete the folder manually. Make sure no Wine processes are running.
w-user
Level 2
Level 2
Posts: 41
Joined: Thu Jan 27, 2022 5:54 am

Re: wineserver: /tmp/.wine-1000 is not owned by you

Post by w-user »

This might be of help:

https://wiki.winehq.org/FAQ#Wineprefixes

Maybe "unset WINEPREFIX" is the command that fixes your problem.
Locked