You are not logged in.

#1 2017-01-02 21:01:04

Conownd
Member
Registered: 2017-01-02
Posts: 3

[SOLVED] Issues with launching applications in KDE 5.

I am dualbooting KDE 5 through SDDM alongside a windows 10 installation, the KDE5 environment was installed new and was not an upgrade from KDE4.
The boot process itself shows no issues and upon loading into the desktop environment it is possible to launch applications and buttons work as intended (i.e. the power button displays the overlay with shutdown, lock options etc.).

After under 10 minutes or so apps will not launch from neither the gui nor terminal.
No consistent error is being displayed on the terminal after failure to launch. When launching by clicking the icon, the loading symbol by the mouse appears very briefly before disappearing. Also of note is Ctrl+Alt+Del doesn't work and the overlay previously described does not appear.

Applications launched at the start of the session will continue running without issue, though no new instance of the application may be started and once closed the application will not be able to launch again.
--
Any help on this issue is greatly appreciated, and apologies in advance for the description being rather vague, I have sprawled through the wiki and forums and have struggled to find a cause to this problem.

Last edited by Conownd (2017-01-03 00:29:50)

Offline

#2 2017-01-02 21:07:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Issues with launching applications in KDE 5.

Please post errors, even if they are inconsistent: https://bbs.archlinux.org/viewtopic.php?id=57855


Also, post the output of `hostnamectl`.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-01-02 23:07:57

Conownd
Member
Registered: 2017-01-02
Posts: 3

Re: [SOLVED] Issues with launching applications in KDE 5.

Here is the output of hostnamectl:

 Static hostname: n/a
Transient hostname: localhost.localdomain
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: 2a48456623334caf959e90d8b893b16c
           Boot ID: f44f04f6f9f849f4a6d90afdbd5d66b4
  Operating System: Arch Linux
            Kernel: Linux 4.8.13-1-ARCH
      Architecture: x86-64

This is output is the one i'm finding on all applications after booting into the current session (example uses firefox which works fine otherwise):

 $ firefox
No protocol specified
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :0

Thanks again for a quick response.

Offline

#4 2017-01-02 23:17:11

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] Issues with launching applications in KDE 5.

Network_configuration#Set_the_hostname

man 1 hostnamectl wrote:

This tool distinguishes three different hostnames: the high-level
       "pretty" hostname which might include all kinds of special characters
       (e.g. "Lennart's Laptop"), the static hostname which is used to
       initialize the kernel hostname at boot (e.g. "lennarts-laptop"), and
       the transient hostname which is a fallback value received from network
       configuration. If a static hostname is set, and is valid (something
       other than localhost), then the transient hostname is not used.

Offline

#5 2017-01-03 00:27:36

Conownd
Member
Registered: 2017-01-02
Posts: 3

Re: [SOLVED] Issues with launching applications in KDE 5.

It seemed to be a problem with Network manager (as seen here; https://bbs.archlinux.org/viewtopic.php?id=108562). Fixed by appending the /etc/NetworkManager/NetworkManager.conf with:

[keyfile]
myhostname 

Thanks again.

Offline

#6 2017-01-03 00:32:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Issues with launching applications in KDE 5.

That isn't a fix. A fix is setting a hostname.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB