You are not logged in.

#1 2022-04-10 12:46:44

kolupaev
Member
Registered: 2022-04-10
Posts: 3

[Solved] Problem with launching applications and wi-fi settings.

Hello! I've installed arch linux recently. Had a problem with connecting to wi-fi, but installing linux-firmware solved this problem. But now I've encountered very strange problem. When my wi-fi is working, I can't open any application neither using GUI (I'm using KDE plasma) nor from command line. But if wi-fi is off I can launch applications, and they will be working fine after I put wi-fi on. If I try to launch application from command line I get this:

[kolupaev@archlinux ~]$ dolphin     
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted (core dumped) 

If I try to launch using GUI nothing happens. If the wi-fi is disabled the application will be launched but with a warning:

Qt: Session management error: networkIdsList argument is NULL

So I've tried to update packages, to reinstall KDE, to download another desktop environment (xfce). The last one resulted in another problem, in xfce wi-fi doesn't work. In KDE I'm putying it on/off with GUI. In xfce I tried to connect to it manually using iwd, that doesn't work: when I used:

 [iwd]# station wlan0 connect Vodafone-947C

It just asks for passphrase, after entering nothing happens. And I can see that IP wasn't assigned to interface:

 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 08:97:98:97:12:63 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 5e:85:c5:a9:6c:c1 brd ff:ff:ff:ff:ff:ff permaddr b8:9a:2a:54:d1:3e 

Also while troubleshooting I've found arch linux installation guide, where the similar problem was mentioned in Gnome (around 1 h. 44 m.), but the method to solve it was to change regional settings, which in my case look fine.
So my thought is that I've messed up the wi-fi settings somehow. And question is: what am I doing wrong and how can I make one of the desktop environments to work together with wi-fi.

Additional info:

  • KDE Plasma Version: 5.24.4

  • KDE Frameworks Version: 5.92.0

  • Qt Version: 5.15.3

  • Kernel Version: 5.15.33-1-lts(64-bit)

  • Graphics Platform: X11

  • Processors: 8xIntel@Core i5-9300H CPU @2.40GHz

  • Memory: 15.5 GiB of RAM

Last edited by kolupaev (2022-04-10 14:08:24)

Offline

#2 2022-04-10 12:52:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,558
Website

Re: [Solved] Problem with launching applications and wi-fi settings.

Which guide did you follow to install your system?  This looks like it could be a hostname issue.  Please post the output of each of the following once from when the wifi is not started and once from when it is:

cat /etc/hostname
hostnamectl

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2022-04-10 13:34:19

kolupaev
Member
Registered: 2022-04-10
Posts: 3

Re: [Solved] Problem with launching applications and wi-fi settings.

When the wi-fi is on:

[kolupaev@archlinux ~]$ cat /etc/hostname
cat: /etc/hostname: No such file or directory
[kolupaev@archlinux ~]$ hostnamectl 
   Static hostname: n/a                             
Transient hostname: Kolupaev-Acer-Nitro5
         Icon name: computer-laptop
           Chassis: laptop ?
        Machine ID: 0367ab45de9a4e97b4dc456f95464a0a
           Boot ID: a958055221154384baaa542a4e5958de
  Operating System: Arch Linux                      
            Kernel: Linux 5.15.33-1-lts
      Architecture: x86-64
   Hardware Vendor: Acer
    Hardware Model: Nitro AN515-54

When the wi-fi is out:

[kolupaev@archlinux ~]$ cat /etc/hostname
cat: /etc/hostname: No such file or directory
[kolupaev@archlinux ~]$ hostnamectl
   Static hostname: n/a                             
Transient hostname: archlinux
         Icon name: computer-laptop
           Chassis: laptop ?
        Machine ID: 0367ab45de9a4e97b4dc456f95464a0a
           Boot ID: a958055221154384baaa542a4e5958de
  Operating System: Arch Linux                      
            Kernel: Linux 5.15.33-1-lts
      Architecture: x86-64
   Hardware Vendor: Acer
    Hardware Model: Nitro AN515-54

I followed this video guide

Last edited by kolupaev (2022-04-10 13:55:31)

Offline

#4 2022-04-10 13:43:31

seth
Member
Registered: 2012-09-03
Posts: 33,529

Re: [Solved] Problem with launching applications and wi-fi settings.

Static hostname: n/a

And that's why stupid likeshareandsubscribe video guides aren't supported - they're stupid. likeshareandsubscribe.
Set your hostname, https://wiki.archlinux.org/title/Networ … e_hostname
And visit the only relevant installation guide to fix all the other errors you probably made following that video, https://wiki.archlinux.org/title/Installation_guide

Offline

#5 2022-04-10 14:08:07

kolupaev
Member
Registered: 2022-04-10
Posts: 3

Re: [Solved] Problem with launching applications and wi-fi settings.

Thank you, that worked.

Offline

#6 2022-04-10 14:43:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,558
Website

Re: [Solved] Problem with launching applications and wi-fi settings.

*Sigh*, a two hour video to guide people through a ~10 minute process ... and it still gets important things wrong.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB