Can't start wine, it can't fine dir in /tmp/.wine*

Questions about Wine on Linux
Locked
xiaozh
Level 1
Level 1
Posts: 6
Joined: Fri Jan 04, 2019 9:19 am

Can't start wine, it can't fine dir in /tmp/.wine*

Post by xiaozh »

I make a singularity images https://www.singularity-hub.org/collections/2157, it's like docker images

Download this images from singularity
In one computer, it works well at the beginning and can run Windows computer.

But in another computer, it can't use at the beginning

ERROR is:
wine: chdir to /tmp/.wine-1462/server-607e-fa6a495 : No such file or directory

But I noticed there exist a dir in /tmp
server-1d22607e-20000fa6a000495

There have sometime similarity.

How to fix it? Thank you

The computer that can't run Win installed wine in the last, so I run `rm -rf ./wine` `rm -rf /tmp/.wine*`...But it's no help
xiaozh
Level 1
Level 1
Posts: 6
Joined: Fri Jan 04, 2019 9:19 am

Re: Can't start wine, it can't fine dir in /tmp/.wine*

Post by xiaozh »

I find the solution. Change the home directory make it works.

Like Changing home to -H /tmp/homie

singularity shell -H /tmp/homie --bind ~/test_wine:/mnt WineSingularity_latest.sif

But Why? Is there is a bug?
Locked