Giter Site home page Giter Site logo

Comments (6)

webanck avatar webanck commented on August 30, 2024

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.

juicetin avatar juicetin commented on August 30, 2024

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.

webanck avatar webanck commented on August 30, 2024

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.

juicetin avatar juicetin commented on August 30, 2024

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.

webanck avatar webanck commented on August 30, 2024

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.

juicetin avatar juicetin commented on August 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.