FEX-Emu / FEX

A fast usermode x86 and x86-64 emulator for Arm64 Linux
https://fex-emu.com
MIT License
2.31k stars 123 forks source link

Issue with executing steamcmd #4065

Open unkreativ-mp4 opened 1 month ago

unkreativ-mp4 commented 1 month ago

I installed FEX using the quick start command in the read.me, I also installed SteamCMD and checked that the files are there. However if I try executing steamcmd.sh I get the following error:

Invalid or Unsupported elf file.
This is likely due to a misconfigured x86-64 RootFS
Current RootFS path set to ''
RootFS path doesn't exist. This is required on AArch64 hosts
Use FEXRootFSFetcher to download a RootFS

I tried both using the rootfs as extracted and "as is" using FEXRootFSFetcher. I use Ubuntu 22.04.4 on a free tier oracle server, if this helps. The content of the Config.json file is : {"Config":{"RootFS":"Ubuntu_22_04"}} There is also a folder /home/ubuntu/.fex-emu/RootFS/Ubuntu_22_04 with contents that look like an Ubuntu image.

Thank you for any help.

Sonicadvance1 commented 1 month ago

Sounds like you're switching users at some point, since the rootfs install is per-user. Which would lead the additional user to not have a rootfs. A bunch of these copy-paste steamcmd setup guides ask you to change to a steam user, is this what is occuring?

unkreativ-mp4 commented 1 month ago

I used the commands below to install steamcmd I and should be logged in only as the "ubuntu" user

cd /tmp
curl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
mkdir -p /mnt/server/steamcmd
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
cd /mnt/server/steamcmd
Sonicadvance1 commented 1 month ago

That seems to work fine here, maybe FEXServer has a stale configuration running, can try to do a quick FEXServer -k in order to kill the current active FEXServer, letting it reload the config.

unkreativ-mp4 commented 1 month ago

That sadly didn't help