Skip to content

Incorrect linux SteamCMD work without system environment variable "HOME" #6

Description

@iTeeLion

Linux SteamCMD use system environment variable "HOME" to create ".steam" folder in user home directory. Many source engine based servers use .steam folder to link to steamclient.so file and connect to steam. Without env variable steam creates folder "(null)" in it's own directory and game servers can't link steamclient.so file.

Solution:
Need to set env variable "HOME" before initialization steamcmd.
setenv("HOME", "/root", 1);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions