You are not logged in.

#1 2013-05-26 22:24:50

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

X Server crashing (seemingly) randomly

Just today my X server/display seems to be rebooting itself, it closes all applications and then reboots at random. It seems to happen when I have firefox open, not sure if that's part of the problem. What logs should I be looking at to solve the problem? I see nothing alarming when using journalctl.

Offline

#2 2013-05-26 23:07:16

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: X Server crashing (seemingly) randomly

Depends on how you start X. If you startx from a terminal can you do "startx &> ~/.xlog" and then look at .xlog and see what the issue is? Unless you use a display manager and that keeps its own log somewhere maybe. I think your post is a little vague. Which window manager are you running? Display manager? Did it start happening just today after updating some packages? If so which packages?

Offline

#3 2013-05-27 02:22:12

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

Re: X Server crashing (seemingly) randomly

I have autologin enabled and X start on login, using Openbox as the WM, I have no .xlog in the home directory. When it crashes there is a stream of text that flashes by in about half a second, but I can catch some of the text...something about a plugin and fatal error. It seems to happen when I am on flickr.com using Firefox.

Offline

#4 2013-05-27 02:35:12

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: X Server crashing (seemingly) randomly

Okay. I meant log out and from a tty do "startx &> ~/.xlog" or put it in your .xinitrc so that X writes to ~/.xlog and then you can read it. A while back openbox was crashing because of java applications but I think that's long since been solved upstream (I'm not completely sure though since I don't use java anymore (aside from the chromium built in one)).

Last edited by dodo3773 (2013-05-27 02:35:26)

Offline

#5 2013-05-27 02:57:46

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: X Server crashing (seemingly) randomly

Can you clarify exactly what happens? In the subject, it sounds as if just X is crashing but then you say it reboots. Do you mean that the machine reboots or that X restarts? Because it seems like the entire system shouldn't crash just because X does...


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2013-05-27 03:09:50

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: X Server crashing (seemingly) randomly

cfr wrote:

Can you clarify exactly what happens? In the subject, it sounds as if just X is crashing but then you say it reboots. Do you mean that the machine reboots or that X restarts? Because it seems like the entire system shouldn't crash just because X does...


That ^^ is a really good question. If the entire system is rebooting than probably a bad ram module.

Offline

#7 2013-05-27 20:11:27

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

Re: X Server crashing (seemingly) randomly

X restarts, the system doesn't crash. It seems to happen whenever I've spend some time on firefox, it starts to get slow after awhile then X restarts itself.

Offline

#8 2013-05-27 20:18:16

Silex89
Member
From: Osorno, Los Lagos - Chile
Registered: 2011-10-16
Posts: 179

Re: X Server crashing (seemingly) randomly

felixculpa wrote:

X restarts, the system doesn't crash. It seems to happen whenever I've spend some time on firefox, it starts to get slow after awhile then X restarts itself.

And what do you do exactly on Firefox when the crash happens? Maybe it's related to Flash, or some other plugin for the browser that has a memory leak...


"The way your heart sounds makes all the difference" John Myung

I love Dream Theater! ImL
Best Guitar Solo Ever

Offline

#9 2013-05-27 22:33:16

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: X Server crashing (seemingly) randomly

Try running Firefox in safe mode and see if you can reproduce the problem.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#10 2013-05-28 02:29:19

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

Re: X Server crashing (seemingly) randomly

Silex89 wrote:
felixculpa wrote:

X restarts, the system doesn't crash. It seems to happen whenever I've spend some time on firefox, it starts to get slow after awhile then X restarts itself.

And what do you do exactly on Firefox when the crash happens? Maybe it's related to Flash, or some other plugin for the browser that has a memory leak...

It was mostly happening when I was uploading massive amounts of pictures to flickr, and this happened which I think may be related. http://www.freeimagehosting.net/newuploads/bemco.png

Last edited by felixculpa (2013-05-28 02:31:58)

Offline

Board footer

Powered by FluxBB