Steam for Linux

Steam for Linux

Not enough ratings
SteamOS session on linux
By root@fanatoniq:~# :(){ :|:& }:
How to install SteamOS session on your linux without dual-booting
 
Rate  
Favorite
Favorited
Unfavorite
Intro
Note : deprecated since ubuntu 17
If You are interested in SteamOS, want to profit from the performance increases it offers, but don't want to lose your favorite linux desktop, and don't want to perform dual-booting, this tutorial is for you. Keep in mind that SteamOS is coming out of beta in November 2015 and that Steamboxs,
Steam Controller, SteamVR and Steam Link are comming the same date too.
See Steam universe expending for more infos.
Because SteamOS is basically a debian 7 with the SteamOS session starting on boot, it is possible to install it on others Linux distros (debian based), on the one you use every day. So you would be able to select SteamOS session or the default environment. This is simple as installing another desktop environment (like gnome 3, cinnamon, kde...).
Step 1: Installing Steam Client
Firstly, you need to Download Steam client for Linux if you haven't yet, then Install it by (double clicking or)typing those command in a terminal:
cd Downloads
(or the directory you saved it)
sudo dpkg -i ~/Downloads/steam_latest.deb
Step 2: Fixing OpenGL
If while opening Steam you see an error saying Open GL GLX context is not using direct rendering.
or if you can't run a game, check your drivers.

Installing drivers
Go to settings>software and updates>additional drivers. Then Install proprietary drivers instead of Xorg and if you've got an NVIDIA graphic card check direct rendering on Nvedia preferences.
If the error is not fix, you can try installing Cairo dock (or another software that uses OpenGL) and laughing the OpenGL one (there Will be two).
Then open Steam using a terminal, and if the error is still present look at the terminal lines and you'll need to search through the web.
Step 3: Prerequisites
Once you're done with that, we need to download libudev0 package wich is needed to Install SteamOS packages.
If you are 32 bits :
http://www.filewatcher.com/m/libudev0_175-0ubuntu13_i386.deb.29310-0.html
If you are 64 bits :
http://launchpadlibrarian.net/119461136/libudev0_175-0ubuntu13_amd64.deb
Then install the .deb package using software center (double clicking on it), or using the following command :
For the 32 bits package :
sudo dpkg -i libudev0_175-ubuntu13_i386.deb
For the 64 bits package :
sudo dpkg -i libudev0_175-ubuntu13_amd64.deb
Step 4: Installing SteamOS packages
Next you need to install SteamOS environment, which is using two .deb packages
-SteamOS compositor
You can install them in a terminal or with software center (double clicking on it). Be sure to Install the latest package version.
sudo dpkg -i *.deb
(*depends on the file you choose)
And
-SteamOS modeswitch inhibitor
You can install it in a terminal or with software center (double clicking on it).
sudo dpkg -i *.deb
(*depends on the file you choose)
Once again take the good one if your using 32 bit or 64 bit.
Step 5: Switch Session
Close your actual session.
If all packages are correctly installed, you should be able to choose another session called STEAMOS.
The desktop environment login button depends on which Linux your using. In Ubuntu it is next to your account name.
This is it, you installed SteamOS session on your Linux.
Conclusion
In conclusion I would say the SteamOS session, is really good compromise between only steam (so no Skype and no alt/tab) and performance. If you havent got a linux distro, you can install the live session on a usb boot from, and install it on an external hard drive. Lets get back to the steamOS session: Some features didn't work well like the the return to desktop and the sleepmode which blocks your session, so if you start steamOS session the only way to get back to login screen is rebooting your pc or ctrl+alt+f1 (ctrl+alt+f7 didn't work) and type
sudo service lightdm restart
if using Ubuntu, or
sudo service mdm restart
if using Linux mint, check for yours if your Linux uses another one.
< >
17 Comments
Mohandevir Jan 17 @ 11:13am 
Just stumbled upon this:

https://github.com/ShadowApex/steamos-ubuntu

That's another way to do it. :)
Mohandevir Jan 14 @ 8:30am 
Ok... For the record, I just installed a new instance of "Steambuntu", this weekend... The nopasswdlogin is working on GDM3 (my memory must have played tricks on me) but the BPM "Switch to Desktop" does not. Why? I have no clue. Lightdm is still the way to go.

If I had the skills and the time, I'd create a Steambuntu repo/distro with the required installation modifications...
Mohandevir Jan 9 @ 2:10pm 
Switch to Desktop does exactly that... Switch to the desktop user session without supplying any password. If there is a password on the desktop account, the feature just does nothing. Don't know if it makes it clearer?

There might be other workarounds, feel free to experiment, but mine works pretty well. :)
Mohandevir Jan 9 @ 1:56pm 
Might have got it wrong... I tought he was talking about the "switch to desktop" feature in SteamOS-Compositor (BPM). When Canonical decided to drop lightdm in favor of GDM3, that feature stopped working because there is no "nopasswdlogin" group option in GDM3, last time I tried, at least.

Take note that nopasswdlogin is not the same as automatic login (which is still available in GDM3).

For the record, SteamOS still uses GDM2.
root@fanatoniq:~# :(){ :|:& }:  [author] Jan 9 @ 12:50pm 
why the hell would gdm3 won't let you switch there is an approriate button in gdm also...
Mohandevir Jan 8 @ 1:57pm 
Pretty late on this one... Sorry. In Ubuntu 18.04, You have to remove gdm3 and install lightdm (available in the repo). Gdm3 won't let you switch.

After that you must add the user desktop to the nopasswdlogin group:

sudo usermod -a -G nopasswdlogin desktop

Once this is done, the switch to desktop feature should work as expected.
root@fanatoniq:~# :(){ :|:& }:  [author] Mar 8, 2018 @ 12:40pm 
I really don't know if there is a workaround. Can you get to a terminal window ? though the steam interface for ex. ? Then you should be able to fix ...
SIL_EL_MOT Mar 8, 2018 @ 3:11am 
seems you cannot switch to desktop anymore with ubuntu 17.10 and steamos interface. is there a workaround yet?
root@fanatoniq:~# :(){ :|:& }:  [author] Jan 6, 2018 @ 6:50am 
It surely is a compatibily issue with Ubuntu 16.04... Try to get the new deb files and steamOS's files.
h8br33der85 Dec 28, 2017 @ 3:20pm 
I followed these instructions but I cannot boot into the session. Lightdm just restarts and goes back to the login screen. I'm on ubuntu 16.04.