ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

Ubuntu 22.04 - Unable to start steam - Could not connect to X session manager: None of the authentication protocols specified are supported #9761

Open prestonvanloon opened 1 year ago

prestonvanloon commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

I am able to log in, but not view the store, library, or anything at all beyond the login.

CLI Logs
``` Unable to determine whether the expected Nvidia drivers are available. The Steam client may have limited functionality. steam.sh[955336]: Running Steam on ubuntu 22.04 64-bit steam.sh[955336]: STEAM_RUNTIME is enabled automatically setup.sh[955493]: Steam runtime environment up-to-date! steam.sh[955336]: Steam client's requirements are satisfied 06/29 21:26:57 Init: Installing breakpad exception handler for appid(steam)/version(1687386907)/tid(955575) (process:955575): GLib-GObject-CRITICAL **: 21:26:58.021: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (process:955575): GLib-GObject-CRITICAL **: 21:26:58.021: g_object_unref: assertion 'G_IS_OBJECT (object)' failed GetWin32Stats: display was not open yet, good Loaded SDL version 3.0.0-1782-g214d5daa3 Gtk-Message: 21:26:58.157: Failed to load module "gail" Gtk-Message: 21:26:58.157: Failed to load module "atk-bridge" (steam:955575): Gtk-WARNING **: 21:26:58.163: Unable to locate theme engine in module_path: "adwaita", /usr/share/themes/Yaru-olive/gtk-2.0/main.rc:775: error: unexpected identifier 'direction', expected character '}' (steam:955575): Gtk-WARNING **: 21:26:58.164: Unable to locate theme engine in module_path: "adwaita", /usr/share/themes/Yaru-olive/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant GetWin32Stats: display was not open yet, good steamwebhelper.sh[955689]: Runtime for steamwebhelper: defaulting to /home/preston/.local/share/Steam/ubuntu12_64/steam-runtime-heavy steamwebhelper.sh[955689]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3() Could not connect to X session manager: None of the authentication protocols specified are supported CAppInfoCacheReadFromDiskThread took 32 milliseconds to initialize Failed to init SteamVR because it isn't installed (steam:955575): Gtk-WARNING **: 21:26:59.005: gtk_disable_setlocale() must be called before gtk_init() local (potentially out of sync) copy of roaming config loaded - 164 bytes. BRefreshApplicationsInLibrary 1: 0ms roaming config store loaded successfully - 164 bytes. migrating temporary roaming config store (steam:955575): GLib-GObject-CRITICAL **: 21:27:01.262: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (steam:955575): GLib-GObject-CRITICAL **: 21:27:01.262: g_object_unref: assertion 'G_IS_OBJECT (object)' failed Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported System startup time: 3.39 seconds (steam:955575): GLib-GObject-CRITICAL **: 21:27:01.725: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (steam:955575): GLib-GObject-CRITICAL **: 21:27:01.725: g_object_unref: assertion 'G_IS_OBJECT (object)' failed ```

Steps for reproducing this issue:

  1. Download the steam_latest.deb
  2. sudo dpkg -i ./steam_latest.db
  3. steam
  4. Login
  5. Unable to view the window with store, library, etc. I can see the friends list though.
T0m0ko commented 1 year ago

Exact same issue i've had. The best thing I recommend is to try the workaround steam -vgui which brings up the old UI.

prestonvanloon commented 1 year ago

Similar issues: #9752 #9763

profluizao commented 1 year ago

Same problem that just happened here. Pop OS 22.04 (Base Ubuntu 22.04) - NVidia GTX 1650 Please note that I updated the Nvidia driver version to 535.54.03. Only steam -vgui works. Below is the print of the execution in the console.

$ steam steam.sh[30873]: Running Steam on pop 22.04 64-bit steam.sh[30873]: STEAM_RUNTIME is enabled automatically setup.sh[30994]: Steam runtime environment up-to-date! steam.sh[30873]: Steam client's requirements are satisfied [2023-07-01 20:13:02] Startup - updater built Jun 21 2023 21:17:38 [2023-07-01 20:13:02] Startup - Steam Client launched with: '/home/colossus/.local/share/Steam/ubuntu12_32/steam' '-vgui' 07/01 20:13:02 Init: Installing breakpad exception handler for appid(steam)/version(1687386907)/tid(31076) [2023-07-01 20:13:02] Loading cached metrics from disk (/home/colossus/.local/share/Steam/package/steam_client_metrics.bin) [2023-07-01 20:13:02] Using the following download hosts for Public, Realm steamglobal [2023-07-01 20:13:02] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf' [2023-07-01 20:13:02] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf' [2023-07-01 20:13:02] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' [2023-07-01 20:13:02] Verifying installation... [2023-07-01 20:13:02] Verification complete

(process:31076): GLib-GObject-CRITICAL **: 20:13:02.861: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(process:31076): GLib-GObject-CRITICAL **: 20:13:02.861: g_object_unref: assertion 'G_IS_OBJECT (object)' failed XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf08719c0 XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf08701f0 GetWin32Stats: display was not open yet, good Loaded SDL version 3.0.0-1782-g214d5daa3 Gtk-Message: 20:13:03.193: Failed to load module "gail" Gtk-Message: 20:13:03.193: Failed to load module "atk-bridge"

(steam:31076): Gtk-WARNING **: 20:13:03.203: Unable to locate theme engine in module_path: "adwaita", /usr/share/themes/Pop-dark/gtk-2.0/main.rc:775: error: unexpected identifier 'direction', expected character '}'

(steam:31076): Gtk-WARNING **: 20:13:03.204: Unable to locate theme engine in module_path: "adwaita", /usr/share/themes/Pop-dark/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant GetWin32Stats: display was not open yet, good ComputeStartupMode: forcing vgui via cli steamwebhelper.sh[31089]: Runtime for steamwebhelper: defaulting to /home/colossus/.local/share/Steam/ubuntu12_64/steam-runtime-heavy steamwebhelper.sh[31089]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3() Could not connect to X session manager: None of the authentication protocols specified are supported CAppInfoCacheReadFromDiskThread took 27 milliseconds to initialize Failed to init SteamVR because it isn't installed Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported local (potentially out of sync) copy of roaming config loaded - 307 bytes.

(steam:31076): Gtk-WARNING **: 20:13:04.608: gtk_disable_setlocale() must be called before gtk_init() sanitize shortcut app id "/usr/games/lutris": replacing 0 with 3436509153, reason: k_unAppIdInvalid roaming config store loaded successfully - 307 bytes. migrating temporary roaming config store BRefreshApplicationsInLibrary 1: 0ms

(steam:31076): GLib-GObject-CRITICAL **: 20:13:07.878: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(steam:31076): GLib-GObject-CRITICAL **: 20:13:07.878: g_object_unref: assertion 'G_IS_OBJECT (object)' failed Could not connect to X session manager: None of the authentication protocols specified are supported

SeanOMik commented 1 year ago

Exact same issue i've had. The best thing I recommend is to try the workaround steam -vgui which brings up the old UI.

This does make steam mostly work, but when I try to add a new steam library and click on the plus button, it can't bring up a browser and gives that error in the terminal. All my games are stored on a secondary drive, so I can't use steam without reinstalling my games.

T0m0ko commented 1 year ago

Exact same issue i've had. The best thing I recommend is to try the workaround steam -vgui which brings up the old UI.

This does make steam mostly work, but when I try to add a new steam library and click on the plus button, it can't bring up a browser and gives that error in the terminal. All my games are stored on a secondary drive, so I can't use steam without reinstalling my games.

That's the exact problem with this new ui. Nothing really works other than library. its workaround but thats all it is

zt64 commented 1 year ago

I'm also having this exact issue on Arch Linux but not even -vgui fixes it.

Log ``` steam.sh[44515]: Running Steam on arch rolling 64-bit steam.sh[44515]: STEAM_RUNTIME is enabled automatically setup.sh[44589]: Steam runtime environment up-to-date! steam.sh[44515]: Steam client's requirements are satisfied [2023-07-03 15:02:15] Startup - updater built Jun 21 2023 21:17:38 [2023-07-03 15:02:15] Startup - Steam Client launched with: '/home/nick/.local/share/Steam/ubuntu12_32/steam' '-vgui' 07/03 15:02:15 Init: Installing breakpad exception handler for appid(steam)/version(1687386907)/tid(44664) Looks like steam didn't shutdown cleanly, scheduling immediate update check [2023-07-03 15:02:15] Loading cached metrics from disk (/home/nick/.local/share/Steam/package/steam_client_metrics.bin) [2023-07-03 15:02:15] Using the following download hosts for Public, Realm steamglobal [2023-07-03 15:02:15] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf' [2023-07-03 15:02:15] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf' [2023-07-03 15:02:15] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' [2023-07-03 15:02:15] Checking for update on startup [2023-07-03 15:02:15] Checking for available updates... [2023-07-03 15:02:15] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12 [2023-07-03 15:02:15] Manifest download: send request [2023-07-03 15:02:16] Manifest download: waiting for download to finish [2023-07-03 15:02:16] Manifest download: finished [2023-07-03 15:02:16] Download skipped: /steam_client_ubuntu12 version 1687386907, installed version 1687386907, existing pending version 0 [2023-07-03 15:02:16] Nothing to do [2023-07-03 15:02:16] Verifying installation... [2023-07-03 15:02:16] Performing checksum verification of executable files [2023-07-03 15:02:16] Verification complete (process:44664): GLib-GObject-CRITICAL **: 15:02:16.751: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (process:44664): GLib-GObject-CRITICAL **: 15:02:16.751: g_object_unref: assertion 'G_IS_OBJECT (object)' failed XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf0487db0 XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf0486500 GetWin32Stats: display was not open yet, good Loaded SDL version 3.0.0-1782-g214d5daa3 Gtk-Message: 15:02:42.293: Failed to load module "appmenu-gtk-module" (steam:44664): Gtk-WARNING **: 15:02:42.305: Unable to locate theme engine in module_path: "adwaita", /usr/share/themes/Catppuccin-Mocha-Standard-Mauve-dark/gtk-2.0/main.rc:790: error: unexpected identifier 'direction', expected character '}' (steam:44664): Gtk-WARNING **: 15:02:42.306: Unable to locate theme engine in module_path: "adwaita", /usr/share/themes/Catppuccin-Mocha-Standard-Mauve-dark/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant GetWin32Stats: display was not open yet, good ComputeStartupMode: forcing vgui via cli steamwebhelper.sh[44687]: Runtime for steamwebhelper: defaulting to /home/nick/.local/share/Steam/ubuntu12_64/steam-runtime-heavy steamwebhelper.sh[44687]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3() Could not connect to X session manager: None of the authentication protocols specified are supported CAppInfoCacheReadFromDiskThread took 123 milliseconds to initialize src/steamUI/steamuisharedjscontroller.cpp (529) : Failed creating offscreen shared JS context src/steamUI/steamuisharedjscontroller.cpp (529) : Failed creating offscreen shared JS context src/steamUI/steamuisharedjscontroller.cpp (529) : Fatal assert; application exiting src/steamUI/steamuisharedjscontroller.cpp (529) : Fatal assert; application exiting 07/03 15:03:07 Init: Installing breakpad exception handler for appid(steam)/version(1687386907)/tid(44664) assert_20230703150307_29.dmp[44875]: Uploading dump (out-of-process) /tmp/dumps/assert_20230703150307_29.dmp _ExitOnFatalAssert ```
prestonvanloon commented 1 year ago

I believe I have resolved my problem by updating nvidia drivers from 525 to 535.

sudo apt-get update && sudo apt-get -y install cuda-drivers
sudo reboot
T0m0ko commented 1 year ago

I believe I have resolved my problem by updating nvidia drivers from 525 to 535.

sudo apt-get update && sudo apt-get -y install cuda-drivers
sudo reboot

This was also a resolution on my thread as well. Update your drivers please.

jl-cs commented 1 year ago

I believe I have resolved my problem by updating nvidia drivers from 525 to 535.

sudo apt-get update && sudo apt-get -y install cuda-drivers
sudo reboot

Can't confirm this on my side. Already on 535, but the problem persists.

SeanOMik commented 1 year ago

I'm also on 535 and getting the same issue. I'm on Arch, so this isn't just an issue with Ubuntu. I'm using Gnome with x11

profluizao commented 1 year ago

I believe I have resolved my problem by updating nvidia drivers from 525 to 535.

sudo apt-get update && sudo apt-get -y install cuda-drivers
sudo reboot

This doesn't solve it, I'm on 535 and the problem occurs the same way. Only steam -vgui works, but network friend list don't connect.

SeanOMik commented 1 year ago

Okay, some more findings. I'm using Gnome, nvidia 535 on arch. Steam is the latest version. I did find that I can start steam up without -vgui but it will take anywhere from 2-8 minutes, maybe even longer, to open. I decided to check journalctl and noticed these errors:

Jul 05 23:35:35 smallarch steam.desktop[15104]: steamwebhelper.sh[15104]: Runtime for steamwebhelper: defaulting to /home/seanomik/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
Jul 05 23:35:35 smallarch steam.desktop[15104]: steamwebhelper.sh[15104]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
Jul 05 23:35:42 smallarch systemd-coredump[15215]: [🡕] Process 15104 (steamwebhelper) of user 1000 dumped core.

                                                   Stack trace of thread 15104:
                                                   #0  0x00007f57477db794 n/a (/home/seanomik/.local/share/Steam/ubuntu12_64/libcef.so + 0x43db794)
                                                   #1  0x00007f5747867522 n/a (/home/seanomik/.local/share/Steam/ubuntu12_64/libcef.so + 0x4467522)
                                                   #2  0x00007f574786a764 n/a (/home/seanomik/.local/share/Steam/ubuntu12_64/libcef.so + 0x446a764)
                                                   #3  0x00007f572d2f77f2 n/a (libnvidia-glcore.so.535.54.03 + 0x14f77f2)
                                                   #4  0x00007f572cdfcf45 n/a (libnvidia-glcore.so.535.54.03 + 0xffcf45)
                                                   #5  0x00007f572ce0844a n/a (libnvidia-glcore.so.535.54.03 + 0x100844a)
                                                   #6  0x00007f572d146182 n/a (libnvidia-glcore.so.535.54.03 + 0x1346182)
                                                   #7  0x00007f572d149cb5 n/a (libnvidia-glcore.so.535.54.03 + 0x1349cb5)
                                                   #8  0x00007f57432b9695 n/a (/home/seanomik/.local/share/Steam/ubuntu12_64/libSDL3.so.0 + 0x9b695)
                                                   #9  0x00007f57432b9a1e n/a (/home/seanomik/.local/share/Steam/ubuntu12_64/libSDL3.so.0 + 0x9ba1e)
                                                   ELF object binary architecture: AMD x86-64

These errors happened several times, sometimes within a few seconds, other times a few minutes, until steam eventually opens:

Jul 05 23:35:45 smallarch steam.desktop[15224]: steamwebhelper.sh[15224]: Runtime for steamwebhelper: defaulting to /home/seanomik/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
Jul 05 23:35:45 smallarch steam.desktop[15224]: steamwebhelper.sh[15224]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
Jul 05 23:35:47 smallarch steam.desktop[9346]: BuildCompleteAppOverviewChange: 249 apps
Jul 05 23:35:47 smallarch steam.desktop[9346]: RegisterForAppOverview 1: 5ms
Jul 05 23:35:47 smallarch steam.desktop[9346]: RegisterForAppOverview 2: 5ms
Jul 05 23:35:49 smallarch steam.desktop[9346]: ExecCommandLine: "'/home/seanomik/.local/share/Steam/ubuntu12_32/steam'"

(cut off for some brevity, I can include the rest after that if needed)

mibcat commented 1 year ago

Had the same problem on my updated Linux Mint 21.1 machine (new installation with reused home folder on separate partition)

just installed cuda-drivers-fabricmanager-535 (because NO cuda-driver was installed) and steam is now starting without -vgui option !

jl-cs commented 1 year ago

The solution to the problem can be found here: https://github.com/ValveSoftware/steam-for-linux/issues/9780#issuecomment-1623489003

SeanOMik commented 1 year ago

The solution to the problem can be found here: #9780 (comment)

That worked for me. Thanks for pointing me to that!

cloud303-cholden commented 1 year ago

I believe I have resolved my problem by updating nvidia drivers from 525 to 535.

sudo apt-get update && sudo apt-get -y install cuda-drivers
sudo reboot

This fixed my issue. For some reason, upgrading from 530 to 535 removed most of my Nvidia packages.

nooballday commented 1 year ago

It could be simply because you use the wrong driver, check it on additional driver. Somehow it got changed to X.Org X Server without my knowledge and I simply change it back to Nvidia driver (proprietary, tested) and it just works.

SeanOMik commented 1 year ago

Another way I got this working on Arch without disabling hardware acceleration for the ui was to backport Nvidia drivers to 525.89.02-2.