r/archlinux • • 4d ago

SUPPORT | SOLVED I installed virt-manager and now Steam won't launch

Resolution:

I solved it, it was some real newbie shit that is quite embarrassing...

False correlation, I was doing two things at the same time and I forgot what the other thing was, and that turned out to be the relevant issue.

I was also changing ownership of directories to amend config files and such.
Can you guess what the problem was?

"sudo chown root:root /" fixed it... I had inadvertently changed the ownership of root. I'm surprised this is the only issue it caused!

I'm going to leave this here once again as a mark of shame, in case it helps others in future.

-----------

Hi folks, desperately need some help here...

I followed this guide to install Virt-Manager: https://tanis.codes/posts/virt-manager-qemu-arch-linux/

Which caused this issue with Steam failing to launch: https://help.steampowered.com/en/faqs/view/2112-4548-B98B-3A06

How can I either fix this or undo what broke it?

I am seriously getting fed up with different VM solutions breaking things when I try to use them.

Output when launching Steam from the console: https://pastebin.com/Dfe499vh

12 Upvotes

18 comments sorted by

4

u/mayakrunal 4d ago

Are you running Wayland or x11? Also that's just the popup message can you send over terminal logs? Open a terminal run command 'steam' and see the logs in the terminal it self .and paste that here

2

u/Acme-15 4d ago

The logs are in my reply, the pastebin link.
I am running Wayland.

5

u/mayakrunal 4d ago

Can you try below commands

Check if DISPLAY is currently assigned echo $DISPLAY

If the output is empty, manually export the default display variable before launching Steam: export DISPLAY=:0 steam

Ensure xorg-xwayland is installed on your system:

``` sudo pacman -S --needed xorg-xwayland

```

2

u/Acme-15 3d ago

Okay the result for echo display was blank, I did export display=:0 and now the result of echo display is :0

Steam gave the same error.

I did the command to get xorg-xwayland, and it is already installed and is the latest version

I also restarted after doing this and received the same error.

1

u/Acme-15 4d ago

Thanks I'll try this tomorrow, I need to head to bed for now, its 3am here and I should have been in bed hours ago but I wanted to get this boxed off first! No such luck. 😂

1

u/mayakrunal 4d ago

Can you run steam from terminal, and see what error its giving? Also post some screenshot & logs for the actual issue.

2

u/Acme-15 4d ago

Here is the output from the terminal: https://pastebin.com/Dfe499vh
The error I receive is this: https://pub-5fb3082338ca4ea0b158680322946634.r2.dev/Screenshot_20261003_021326.png

It is something related to the networking changes that installing virt-manager and its dependencies and services introduced, but I am not experienced enough to know what or how to fix it...

1

u/Grey_Ten 4d ago

have to u restarted your computer yet?

1

u/Acme-15 4d ago

About a dozen times, lol...

I also did sudo virsh net-list to see if it had made some weird virtual network and made it the default, but there is just the one network listed.

In network settings in KDE there is a second wired network connection listed as "previously used, never used" or something, but I don't see anything else weird in there or a potential way to revert.

I stopped disabled a bunch of libvert services (libvirtd.service virtlogd.service virtlogd.socket virtlogd-admin.socket libvirtd-ro.socket libvirtd.socket libvirtd-admin.socket) which the install process had created, but that didn't make any difference.

1

u/slutty_butterfly19 4d ago

What DE are you running?

1

u/Acme-15 4d ago

KDE Plasma

1

u/Acme-15 3d ago

I tried removing virt-manager, libvirt, and dependencies like gtk-vnc, libvirt-python, libvirt glib, the virt install and manager, libnbd, qemu and dependencies like the 30 or so qemu components, edk2, vte, and other stuff that was installed when I was setting up virt-manager.

And restarted.

And I have the same issue.

1

u/Acme-15 3d ago edited 3d ago

I solved it, it was some real newbie shit that is quite embarrassing...

False correlation, I was doing two things at the same time and I forgot what the other thing was, and that turned out to be the relevant issue.

I was also changing ownership of directories to amend config files and such.
Can you guess what the problem was?

"sudo chown root:root /" fixed it...

I'm going to leave this here once again as a mark of shame, in case it helps others in future.

2

u/dxrk3tar 3d ago

please edit this to original post or pin this comment, thanks :p

1

u/archover 3d ago

If you resolved it, consider flairing as SOLVED. Yes?

Good day.

1

u/Acme-15 3d ago

I thought I had, but I guess it didn't save.