You are not logged in.

#1 2016-07-11 16:39:15

nagyation
Member
Registered: 2016-07-11
Posts: 21

[SOLVED] Apps stop starting suddenly!

After a while of working, apps don't open, but the already working apps continue working without any problems, and I have to logout from the session and re-login again to make things work again,
any suggestions ?

Last edited by nagyation (2016-07-14 23:57:37)

Offline

#2 2016-07-11 16:41:28

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

Re: [SOLVED] Apps stop starting suddenly!

This post contain no information. Please read How To Ask Questions The Smart Way


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-07-11 17:05:50

nagyation
Member
Registered: 2016-07-11
Posts: 21

Re: [SOLVED] Apps stop starting suddenly!

First time to ask here sorry

Offline

#4 2016-07-11 18:17:55

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

Re: [SOLVED] Apps stop starting suddenly!

Don't apologise; provide more detail.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-07-11 22:17:25

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] Apps stop starting suddenly!

Help us help you.  Provide:
- output of

uname -a

and

pacman -Qi linux

- DE/WM (gnome, kde, openbox, i3, etc..)
- dmesg log of when the issue occurs
- What happens when this issue happens and you open a terminal to start an app?  What is the output?
Pretty much anything else that would help should be added to your post.  Take a read on the sticky https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#6 2016-07-13 00:19:30

nagyation
Member
Registered: 2016-07-11
Posts: 21

Re: [SOLVED] Apps stop starting suddenly!

frank604 wrote:

Help us help you.  Provide:
- output of

uname -a

and

pacman -Qi linux

- DE/WM (gnome, kde, openbox, i3, etc..)
- dmesg log of when the issue occurs
- What happens when this issue happens and you open a terminal to start an app?  What is the output?
Pretty much anything else that would help should be added to your post.  Take a read on the sticky https://bbs.archlinux.org/viewtopic.php?id=57855

Output :

Linux localhost 4.6.3-1-ARCH #1 SMP PREEMPT Fri Jun 24 21:19:13 CEST 2016 x86_64 GNU/Linux

and

Name            : linux
Version         : 4.6.3-1
Description     : The Linux kernel and modules
Architecture    : x86_64
URL             : http://www.kernel.org/
Licenses        : GPL2
Groups          : base
Provides        : None
Depends On      : coreutils  linux-firmware  kmod  mkinitcpio>=0.7
Optional Deps   : crda: to set the correct wireless channels of your country
Required By     : broadcom-wl
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 75.85 MiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : Fri 24 Jun 2016 09:20:35 PM EET
Install Date    : Thu 30 Jun 2016 06:06:47 PM EET
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

when apps stops starting I open a Virtual console, and restart or logout and log in again, and sometimes I have to do a shutdown
I'm using various Environments a (Gnome-Kate-Deepin) and it happens with all of them
Thanks in advance.

Last edited by nagyation (2016-07-13 00:24:45)

Offline

#7 2016-07-13 04:11:07

atomicbeef
Member
Registered: 2015-09-30
Posts: 98

Re: [SOLVED] Apps stop starting suddenly!

When programs stop working, post the output of you trying to run them from a console so we can see the actual error you are getting.

Offline

#8 2016-07-13 12:06:54

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Apps stop starting suddenly!

atomicbeef wrote:

When programs stop working, post the output of you trying to run them from a console so we can see the actual error you are getting.

Also, please post the Xorg log ("/var/log/Xorg*") from the session that stopped working correctly.

Offline

#9 2016-07-13 13:25:09

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [SOLVED] Apps stop starting suddenly!

I have the same problem, I think. As nearly as I can tell, files ~/.config/openbox/menu.xml and rc.xml are not being processed. My menus do not include the items they had, yesterday. The files still contain the code for the missing items.

Starting the programs from the terminal works as expected.

Tim

PS - Running "openbox --reconfigure" does not process the menu and rc files, either.

Last edited by ratcheer (2016-07-13 13:43:54)

Offline

#10 2016-07-13 16:12:32

nagyation
Member
Registered: 2016-07-11
Posts: 21

Re: [SOLVED] Apps stop starting suddenly!

atomicbeef wrote:

When programs stop working, post the output of you trying to run them from a console so we can see the actual error you are getting.

When apps stop starting, I can't actually run a terminal either.

Edit:
One time this case happened while I had a terminal already up and running, I tried to open an app from it, and no output was showing, it stays for a while then it's killed

Last edited by nagyation (2016-07-13 16:21:01)

Offline

#11 2016-07-13 16:16:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: [SOLVED] Apps stop starting suddenly!

nagyation wrote:
atomicbeef wrote:

When programs stop working, post the output of you trying to run them from a console so we can see the actual error you are getting.

When apps stop starting, I can't actually run a terminal either.

The expectation here is that you had run the program from the terminal, and any messages that had been output would still be visible.
When this happens, can you reach a console using Ctrl-Alt-F2?  Can you log in?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#12 2016-07-13 16:22:42

nagyation
Member
Registered: 2016-07-11
Posts: 21

Re: [SOLVED] Apps stop starting suddenly!

ewaller wrote:
nagyation wrote:
atomicbeef wrote:

When programs stop working, post the output of you trying to run them from a console so we can see the actual error you are getting.

When apps stop starting, I can't actually run a terminal either.

The expectation here is that you had run the program from the terminal, and any messages that had been output would still be visible.
When this happens, can you reach a console using Ctrl-Alt-F2?  Can you log in?

I edited my answer, and yes I can do that, I actually do that to restart

Offline

#13 2016-07-13 16:34:22

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: [SOLVED] Apps stop starting suddenly!

Linux localhost 4.6.3-1-ARCH #1 SMP PREEMPT Fri Jun 24 21:19:13 CEST 2016 x86_64 GNU/Linux

So the hostname is set to localhost
Hostname also Set_the_hostname

hostnamectl(1) 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

#14 2016-07-13 16:35:35

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: [SOLVED] Apps stop starting suddenly!

When your "apps" stop working, run these two commands in a terminal and post the output here, including the command prompt:

cat /etc/hostname
hostname

edit: post above.

Last edited by Alad (2016-07-13 16:36:03)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#15 2016-07-13 16:37:30

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: [SOLVED] Apps stop starting suddenly!

loqs wrote:
Linux localhost 4.6.3-1-ARCH #1 SMP PREEMPT Fri Jun 24 21:19:13 CEST 2016 x86_64 GNU/Linux

So the hostname is set to localhost

Indeed. I've always heard and read about hostname issues preventing programs from running properly, but I've always thought this was a theoretical problem. Those actually things happen. Wow.

Offline

#16 2016-07-13 16:45:35

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: [SOLVED] Apps stop starting suddenly!


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#17 2016-07-13 22:50:59

nagyation
Member
Registered: 2016-07-11
Posts: 21

Re: [SOLVED] Apps stop starting suddenly!

Does "max user watches" relate to this problem ?

Offline

#18 2016-07-14 08:19:26

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: [SOLVED] Apps stop starting suddenly!

Not sure where you're getting that from. Have you used xhost as the wiki discussion above suggests?


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#19 2016-07-14 10:42:19

nagyation
Member
Registered: 2016-07-11
Posts: 21

Re: [SOLVED] Apps stop starting suddenly!

Alad wrote:

When your "apps" stop working, run these two commands in a terminal and post the output here, including the command prompt:

cat /etc/hostname
hostname

edit: post above.

cat /etc/hostname

it gave me :

 Not such file or directory 

so I created a hostname

Alad wrote:

apps weren't working in deepin environment on first start, but after I added a xhost and reboot to deepin, apps started,
so I'll work with it for a while and see what happens

Last edited by nagyation (2016-07-14 10:43:07)

Offline

#20 2016-07-14 20:13:55

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: [SOLVED] Apps stop starting suddenly!

Not such file or directory

How did you even install Arch? A video from youtube, blog post maybe? The wiki guides tell you to create this file on installation, so I'm wondering.

Last edited by Alad (2016-07-14 20:14:17)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#21 2016-07-14 20:37:06

nagyation
Member
Registered: 2016-07-11
Posts: 21

Re: [SOLVED] Apps stop starting suddenly!

From arch installation guide?

Offline

#22 2016-07-14 20:45:29

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] Apps stop starting suddenly!

Awebb wrote:
loqs wrote:
Linux localhost 4.6.3-1-ARCH #1 SMP PREEMPT Fri Jun 24 21:19:13 CEST 2016 x86_64 GNU/Linux

So the hostname is set to localhost

Indeed. I've always heard and read about hostname issues preventing programs from running properly, but I've always thought this was a theoretical problem. Those actually things happen. Wow.

Ditto.  The myth has been proven.

nagyation wrote:

From arch installation guide?

As a caution, read through it again and make sure you've set up your arch accordingly.  The hostname has it's own section in the install guide so it is hard to miss.  Is your issue now resolved?  If so, please edit your first post in this thread and append [Solved] to the title.

Offline

#23 2016-07-14 23:56:18

nagyation
Member
Registered: 2016-07-11
Posts: 21

Re: [SOLVED] Apps stop starting suddenly!

I guess after testing for long time now, the problem is solved by adding xhost, Thanks all.

frank604 wrote:
Awebb wrote:
loqs wrote:
Linux localhost 4.6.3-1-ARCH #1 SMP PREEMPT Fri Jun 24 21:19:13 CEST 2016 x86_64 GNU/Linux

So the hostname is set to localhost

Indeed. I've always heard and read about hostname issues preventing programs from running properly, but I've always thought this was a theoretical problem. Those actually things happen. Wow.

Ditto.  The myth has been proven.

nagyation wrote:

From arch installation guide?

As a caution, read through it again and make sure you've set up your arch accordingly.  The hostname has it's own section in the install guide so it is hard to miss.  Is your issue now resolved?  If so, please edit your first post in this thread and append [Solved] to the title.

I didn't know it's that important, I'll read about it again, but it wasn't causing that problem (not the first time to install arch anyway, and this problem arose after a while of using arch).
Thanks.

Offline

Board footer

Powered by FluxBB