ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

Steam doesn't stay connected when started on two Linux PCs #5611

Open flyser opened 6 years ago

flyser commented 6 years ago

Your system information

Description

When starting Steam on two Linux PCs and logging in with the same account, only the most recently started client stays connected. The first client displays "NO CONNECTION" in the main UI and "Connection closed" in the friends list (I translated the messages from german, so the wording might not be exact). Note that this works as intended with one Linux and one Windows or two Windows PCs; only 2x Linux exhibits this bug. This bug is very annoying when trying to use in-home streaming.

Steps for reproducing this issue:

  1. Start Steam and login on first Linux PC
  2. Start Steam and login on second Linux PC using the same steam account
  3. Check Main UI and friends list on first PC (It should be logged out, only second PC is logged in) Optionally:
  4. Restart steam on first Linux PC
  5. Check Main UI and friends list on second PC (It should be logged out, only first PC is logged in)
flyser commented 6 years ago

Note that I submitted a ticket (HT-BP4P-2RRJ-RGQ4) and was forwarded here.

OvermindDL1 commented 6 years ago

I thought this was by design.... But yes, this is extremely irritating, I use two computers fairly routinely and I always have to log back in on the other when switching, which means grabbing my phone, loading the authenticator, etc... etc...

kisak-valve commented 6 years ago

Hello @flyser, random guess, does running steam from a terminal with LANG=C steam on both systems make a difference? What locales does your system have?

flyser commented 6 years ago

@kisak-valve I tried launching steam with LANG=C steam on both systems, but it didn't make a difference. My LANG is "de_DE.utf8"

kisak-valve commented 6 years ago

What's the output of locale -a?

flyser commented 6 years ago

@kisak-valve on one system:

C
de_DE.utf8
en_US.utf8
POSIX

the other:

C
de_DE.utf8
en_GB.utf8
en_US.utf8
POSIX
kisak-valve commented 6 years ago

Thanks, all this tells us is that my guess is wrong.

Sanaki commented 6 years ago

This isn't just true for two linux systems. Happens to my linux client when I log in on Windows afterward. Same for unsupported alternate "clients" like archisteamfarm. Logging in to any other client while the linux client is running will disconnect the linux client.

EDIT: Not sure when it changed, but I haven't had this issue in some time now.

Kipari commented 5 years ago

This seems to still be an issue. I have trouble with two clients, one on Arch Linux, and one on NixOS, competing for the connection. I have tried updating both clients to the newest beta without any luck. Any news on this issue?

8Kuula commented 4 years ago

Happends also when log in from same linux computer, Steam client and browser. Client gets disconnected. If I confirm market sells from tablet (android) desktop client gets disconnected.

I suspect server thinks same client tries to login again. Tablet gets connection from wlan that desktop computer shares. Steam client, browser and tablet, looking on server side, has same ip.

Maybe, I do not know how Steam servers authenticate clients...