farribeiro / wscef-docker

Warsaw in docker container
MIT License
64 stars 23 forks source link

I could not run it #13

Closed leonardofl closed 7 years ago

leonardofl commented 7 years ago

Hi,

I have tried run the container on my machine, but it did not work.

$ docker-compose run --rm wscef
WARNING: The HOSTNAME variable is not set. Defaulting to a blank string.
WARNING: The XAUTHORITY variable is not set. Defaulting to a blank string.

ERROR: Cannot create container for service wscef: b'create .: volume name is too short, names should be at least two alphanumeric characters'

Am I supposed to configure variables referenced on docker-compose? (I mean DISPLAY, HOSTNAME and XAUTHORITY). Any hint on that?

I'm new on Docker, so I'm not sure if the variables referenced on docker-compose.yml should be host variables or container variables.

I'm running Gnome on Arch Linux.

Tks.

farribeiro commented 7 years ago

I receive the enhancement patch from @lbssousa and don't know about xauth, in my machines works fine, but not tested last commit from a volume to pdf downloads, from @diraol suggestion/PR, test removing the last line about Bank files.

Otherwise, check if you have a xauth on host. And I think the ${HOSTNAME} and ${XAUTHORITY} is ~host~ tty variables, not a system variables.

leonardofl commented 7 years ago

Ha, it happens I'm running Arch Linux with Wayland as display server rather than the traditional xorg.

I set up an Ubuntu VM and run the wscef container on Ubuntu and things worked!

farribeiro commented 7 years ago

Hum... Have a hybrid way to upgrade if wayland to turn standard.

leonardofl commented 7 years ago

I have no idea. But until wayland becomes standard I hope warsaw to be already vanished ;)

farribeiro commented 7 years ago

Tks

farribeiro commented 7 years ago

@leonardofl In Issue #17 , exchanging ideas with @lbssousa, a way to run legacy X11(xfree and xorg servers) apps is running XWayland, is a kind of X Server aka XMing/VcXsrv (for Windows) and XQuartz (for macOS), on top Wayland, a X but incompatible with X11.