Topic: 0.7.4 does't launch on Linux Mint 19
Hi folks,
wanted to try the new 0.7.4 on a Linux Mint machine, but i receive
[2020-01-14 19:36:43][client]: starting...
No protocol specified
Segmentation fault (core dumped)
Can anybody help?
You are not logged in. Please login or register.
Teeworlds Forum → Support → 0.7.4 does't launch on Linux Mint 19
Hi folks,
wanted to try the new 0.7.4 on a Linux Mint machine, but i receive
[2020-01-14 19:36:43][client]: starting...
No protocol specified
Segmentation fault (core dumped)
Can anybody help?
There might have been a *.core file being dumped somewhere, it's some gigabyte big, if you zip it, you can get its size down to a few megabyte.
If there isn't, you gotta open a terminal, write "ulimit -c unlimited" then navigate to the teeworlds client via the terminal and open the client and wait until it crashes.
https://stackoverflow.com/questions/291 … -c-program
Then you need to zip the coredump file and the teeworlds client, best would be the simply zip the whole folder with the core dump and upload it somewhere.
Hey, I use Mint as well. Have you ever successfully run other versions of Teeworlds on this machine?
I successfully ran 0.6.4 from Ubuntu repository and 0.7.2 from snap repository. But there are no 0.7.4 files on those repos.
I successfully ran 0.6.4 from Ubuntu repository and 0.7.2 from snap repository. But there are no 0.7.4 files on those repos.
In order to identify whether this is a 0.7.4 or a install-out-of-zip problem, could you try the flathub version? We officially maintain it at https://flathub.org/apps/details/com.te … .Teeworlds
Ok, now it works. I installed 7.4. from Flathub and I recognize I am not very familiar with this Flatpak and Snap stuff...
Also, i would like to run a local server. I found teeworlds_srv in /var/lib/flatpak/app/com.teeworlds.Teeworlds/x86_64/stable/9c3c7a1f4ec22bf6c0c5601e180f4a2237262037e7fa79606c3c48fb11039fed/files/bin (omg).
First attempt was aborted:
[2020-01-20 19:31:54][console]: failed to open 'autoexec.cfg'
.. ok, is there an easy way to launch an 7.4 linux server?
Ok, now it works. I installed 7.4. from Flathub and I recognize I am not very familiar with this Flatpak and Snap stuff...
Also, i would like to run a local server. I found teeworlds_srv in /var/lib/flatpak/app/com.teeworlds.Teeworlds/x86_64/stable/9c3c7a1f4ec22bf6c0c5601e180f4a2237262037e7fa79606c3c48fb11039fed/files/bin (omg).
Yeah, Flatpak works as a sandbox. But glad it works for you.
It is strange that it doesn't work out of the zip though.
First attempt was aborted:
[2020-01-20 19:31:54][console]: failed to open 'autoexec.cfg'
.. ok, is there an easy way to launch an 7.4 linux server?
This is not a critical error, it just means you haven't set up a configuration file. The server will start with defaults and should continue, showing other messages such as the password it has shuffled. Does it not?
Thank you for this extraordinary quick reply!
$ ./teeworlds_srv
[2020-01-20 20:00:47][engine]: running on unix-linux-amd64
[2020-01-20 20:00:47][engine]: arch is little endian
[2020-01-20 20:00:47][storage]: warning no data directory found
[2020-01-20 20:00:47][storage]: couldn't open storage.cfg
[2020-01-20 20:00:47][storage]: using standard paths
[2020-01-20 20:00:47][storage]: added path '$USERDIR' ('/home/jbb/.teeworlds')
[2020-01-20 20:00:47][storage]: added path '$CURRENTDIR' ('/var/lib/flatpak/app/com.teeworlds.Teeworlds/x86_64/stable/9c3c7a1f4ec22bf6c0c5601e180f4a2237262037e7fa79606c3c48fb11039fed/files/bin')
[2020-01-20 20:00:47][storage]: added path '$APPDIR' ('.')
[2020-01-20 20:00:47][console]: failed to open 'autoexec.cfg'
[2020-01-20 20:00:47][console]: Info: only relative paths starting from the ones you specify in 'storage.cfg' are allowed
[2020-01-20 20:00:47][server]: starting...
[2020-01-20 20:00:47][mapchecker]: invalid standard map
[2020-01-20 20:00:47][server]: failed to load map. mapname='dm1'
Server does not start.
Thank you for this extraordinary quick reply!
$ ./teeworlds_srv [2020-01-20 20:00:47][engine]: running on unix-linux-amd64 [2020-01-20 20:00:47][engine]: arch is little endian [2020-01-20 20:00:47][storage]: warning no data directory found [2020-01-20 20:00:47][storage]: couldn't open storage.cfg [2020-01-20 20:00:47][storage]: using standard paths [2020-01-20 20:00:47][storage]: added path '$USERDIR' ('/home/jbb/.teeworlds') [2020-01-20 20:00:47][storage]: added path '$CURRENTDIR' ('/var/lib/flatpak/app/com.teeworlds.Teeworlds/x86_64/stable/9c3c7a1f4ec22bf6c0c5601e180f4a2237262037e7fa79606c3c48fb11039fed/files/bin') [2020-01-20 20:00:47][storage]: added path '$APPDIR' ('.') [2020-01-20 20:00:47][console]: failed to open 'autoexec.cfg' [2020-01-20 20:00:47][console]: Info: only relative paths starting from the ones you specify in 'storage.cfg' are allowed [2020-01-20 20:00:47][server]: starting... [2020-01-20 20:00:47][mapchecker]: invalid standard map [2020-01-20 20:00:47][server]: failed to load map. mapname='dm1'
Server does not start.
Ah, so you don't have a maps folder. Not cool. I think we should edit flatpak to include it...
In your case a quick & dirty fix would be to take the teeworlds-0.7.4/data/maps folder from the zip you downloaded, and copy it to `~/.local/share/teeworlds/maps`
We have a support IRC channel at https://webchat.quakenet.org/?channels=teeworlds for even faster replies ;-)
Yeah, i can do it. That's ok for me, but maybe not for everybody. And i can't find an up-to-date manual.
Yeah, i can do it. That's ok for me, but maybe not for everybody. And i can't find an up-to-date manual.
Well, it is very surprising that out-of-zip builds yield a segfault for you, and I have no idea what causes that. It should be pretty simple, that's the recommended way to get Teeworlds in Linux.
PS: you can also copy the data folder to '/app/share/teeworlds' when it comes to flatpak
We have a support IRC channel at https://webchat.quakenet.org/?channels=teeworlds for even faster replies ;-)
Thanky Dune for this kind help, but I am at work atm and there is no IRC client available.
And maybe some other people are interested in the solving of those issues here...
Dune wrote:We have a support IRC channel at https://webchat.quakenet.org/?channels=teeworlds for even faster replies ;-)
Thanky Dune for this kind help, but I am at work atm and there is no IRC client available.
And maybe some other people are interested in the solving of those issues here...
The link is to a webchat, so you don't need an IRC client.
Troubleshooting over the forum is a bit slower, but that can be done. I struggle to see what could print "No protocol specified". Do you just start teeworlds with
./teeworlds
?
Can you send us the full log?
Edit: this was sorted on IRC
Ok, second attempt on a vanilla Linux Mint 19.2 XFCE
$ ./teeworlds
./teeworlds: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
so i did:
sudo apt install libSDL2-2.0
then:
$ ./teeworlds
[2020-01-24 17:06:19][engine]: running on unix-linux-amd64
[2020-01-24 17:06:19][engine]: arch is little endian
[2020-01-24 17:06:19][storage]: added path '$USERDIR' ('/home/jbb/.local/share/teeworlds')
[2020-01-24 17:06:19][storage]: added path '$DATADIR' ('data')
[2020-01-24 17:06:19][storage]: added path '$CURRENTDIR' ('/home/website/.teeworlds-0.7.4-linux_x86_64')
[2020-01-24 17:06:19][storage]: added path '$APPDIR' ('.')
[2020-01-24 17:06:19][binds]: bound f1 (186) = toggle_local_console
[2020-01-24 17:06:19][binds]: bound f2 (187) = toggle_remote_console
[2020-01-24 17:06:19][binds]: bound tab (9) = +scoreboard
[2020-01-24 17:06:19][binds]: bound e (101) = +stats
[2020-01-24 17:06:19][binds]: bound u (117) = +show_chat
[2020-01-24 17:06:19][binds]: bound f10 (195) = screenshot
[2020-01-24 17:06:19][binds]: bound ctrl+s (115) = snd_toggle
[2020-01-24 17:06:19][binds]: bound a (97) = +left
[2020-01-24 17:06:19][binds]: bound d (100) = +right
[2020-01-24 17:06:19][binds]: bound space (32) = +jump
[2020-01-24 17:06:19][binds]: bound mouse1 (411) = +fire
[2020-01-24 17:06:19][binds]: bound mouse2 (412) = +hook
[2020-01-24 17:06:19][binds]: bound lshift (353) = +emote
[2020-01-24 17:06:19][binds]: bound rshift (357) = +spectate
[2020-01-24 17:06:19][binds]: bound right (207) = spectate_next
[2020-01-24 17:06:19][binds]: bound left (208) = spectate_previous
[2020-01-24 17:06:19][binds]: bound 1 (49) = +weapon1
[2020-01-24 17:06:19][binds]: bound 2 (50) = +weapon2
[2020-01-24 17:06:19][binds]: bound 3 (51) = +weapon3
[2020-01-24 17:06:19][binds]: bound 4 (52) = +weapon4
[2020-01-24 17:06:19][binds]: bound 5 (53) = +weapon5
[2020-01-24 17:06:19][binds]: bound mousewheelup (420) = +prevweapon
[2020-01-24 17:06:19][binds]: bound mousewheeldown (421) = +nextweapon
[2020-01-24 17:06:19][binds]: bound t (116) = chat all
[2020-01-24 17:06:19][binds]: bound y (121) = chat team
[2020-01-24 17:06:19][binds]: bound x (120) = chat whisper
[2020-01-24 17:06:19][binds]: bound f3 (188) = vote yes
[2020-01-24 17:06:19][binds]: bound f4 (189) = vote no
[2020-01-24 17:06:19][binds]: bound r (114) = ready_change
[2020-01-24 17:06:19][console]: executing 'settings07.cfg'
[2020-01-24 17:06:19][binds]: bound tab (9) = +scoreboard
[2020-01-24 17:06:19][binds]: bound space (32) = +jump
[2020-01-24 17:06:19][binds]: bound 1 (49) = +weapon1
[2020-01-24 17:06:19][binds]: bound 2 (50) = +weapon2
[2020-01-24 17:06:19][binds]: bound 3 (51) = +weapon3
[2020-01-24 17:06:19][binds]: bound 4 (52) = +weapon4
[2020-01-24 17:06:19][binds]: bound 5 (53) = +weapon5
[2020-01-24 17:06:19][binds]: bound a (97) = +left
[2020-01-24 17:06:19][binds]: bound d (100) = +right
[2020-01-24 17:06:19][binds]: bound e (101) = +stats
[2020-01-24 17:06:19][binds]: bound r (114) = ready_change
[2020-01-24 17:06:19][binds]: bound ctrl+s (115) = snd_toggle
[2020-01-24 17:06:19][binds]: bound t (116) = chat all
[2020-01-24 17:06:19][binds]: bound u (117) = +show_chat
[2020-01-24 17:06:19][binds]: bound x (120) = chat whisper
[2020-01-24 17:06:19][binds]: bound y (121) = chat team
[2020-01-24 17:06:19][binds]: bound f1 (186) = toggle_local_console
[2020-01-24 17:06:19][binds]: bound f2 (187) = toggle_remote_console
[2020-01-24 17:06:19][binds]: bound f3 (188) = vote yes
[2020-01-24 17:06:19][binds]: bound f4 (189) = vote no
[2020-01-24 17:06:19][binds]: bound f10 (195) = screenshot
[2020-01-24 17:06:19][binds]: bound right (207) = spectate_next
[2020-01-24 17:06:19][binds]: bound left (208) = spectate_previous
[2020-01-24 17:06:19][binds]: bound lshift (353) = +emote
[2020-01-24 17:06:19][binds]: bound rshift (357) = +spectate
[2020-01-24 17:06:19][binds]: bound mouse1 (411) = +fire
[2020-01-24 17:06:19][binds]: bound mouse2 (412) = +hook
[2020-01-24 17:06:19][binds]: bound mousewheelup (420) = +prevweapon
[2020-01-24 17:06:19][binds]: bound mousewheeldown (421) = +nextweapon
[2020-01-24 17:06:19][console]: failed to open 'autoexec.cfg'
[2020-01-24 17:06:19][console]: Info: only relative paths starting from the ones you specify in 'storage.cfg' are allowed
[2020-01-24 17:06:19][client]: starting...
No protocol specified
Segmentation fault (core dumped)
and then let's try
sudo ./teeworlds
works... [facepalm]
[2020-01-24 17:06:19][storage]: added path '$USERDIR' ('/home/jbb/.local/share/teeworlds')
[2020-01-24 17:06:19][storage]: added path '$CURRENTDIR' ('/home/website/.teeworlds-0.7.4-linux_x86_64')
Logged-in user was "website"
Edit: nevermind
Teeworlds Forum → Support → 0.7.4 does't launch on Linux Mint 19
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.