Steam not opening in Ubuntu 16.04 LTS

Solution 1:

This problem is only present at Ubuntu 16.04. In ubuntu 16.10 install steam:i386 package from Ubuntu's multiverse repository (the repository is enabled by default) and most problems have been fixed. To fix on Ubuntu 16.04:

  1. Recommended solution:

    If you just installed Steam then make sure steam is closed and go to ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/ and delete the link libstdc++.so.6.

    rm ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6
    

    That's it now it should start without problem. Let it do the update. After the update, if the message is the same (the file will be recreated after first update)then make sure steam is closed and do the same. Also if you have 64bits system go to ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/ and delete libstdc++.so.6.

    rm ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6
    rm ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6
    
  2. In some systems libstdc++.so.6 keeps getting recreated. If that's your case, then create the script steam.sh with executable permissions:

    #!/bin/bash
    export LD_PRELOAD='/usr/$LIB/libstdc++.so.6'
    export DISPLAY=:0
    steam
    

    Then change at the steam desktop entry the Exec= line at the absolute path of the steam.sh script. Every time you want to play a game, open first steam with the modified desktop entry and then run the game from inside steam. Source: https://wirejungle.wordpress.com/2015/01/09/how-to-fix-broken-steam-linux-client-with-radeon-graphics-driver-workaround/

Solution 2:

I installed steam with the package in the Ubuntu repositories not the .deb file from steam. Apparently the Ubuntu provided package is modified to work on Ubuntu.

  1. Remove the Valve package:

    sudo apt purge steam-launcher
    
  2. Delete the repository if it hasn't been removed with the package:

    sudo rm /etc/apt/sources.list.d/steam.list
    
  3. Reload the sources list:

    sudo apt update
    
  4. Install Steam from the repos:

    sudo apt install steam
    

For more details see: https://www.reddit.com/r/linux_gaming/comments/57clur/cant_run_steam_on_ubuntu_1610/

Solution 3:

Try this :

cd $HOME/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu
mv libstdc++.so.6 libstdc++.so.6.bak
cd $HOME/.steam/steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu
mv libstdc++.so.6 libstdc++.so.6.bak

Solution 4:

Something that worked for me was to add this environment variable in front of the executable steam:

env LD_PRELOAD='/usr/$LIB/libstdc++.so.6' steam

Try to run it in console, see if it works.

If yes, you can edit your Steam desktop shortcut to have this command:

env LD_PRELOAD='/usr/$LIB/libstdc++.so.6' /usr/bin/steam %U

instead of the old value:

/usr/bin/steam %U

Likewise, you can update your CS:GO desktop shortcut to have this command:

env LD_PRELOAD='/usr/$LIB/libstdc++.so.6' steam steam://rungameid/730

I don't have any idea of what it is doing, but it seems to work for me...

Hope it helps, and I hope that Valve will fix it soon!!