Steam Installation fails on 13.1

Hi there,

I tried to install Steam from one of the provided repositories (http://software.opensuse.org/package/steam). The 1.0.0.48-Version stops with an weird error, at least the 1.0.0.45 downloads the 240 megs package and tries to install it. But then it fails with the strange warning, that steam cannot access the X-Server.

I did set xhost +127.0.0.1 after that but no change. My OpenSuse installation is fresh with all updates up until yesterday. Has anyone come around this error? Steam worked fine when I installed opensuse the last time.

Best regards,
Bernd

PS: I will add console messages later.

Run Steam with command:
STEAM_RUNTIME=1 steam

Thank you for your reply. I guess this may help during Runtime? The problem occurs during the installation. As promised here are console logs:


No protocol specified
No protocol specified
Assert( Assertion Failed: Could not open connection to X ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/steamexe/./updateui_xwin.cpp:337

Installing breakpad exception handler for appid(steam)/version(1411443970)
Error: Unable to open a connection to X.  Check your DISPLAY environment variable and make sure that you have enabled X.  If you are running remotely, make sure that you have a remote connection which will allow an X connection.

For more information visit https://support.steampowered.com/kb_article.php?ref=4050-WOJB-0608.
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/crash_20140925191956_3.dmp
[2014-09-25 19:19:56] Startup - updater built Sep 22 2014 20:17:04
/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/steamexe/./updateui_xwin.cpp (337) : Assertion Failed: Could not open connection to X
/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/steamexe/./main.cpp (515) : Assertion Failed: failed to initialize update status ui, or create initial window

Obviously i am running this on X. KDE.

Do you have xorg.conf?
If not make one depending on youre card

nvidia-xconfig
amdconfig --initial
aticonfig --initial

That’s absolutely not necessary, and can’t even help in this case.

The problem is this:

Error: Unable to open a connection to X.  Check your DISPLAY environment variable and make sure that you have enabled X.  If you are running remotely, make sure that you have a remote connection which will allow an X connection.

As X is running obviously, the DISPLAY variable is not set apparently.
My guess is you used “su” or “sudo” to run it as root.
Don’t! That doesn’t work.
If you do need root rights, use either “su -” (notice the ‘-’) or “kdesu”. But in the case of steam that shouldn’t be necessary I think, so better avoid it.

I was not able to get steam running using any of the tried and true methods that others have described on the internet. But I decided to try a workaround myself and what I came up with was to start a ssh session to the localhost and then execute steam. So…

ssh -X YOURUSERNAME@localhost

Then execute

steam

I haven’t tested any games out yet but initially it is working to download a game. I hope that helps someone.

What issues were you having with Steam? I was having some issues before but was able to get it working just fine…

…without having to do this.

I also imagine that pushing everything through a SSH tunnel might come with some performance hits in-game. Have you tried playing since you did this solution?

MN

I had this very same problem:
display was not found and when ssh’ing into the localhost with -X it worked.
Solution:
add your user to the following groups:
audio, games, video, cdrom
In another post I read only video is necessary, but I remembered that usually I added my user to these groups, and so I did. Hope this solves this issue for others as well!

Starting with

xhost +; steam
worked for me to bypass the above error, on 13.2 x86_64 fresh install with radeon OS drivers.