diddlesnaps / gog-galaxy-wine

MIT License
50 stars 1 forks source link

Doesn't launch on Ubuntu 18.10 #11

Closed ArekPiekarz closed 5 years ago

ArekPiekarz commented 5 years ago

Summary

The gog-galaxy-wine snap doesn't start on Ubuntu 18.10 x64, Geforce GTX 1050 Ti, Nvidia drivers version 415.27. Snap from stable channel, version 1.2.54.23.

Steps to reproduce

Install the snap with sudo snap install gog-galaxy-wine Try to launch the client, it fails:

$ /snap/bin/gog-galaxy-wine
ln: failed to create symbolic link './settings.ini': Permission denied
ln: failed to create symbolic link './bookmarks': Permission denied
ln: failed to create symbolic link './gtkfilechooser.ini': Permission denied
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

(yad:17198): Gtk-WARNING **: 12:17:18.956: cannot open display: :0.0

(yad:17200): Gtk-WARNING **: 12:17:18.956: cannot open display: :0.0
Unable to init server: Could not connect: Connection refused

(yad:17204): Gtk-WARNING **: 12:17:18.964: cannot open display: :0.0
grep: /home/fazer/snap/gog-galaxy-wine/common/.wine/*.reg: No such file or directory
Unable to init server: Could not connect: Connection refused

(yad:17238): Gtk-WARNING **: 12:17:18.992: cannot open display: :0.0
grep: /home/fazer/snap/gog-galaxy-wine/common/.wine/*.reg: No such file or directory
Unable to init server: Could not connect: Connection refused

(yad:17272): Gtk-WARNING **: 12:17:19.019: cannot open display: :0.0
grep: /home/fazer/snap/gog-galaxy-wine/common/.wine/*.reg: No such file or directory
Unable to init server: Could not connect: Connection refused

(yad:17307): Gtk-WARNING **: 12:17:19.047: cannot open display: :0.0
wineserver: bind: Operation not permitted
removed '/tmp/setup_galaxy_1.2.54.23.exe'
/snap/gog-galaxy-wine/104/bin/sommelier: line 95: cd: /home/fazer/snap/gog-galaxy-wine/common/.wine/drive_c/Program Files (x86)/GOG Galaxy: No such file or directory

Additional info

The "edge" version 1.2.55.42 also doesn't work, showing the same errors.

ArekPiekarz commented 5 years ago

It turned out because Ubuntu disables PPAs during system upgrade, which afterwards you have to manually enable and correct, I had and old Wine 4.0 instead of the newest one for Cosmic. I updated it to 4.7 staging and now GOG Galaxy installs successfully, but without using this snap. I'll close the issue, but if you think it should be reopened, feel free to do it.