HOW TO: rFactor2 Dedicated Server on Linux

Discussion in 'Hosting Help' started by trichens, Dec 30, 2023.

  1. trichens

    trichens Registered

    Joined:
    Nov 2, 2020
    Messages:
    215
    Likes Received:
    153
    Hi.
    I've been playing about with getting the rFactor2 Dedicated Server running on a PC with a Linux OS, and the notes accessible via the link below are the results of lots of testing.
    Using Linux like this means that if you have a spare "old" PC lying around your can host your own server without needing a Windows licence.

    This includes details of install of Zorin Linux, SteamCMD, rfactor2 Server, Log Analyser and some basic configuration.
    At the moment this hasn't been tested with Paid For content - just that available as the default S397 and Steam Workshop mods.

    Not tested on a cloud based system (yet!) but in theory that should be possible if the port forwarding can be configured.

    I'd be interested on any feedback

    EDIT: See revised notes in following post
     
    Last edited: Dec 30, 2023
    DanRZ likes this.
  2. trichens

    trichens Registered

    Joined:
    Nov 2, 2020
    Messages:
    215
    Likes Received:
    153
    Updated the notes to include using Paid For DLC which seems to work OK - at least for me.
    Included some screengrabs in this version.

    Have removed files from previous location and added to this post.

    I'd be very interested to hear from anyone that tries this and of their success - or not :)
     

    Attached Files:

  3. dusnake

    dusnake Registered

    Joined:
    Sep 5, 2023
    Messages:
    12
    Likes Received:
    0
    Hi mate, great content! thanks!

    I want to do it in a proxmox VM, and i want to auto-start the rfactor2 server with the OS restart, it is possible?
     
  4. trichens

    trichens Registered

    Joined:
    Nov 2, 2020
    Messages:
    215
    Likes Received:
    153
    Thanks @dusnake.
    Ummmm... interestingly I did try a Proxmox setup with a VM running Zorin as I thought that would be a nice thing to be able to do.

    After getting the initial Zorin system working I changed the hardware config - different and more CPUs and more RAM.
    Installed Proxmox and a Zorin VM but I found the rF2 server wouldn't run.
    This was due to an issue with WINE on the VM throwing errors which I didn't follow up to resolve.
    So reverted back to the original hardare config and all was OK.
    Not bothered to go back to investigate the Proxmox setup TBH

    I don't see why a cron job when the VM startup runs shouldn't be able to start the Dedicated Server but I've only ever used it's GUI interface.
     
  5. dusnake

    dusnake Registered

    Joined:
    Sep 5, 2023
    Messages:
    12
    Likes Received:
    0
    But.. there are any way to start the server via command line?
     
  6. trichens

    trichens Registered

    Joined:
    Nov 2, 2020
    Messages:
    215
    Likes Received:
    153
    Not tried it.
    It appears to get all the params through the JSON files so in theory it may be possible...
    You could use a tool like AutoIt to simulate the button presses, but I'd imagine you'd have to automatically log into the Linux desktop to get the GUI interface to work...

    I can see another project here... :)
     
  7. dusnake

    dusnake Registered

    Joined:
    Sep 5, 2023
    Messages:
    12
    Likes Received:
    0
    Wow, if you need help you can write me
     
  8. dusnake

    dusnake Registered

    Joined:
    Sep 5, 2023
    Messages:
    12
    Likes Received:
    0
    I follow your pdf instructions and i run the rfactor 2 server in proxmox without problems
     
  9. trichens

    trichens Registered

    Joined:
    Nov 2, 2020
    Messages:
    215
    Likes Received:
    153
    Congratulations... I'm glad it works for you. I'll have to retest it myself now
    :D:D:D

    I'm guessing that I have some hardware that causes a problem.
    I was using a Dell R410 with dual Xeon 5500 processors and 128GB RAM
    Works OK with just one Xeon and 64GB RAM and no Proxmox
     

Share This Page