Comments (6)
Ok, one of the first solutions I get when looking for this error on the web would be to add the user to the video group.
Could you edit the Dockerfile at the beginning after the wine user creation like this?
RUN useradd -u 1001 -d /home/wine -m -s /bin/bash wine
RUN useradd -G video wine
And try to rebuild the image and relaunch the container?
By the way, it it's still not working, could you provide details on your linux distribution?
from docker-wine-steam.
Hmm it gets stuck at RUN useradd -G video wine when I add that, telling me 'useradd: user 'wine' already exists'. EDIT: currently testing using 'RUN usermod -a -G video wine' instead.
EDIT: No luck unfortunately.
In any case, I'm running Linux version 4.0.7-2-ARCH - let me know what extra information you want regarding my setup should you need it
from docker-wine-steam.
Ok, maybe it tries to create a new user with the former command, try this one instead?
RUN usermod -a -G video wine
EDIT: yeah, exactly what I was suggesting...
EDIT: could you try with the initial version of the file and paste the building log?
from docker-wine-steam.
Sure thing - I'll edit this post with a pastebin link once I've run it again.
Huh - I got a lot of errors with resolving URLs, which was kinda strange. I might try redo all of it from scratch (wipe and re-pull the repository), but here it is for now - https://gist.github.com/jyting/8a038e1ffad092b03160
Actually, my machine has an integrated graphics card - do I need to tweak much in builder.sh?
It may be of note, but I tested with some other small games and they ran without issue - it was terraria specifically that had problems.
Wine seems to need a password which I don't recall ever setting when trying to run 'sudo usermod -a -G video wine' from within the docker instance, but no wine user exists when trying to run that from my linux machine - perhaps it would work if I were able to run the command?
from docker-wine-steam.
I will look further later but be aware that you can't sudo once inside the container instance.
It's the Docker way to prevent exploits from inside root.
That's why the command needs to be added to the building process when the user is still superuser.
About the URLs errors, it happens sometimes, retrying should eventually do the trick.
EDIT: I will run some tests on my own laptop but try tweaking the builder.sh script replacing the Intel package by xserver-xorg-video-intel.
EDIT: in fact I tried to build the image on my laptop with an integrated graphic chipset but I allways got an error about the sha1sum of the corefonts winetricks download. We might have to wait for the font source or winetricks to be updated...
from docker-wine-steam.
Thanks for the follow up - I wasn't able to get past the issues I mentioned previously either. In the meantime, I just dug up an old laptop (core duo, 2gb RAM!) to play it on until it's released for Linux, which shouldn't be more than few weeks from now anyway.
from docker-wine-steam.
Related Issues (20)
- I cannot see the text in the windows HOT 2
- This project don't have a LICENSE
- ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Protocol error HOT 1
- X Error of failed request: BadValue (integer parameter out of range for operation) HOT 2
- Got error when run winecfg in container. HOT 1
- Issue with /dev/nvidia-uvm HOT 1
- gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory HOT 1
- Can't add file /tmp/.ICE-unix/1217 to tar: archive/tar: sockets not supported. HOT 3
- Failed to query current display settings HOT 3
- noninteractive is not working appropriately HOT 1
- Error: No such container: vaporized_wine HOT 1
- Failure in dockerfile
- Build Not Working HOT 1
- Build.sh stops because UID is readonly variable HOT 2
- Question: Working with alsa? HOT 1
- New dependency needed to build
- Running on Mac OS X HOT 2
- INFO[0000] [8] System error: exec format error HOT 3
- Game starting only 5 Times. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-wine-steam.