New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I start wine application as a headless service? #114
Comments
Same here. We need some kind of autologin. If the wineuser would auto login, it could startup applications you can configure inside startup settings. So, how to we achieve auto login? |
Hi @widewing, your application looks to be failing as it can’t find an X server. Try using xvfb-run before your command to run with a virtual X server. |
@Loader23 adding applications to start up with auto-login is very Windows-ish and generally not how Linux works or is used. If you could give some more details on what you’re trying to achieve then I may be able to give some suggestions on how it can be done. |
Hello everyone! I'm having a similar problem trying to run a headless container. I've tried using xvfb-run before my commands and I can't seem to get it working properly. EDIT: It appears that the ports I'm trying to use for the Here's my Dockerfile:
Here's how I build the container in a shell script:
And here's the script that's executed once the container is started (runscript.sh):
Most of this appears to run okay, but when it gets to the step where it tries to run the wine command for the windows application this is running, I get this error message:
I'm wondering if it's because I'm trying to have this not run in interactive mode that it's giving me a problem, but there are likely other problems here that I'm missing. This is primarily all from this repository I'm trying to adapt for my lab. I'm trying to make it so users have very little to do for this step of the conversion process because not everyone is very comfortable with running things from the command line. Any advice fellow Wine users? |
I want to start a foobar2000 instance with DLNA service with wine. I can install it with regular docker run method and with RDP, then I want to start foobar2000 before establishing RDP connection. I put the wine command as the command part, but it shows error:
How can I start wine application as a headless service?
The text was updated successfully, but these errors were encountered: