Hi
I have a file on home/andres/Download/file.exe
I want to run it with x11docker but I dont know how... Someone can help me? Thanks!
I assume file.exe is a Windows application. Am I right?
You can use image x11docker/lxde-wine to run Windows applications with wine in docker.
You'll also need Xephyr.
Run:
x11docker --desktop --home x11docker/lxde-wine
Copy file.exe to /home/andres/x11docker/x11docker-lxde-wine/Desktop.
It will appear on the lxde-wine Desktop. Try to run it there with wine.
Thanks!
@mviereck Hi ! I know this ticket is closed I'm trying to launch an windows exe from my Linux home directory. I'm sorry I'm may be a little noob but I did not understand your explanations.
x11docker/lxde-wine--xephyr option ? It's fine without for me.x11docker directory is it ? Is this the one I git pushed ? but 1/ this directory is a temporary (your doc said I can removed it) and 2/ there is no sub-directories x11docker-lxde-wine/Desktop inside. So I created them and placed the exe file.When you said "You'll also need Xephyr" shall I add the --xephyr option ? It's fine without for me.
It's just a recommendation. Xephyr runs as nested X server in an already running X session, and x11docker will use it automatically if it is installed. You can specify a desired X server with --xephyr, --xorg or other X server options provided by x11docker. If you are fine with Xorg / --xorg, ok.
When you said "Copy file.exe to /home/andres/x11docker/x11docker-lxde-wine/Desktop" which x11docker directory is it ?
I do not see my .exe file in the desktop.
Probably you started without option --home.
If you run x11docker with option --home, it will create a persistent home directory for the container. It is stored in ~/.local/share/x11docker/imagename. The directory ~/.local/share/x11docker is soft-linked to ~/x11docker.
If you run x11docker --desktop --home x11docker/lxde-wine, you'll find a folder in your host HOME: ~/x11docker/x11docker-lxde-wine/Desktop. There you can store your Windows exe file.
I have an very old Borland Delphi 5 that I want to install, do you think I can install it ?
That is rather a wine question. Just try out and have a look at WineHQ for Borland Delphi reports.
Its debugger might need more privileges than x11docker gives as default. Try with option --cap-default if you encounter issues with the debugger.
x11docker can run games over wine? If I pass the GTA San Andreas, it'll run?
x11docker can run games over wine? If I pass the GTA San Andreas, it'll run?
Just try out. WineHQ: GTA San Andreas says it would run with wine. So it will probably run in x11docker/lxde-wine, too.
Ok that worked :) I used --home bu I did not understood that .local/share/x11docker was created
Ok that worked :)
Good! :)
I used --home bu I did not understood that .local/share/x11docker was created
~/.local/share/x11docker is not that obvious documented. x11docker should create a softlink to ~/x11docker. Is that missing on your system? Maybe the softlink creation somehow failed.
Yep this should be documented. I have not the softlink but that's fine since I have the .local directory.
@Lecrapouille Thank you for the feedback!
~/.local/share/x11docker is documented now in README.md and in the output of x11docker --help.
Most helpful comment
I assume
file.exeis a Windows application. Am I right?You can use image
x11docker/lxde-wineto run Windows applications with wine in docker.You'll also need
Xephyr.Run:
x11docker --desktop --home x11docker/lxde-wineCopy
file.exeto/home/andres/x11docker/x11docker-lxde-wine/Desktop.It will appear on the lxde-wine Desktop. Try to run it there with wine.