1. Welcome to the Starbound support forums. Please check the support FAQs before posting: http://playstarbound.com/support

Trying to set up a Starbound server for Linux

Discussion in 'Starbound Support' started by Tagglink, Aug 5, 2016.

  1. Tagglink

    Tagglink Void-Bound Voyager

    Hiya. So I realized I had an old can collecting dust and decided to turn it into a Starbound server. Because Starbound is pretty cool. So I've gone through the trouble of installing Ubuntu and setting everything up - following this tutorial:
    http://starbounder.org/Guide:LinuxServerSetup

    The thing is, when I try to run the server, it tells me this:

    Code:
    No protocol specified
    Failed to connect to Mir: Failed to connect to server socket: No such file or directory
    Unable to init server: Could not connect: Connection refused
    Failed to parse arguments: Cannot open display:
    ./run-server.sh: 16: ./run-server.sh: konsole: not found
    No protocol specified
    Failed to connect to Mir: Failed to connect to server socket: No such file or directory
    Unable to init server: Could not connect: Connection refused
    Failed to parse arguments: Cannot open display:
    ./run-server.sh: 16: ./run-server.sh: xfce4-terminal.wrapper: not found
    koi8rxterm tried to use locale ru_RU.KOI8-R by setting $LANG
    No protocol specified
    Error: Can't open display: :0
    No protocol specified
    xterm: Xt error: Can't open display: :0
    No protocol specified
    xterm: Xt error: Can't open display: :0
    No protocol specified
    xterm: Xt error: Can't open display: :0
    


    Currently on the Desktop version of Ubuntu 16.04

    I understand it has something to do with display drivers or something, but I'm really inept at Linux so I figured I could ask some of you guys, maybe you'd be better educated.

    Cheers! //Tagglink
     
  2. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    Lol the launch script for the linux server is very strange o_O
    Open a terminal, navigate to the folder and run:
    Code:
    ./starbound_server
    If it says something about execution just do:
    Code:
    chmod +x ./starbound_server
    and run the above command again.

    ~ Iris ~
     
  3. Tagglink

    Tagglink Void-Bound Voyager

    This didn't work

    Code:
    steam@Mayuri-tan:~/steamcmd/SteamApps/Starbound/linux$ chmod +x ./starbound_server
    steam@Mayuri-tan:~/steamcmd/SteamApps/Starbound/linux$ ./starbound_server
    -su: ./starbound_server: cannot execute binary file: Exec format error
    steam@Mayuri-tan:~/steamcmd/SteamApps/Starbound/linux$ ls -la
    total 124764
    drwxrwxr-x  2 steam steam     4096 aug  5 22:27 .
    drwxrwxr-x 13 steam steam     4096 aug  5 22:27 ..
    -rwxrwxr-x  1 steam steam  4897920 aug  5 22:25 asset_packer
    -rwxrwxr-x  1 steam steam  4889728 aug  5 22:25 asset_unpacker
    -rwxrwxr-x  1 steam steam 18989984 aug  5 22:25 dump_versioned_json
    -rwxrwxr-x  1 steam steam   258522 aug  5 22:24 libsteam_api.so
    -rwxrwxr-x  1 steam steam 18989984 aug  5 22:25 make_versioned_json
    -rwxrwxr-x  1 steam steam 19006368 aug  5 22:25 planet_mapgen
    -rwxrwxr-x  1 steam steam       89 aug  5 22:22 run-client.sh
    -rwxrwxr-x  1 steam steam      259 aug  5 22:24 run-server.sh
    -rwxrwxr-x  1 steam steam      105 aug  5 22:24 sbinit.config
    -rwxrwxr-x  1 steam steam 22522104 aug  5 22:24 starbound
    -rwx--x--x  1 steam steam 19047104 aug  5 22:25 starbound_server
    -rwxrwxr-x  1 steam steam 19092384 aug  5 22:25 update_tilesets
    


    It's already executable.

    Code:
    ./run-server.sh
    still gives the same result as before.

    Appreciate the quick reply, though.
     
  4. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    What's the output of
    Code:
    file starbound_server
    and is your machine 32bit or 64bit?

    ~ Iris ~
     
  5. Tagglink

    Tagglink Void-Bound Voyager

    Update: I'm bad at reading instructions. The tutorial says that it assumes I've forwarded the necessary ports, which I have not.
     
  6. Tagglink

    Tagglink Void-Bound Voyager

    Code:
    steam@Mayuri-tan:~/steamcmd/SteamApps/Starbound/linux$ file starbound_server
    starbound_server: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, stripped

    My machine is 32-bit. So apparently it's the wrong server. Is it possible to get a 32-bit server?
     
  7. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    As i'm aware only windows has a 32bit server. Is it a hardware limitation or could you upgrade your system to 64 bit?

    ~ Iris ~
     
  8. Tagglink

    Tagglink Void-Bound Voyager

    Aw, that's a shame. Yes, my processor is 32-bit, so it's not the OS.
     
  9. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    Maybe you can contact mollygos per pm and ask her for plans or the possibility of a linux 32bit server.

    ~ Iris ~
     
  10. Tagglink

    Tagglink Void-Bound Voyager

    Alright, I'll try doing that. Thanks for your help!
     

Share This Page