XFCE crashes after LTSP install

Questions specific to the Xfce DE go here
User avatar
Tuna130
Posts: 52
Joined: 10 Aug 2013 05:40
Location: Spain

XFCE crashes after LTSP install

Postby Tuna130 » 08 Jan 2019 12:50

I got myself into trouble here; I installed LTSP over the weekend and got it working on the clients. But now the server with SolydX suffers from XFCE crashes. This happens every 5-30 minutes, and I loose all my work and have to log in again on lightdm. I don't think X11 crashes because the client sessions keeps running and I think they share a common X11 instance.

It seems I was unwise to install

Code: Select all

education-ltsp-server

This pulled in loads of education programmes, which I don't mind, but also a lot of KDE stuff. And that might have done something ...
After first reboot I found Kerberos error messages. So I removed al kerberos packages I could find. For LTSP to run I installed epoptes, which didn't apear to be in the meta package.

Code: Select all

[44005.201828] Chrome_~dThread[18447]: segfault at 0 ip 00007f6fe3a3d861 sp 00007f6ff14c7ab0 error 6 in libxul.so[7f6fe06a3000+48d8000]
[46712.130213] traps: xfce4-power-man[14597] general protection ip:7f8624464532 sp:7ffd4c4deb50 error:0[46712.130218]  in libSM.so.6.0.1[7f8624462000+7000]
[50312.096983] xfce4-power-man[16032]: segfault at a8000000a0 ip 00007fa9a5ff5390 sp 00007ffdab8d4958 error 4 in libICE.so.6.3.0[7fa9a5feb000+17000]
[50312.100385] xfce4-panel[15925]: segfault at 4 ip 00007f02790a6532 sp 00007ffd0d0789b0 error 6 in libSM.so.6.0.1[7f02790a4000+7000]
[50312.104569] xfsettingsd[15934]: segfault at 4 ip 00007fd7a36115c6 sp 00007ffd93b23200 error 6 in libSM.so.6.0.1[7fd7a360f000+7000]
[70296.981882] perf: interrupt took too long (3168 > 3141), lowering kernel.perf_event_max_sample_rate to 63000
[97115.776896] xfwm4[13543]: segfault at 19 ip 00007f5c7d1ad4fc sp 00007ffd03d03cb0 error 4 in libc-2.24.so[7f5c7d134000+195000]
[97115.804083] xfce4-panel[13547]: segfault at 11 ip 00007f2836b41f0f sp 00007ffeb79215d0 error 6 in libc-2.24.so[7f2836ac9000+195000]
I first removed Chromium browser, then xfce4-power-man. But I need xfce4-panel and xfwm4... And what this perf errror?

Code: Select all

$ dpkg --contents /var/cache/apt/archives/education-ltsp-server_1.924_amd64.deb 
drwxr-xr-x root/root         0 2017-04-27 19:21 ./
drwxr-xr-x root/root         0 2017-04-27 19:21 ./usr/
drwxr-xr-x root/root         0 2017-04-27 19:21 ./usr/share/
drwxr-xr-x root/root         0 2017-04-27 19:21 ./usr/share/blends/
drwxr-xr-x root/root         0 2017-04-27 19:21 ./usr/share/blends/tasks/
drwxr-xr-x root/root         0 2017-04-27 19:21 ./usr/share/blends/tasks/education/
-rw-r--r-- root/root        12 2017-04-27 19:21 ./usr/share/blends/tasks/education/ltsp-server
drwxr-xr-x root/root         0 2017-04-27 19:21 ./usr/share/doc/
drwxr-xr-x root/root         0 2017-04-27 19:21 ./usr/share/doc/education-ltsp-server/
-rw-r--r-- root/root       946 2016-11-26 20:12 ./usr/share/doc/education-ltsp-server/README.Debian
-rw-r--r-- root/root     49080 2017-04-27 19:21 ./usr/share/doc/education-ltsp-server/changelog.gz
-rw-r--r-- root/root       666 2016-07-30 23:51 ./usr/share/doc/education-ltsp-server/copyright
drwxr-xr-x root/root         0 2017-04-27 19:21 ./usr/share/lintian/
drwxr-xr-x root/root         0 2017-04-27 19:21 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       123 2017-01-07 13:36 ./usr/share/lintian/overrides/education-ltsp-server
Trying to find the packages that got sucked in, but above is what I can retrace for now.

The clients are 32 bit and server is 64 but. That should be allright..?

Please, any suggestions?

User avatar
ilu
Posts: 2425
Joined: 09 Oct 2013 12:45

Re: XFCE crashes after LTSP install

Postby ilu » 09 Jan 2019 08:38

  1. Backup your data NOW.
  2. Don't deinstall random stuff. Use your least mistrusted search engine first.
  3. You can see which packages where installed lately very easily if you used synaptic - [files/history] shows all packages neatly sorted.
  4. If you used apt you might be out of luck if you did not change the SolydX standard install (which puts /var/log onto tmpfs) - try less /var/log/apt/history.log for the last log and zless /var/log/apt/history.log.1.gz for the ones before.
  5. Next time you install something, watch out for stuff the cat drags in ... and set recommends=false beforehand. Won't help you now, I know (and, upon further investigation, wouldn't have helped you anyway).
  6. Inspect https://packages.debian.org/stretch/education-tasks - it contains the scripts that pull in the applications in /usr/share/tasksel/descs/. There is a setup for XFCE - did you not get the opportunity to choose that?
  7. Does xsession-errors show anything?
Now the error messages:
  • You can ignore the perf message - the kernel is trying to sort out performance problems.
  • The chrome segfaults have nothing to do with chromium but with firefox crashes, https://bugzilla.redhat.com/show_bug.cgi?id=1577277
  • The xfce segfaults might point to a bug in xfce but I'm not sure about that.
  • Generally, segfaults are memory errors, so hardware would be the first thing to check. You should run a memory test. Isn't there one available in the grub start menu? (I'm not in the mood for a reboot just now.)
Are you sure your hardware is up to the task?

User avatar
Tuna130
Posts: 52
Joined: 10 Aug 2013 05:40
Location: Spain

Re: XFCE crashes after LTSP install

Postby Tuna130 » 10 Jan 2019 00:33

Hi Ilu,
First of all, thanks for looking into this! I made some hasty decisions, indeed. Let me just follow your list.

1. Check. But /home is separate hdd anyway. Root is on ssd. Faulty drive...?
2. OK, you are right. I never needed kerberos in the past, neither with LTSP nor with XFCE, so I chucked it out without any further investigation.
3&4 Yes, all with apt. But those logs are interesting, I'll need some time to go through them.
5. OK
6. No, I don't recognize that. No desktop setup during LTSP install. I would have stuck with XFCE anyway.
7. Well, that's an interesting one. Mainly GTK errors, but one stands out at first glance. What is that?

Code: Select all

**(xfce4-session:3703) CRITICAL **: polkit_unix_process_set_property: assertion 'val !=-1'failed
And then on:
-ok
-Ok, that makes sense because crashed seem to happen sooner when Firefox is in use. But I am on Firefox 64 and it says on that page the issue is solved by version 60.0.1.
-Well, it worked fine for all those years, but yeah, could be...
-No, no memtest in default GRUB setup. But many live distros have it, I'll just boot from a usb key with it and see what happens.

Is the hardware up to the task? Well, this is a home office with one fairly modern pc with 16GB ram, idling mostly. I can use one or two older laptops now as thin clients and it's like working on the main pc, just as fast. The 'server' uses up only 5GB of its memory when one person on thin client while other on the 'server' working LibreOffice and browsing. I seemed so nice.

I'll attach the history.log file to show what went down. There must be some package in that meta set that doesn't agree with XFCE or my hardware...
Attachments
history.log
(46.06 KiB) Downloaded 35 times

User avatar
ilu
Posts: 2425
Joined: 09 Oct 2013 12:45

Re: XFCE crashes after LTSP install

Postby ilu » 10 Jan 2019 14:56

Tuna130 wrote:
10 Jan 2019 00:33
Is the hardware up to the task? Well, this is a home office with ... one or two older laptops now as thin clients ...
Please forget about that question, I was imagining several dozens or a classroom because you talked about a package called education.

Looking at the history.log I can indeed see the kde desktop, which is ... unfortunate. I can also see

Code: Select all

Error: Sub-process /usr/bin/dpkg returned an error code (1)
so obviously the installation went wrong. This message shows up 2 more times but is gone after, so did you do anything to correct it?

Do the memtest overnight and report back.

If that doesn't find anything, I would recommend to start from scratch, honestly. Sorting this mess would take hours, one by one, and success is not guaranteed. A new install doesn't take that long, since you can keep the configs. Install any additional programs you need with synaptic in order to get a nice history which doesn't get rotated away.

ltsp has a setup for xfce and you should investigate why you got the kde install instead. Also I would start with just the server, not jump into the middle of things with the education package. Baby steps and testing in between is the best way to go.

User avatar
Tuna130
Posts: 52
Joined: 10 Aug 2013 05:40
Location: Spain

Re: XFCE crashes after LTSP install

Postby Tuna130 » 11 Jan 2019 12:46

Yes, the dpkg error disappeared by repeating the last command.

I run the memtest86 overnight and all seems well.

Checked both ssd and hdd with "smartctl --time=normal /dev/sdX" and "smartctl -a /dev/sdX" from live usb. Both fine.

So [sigh] I guess I'll start form scratch if I can't sort this out. And use synapic.
For now I installed the evergreen pekwm with lxpanel, just to see if XFCE is broken or perhaps something deeper than that. So far no crashes...

Cheers

User avatar
ilu
Posts: 2425
Joined: 09 Oct 2013 12:45

Re: XFCE crashes after LTSP install

Postby ilu » 11 Jan 2019 14:22

KDE loads several processes (like akonadi) into memory which are of no use but just clog your system. That's why I recommend reinstall.


Return to “Xfce specific (SolydX)”

Who is online

Users browsing this forum: No registered users and 1 guest