LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 07-08-2023, 04:54 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Slimski problem on AntiX


My laptop ("littleboy") runs AntiX and I update it once a week at the weekend. Today, the display manager slimski failed at boot. It also fails when I try to run slimski's rc script as root. I can't remember if slimski was included in last week's update; no doubt there's a dpkg command that would show me when it was last updated but I'm very rusty on dpkg/apt.

I can't use startx as an unprivileged user on this system because the kernel is built to not allow video memory remapping; I can use startx as root, so the problem isn't within Xorg itself. Slimski has a log which suggests a pam problem. Maybe pam was in last week's update but I can't remember that either.

I'm happy to provide further info on demand, but bear in mind that this is a different machine from my desktop "bigboy" which I'm on now, so getting files across isn't an instant thing.
 
Old 07-08-2023, 08:37 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610

Original Poster
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Herewith some files: /etc/slimski.conf, this morning's slimski log and slimski's pam config file.

I tried a few more times just now and slimski has stopped logging anything! It just fails silently. So I don't know if the pam thing is even relevant but I'm including it anyway.
Attached Files
File Type: txt slimski.conf.txt (12.5 KB, 9 views)
File Type: txt slimski.log.txt (2.7 KB, 8 views)
File Type: txt slimski_pam.txt (1.3 KB, 5 views)
 
Old 07-08-2023, 09:27 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,923

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
it looks like slimski cannot find X at all. It can be a network related issue, probably you need to check if X really opened a port and it is really reachable. But it is only a wild guess.
 
Old 07-08-2023, 12:10 PM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,503

Rep: Reputation: Disabled
My old way when something went wrong was to re install it, or run
Code:
apt-get --fix-broken install
(No guarantees. )
 
Old 07-08-2023, 04:31 PM   #5
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
hazel,

Does this still work on Debian:
Code:
tail -3 /var/log/apt/history.log
then look for the line "upgrade", then the timestamp "end-date".

If the update is further back then try:
Code:
grep "apt upg" -n1 /var/log/apt/history.log | head -n1 | xargs | cut -f2-3 -d" "
or
Code:
/var/log/apt/var/log/history.log

Last edited by ChuangTzu; 07-08-2023 at 04:36 PM.
 
1 members found this post helpful.
Old 07-09-2023, 06:10 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610

Original Poster
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Quote:
Originally Posted by ChuangTzu View Post
If the update is further back then try:
Code:
grep "apt upg" -n1 /var/log/apt/history.log | head -n1 | xargs | cut -f2-3 -d" "
It's "apt dist-upgrade" on my system because I use a built-in AntiX script which turns out to call apt that way. Using that, I've located the previous update, which took place on the 1st July. It was a small one, only two packages: bind9-host and bind9-libs. Now I wonder what they do...

@fatmac: I've tried removing slimski and reinstalling it. It still fails to start on order, so I guess the problem lies in an interaction with something else.

Last edited by hazel; 07-09-2023 at 06:25 AM.
 
Old 07-10-2023, 11:53 AM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610

Original Poster
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
I've been playing around with stepping through the slimski start script at the console (as root naturally). I hoped I might get a more informative error message at some point than "slimski failed!" but no such luck.

When I launch slimski directly from the console, it fails silently. The return value is 1 and the slimski log shows "Invalid theme specified in config". That at least is new; I didn't see it on Saturday when the problem first blew up. The config file in question is the one from the reinstallation and gives 'Default' as the theme.
 
Old 07-10-2023, 12:25 PM   #8
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,503

Rep: Reputation: Disabled
Not sure if any of this will help - https://www.antixforum.com/forums/topic/slimski/

(Personally, I'd never heard of it before - I'm mainly using Devuan, Crowz, & OpenBSD lately.)
 
Old 07-11-2023, 05:23 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610

Original Poster
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
I think I've seen that one. The main AntiX thread on slimski is over a year old and runs to 9 pages, but I didn't find anything relevant to my problem in it.

This is a small, very old laptop. I think it has only 1 GB of memory and the graphics are completely obsolete (Via Chrome). I very seldom use it, though I update the software every week. I bought it because I felt that I really ought to learn how to use one and it cost only £80, but I never felt at home with it.

The only thing of importance on it is my family genealogy, which runs under gramps, but I have a copy of that now on Slackware-15, which I manage in parallel just in case.
 
Old 07-11-2023, 04:02 PM   #10
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Still no solution? Did you run it by anti?
 
Old 07-12-2023, 04:38 AM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610

Original Poster
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Quote:
Originally Posted by ChuangTzu View Post
Still no solution? Did you run it by anti?
That's why I put it in this forum. I know Anticapitalista visits here regularly and he's helped me out before.

Really for the amount I use that machine, it hardly matters whether it works or not, but I find it seriously irritating when there's a problem with Linux and I can't work out where it is or what to do about it.

This is what happens with very tightly integrated systems and it increases my appreciation of Slackware's looser coupling. In Slack, I don't even bother with a display manager; I just use startx and it works perfectly well.

Last edited by hazel; 07-12-2023 at 04:43 AM.
 
Old 07-12-2023, 06:48 AM   #12
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,139
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
I was going to stay out this thread because I am not sure hazel would do what I used to do.

Before slimski. When slim gave me the same problems you have.

I went with xdg login manager instead. Not as pretty and full functioned. But It booted me a Desktop.


I guess editing the theme from default to whatever is in usr/share aint working?

Usually in your boat. I would use the

Code:
locate slimski
command to see if I can find any other themes. The reason I mention this. In antiX control center. You can change the slimski theme/background.
 
1 members found this post helpful.
Old 07-12-2023, 07:05 AM   #13
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610

Original Poster
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Quote:
Originally Posted by rokytnji View Post
I went with xdg login manager instead. Not as pretty and full functioned. But It booted me a Desktop.
Who needs pretty? Is xdg available in the repos?
Quote:
I guess editing the theme from default to whatever is in usr/share aint working?
I haven't tried editing the slimski.conf file because I don't understand the syntax. There are # lines and ::: lines and I don't know which are the comments and which are active.
Quote:
Usually in your boat. I would use the locate slimski command to see if I can find any other themes.
I found the themes. They're in a tree in /usr/share/slimski. But if Default doesn't work, I'm not sure what else I could safely use.
Quote:
The reason I mention this. In antiX control center. You can change the slimski theme/background.
That could be useful. I can't get into a gui as myself but I can use startx as root.
 
Old 07-12-2023, 08:30 AM   #14
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,139
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
@

Hope that helps. I think logging as root should be OK. Since a password is needed to open login manager app.

Edit> wondering why yours says default and mine says AntiX.

@ChangTzu Your command works in antiX.

Code:
harry@biker:~
$ tail -3 /var/log/apt/history.log
Requested-By: harry (1000)
Upgrade: libgs9-common:amd64 (9.53.3~dfsg-7+deb11u4, 9.53.3~dfsg-7+deb11u5), ghostscript:amd64 (9.53.3~dfsg-7+deb11u4, 9.53.3~dfsg-7+deb11u5), libgs9:amd64 (9.53.3~dfsg-7+deb11u4, 9.53.3~dfsg-7+deb11u5), firefox-esr:amd64 (102.12.0esr-1~deb11u1, 102.13.0esr-1~deb11u1), formatusb:amd64 (23.04.12, 23.07.08)
End-Date: 2023-07-11  12:52:01

Last edited by rokytnji; 07-12-2023 at 08:43 AM.
 
1 members found this post helpful.
Old 07-12-2023, 08:36 AM   #15
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610

Original Poster
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Harry, you're a true friend! I'm eternally grateful to you.

I started X as root, and managed to bring up the control centre; I had to ask for it by name as antixcc.sh, since root's desktop menu doesn't include it. The theme shown was antiX and that's the one slimski.log kept saying was invalid. So I changed it graphically to default and behold! When I logged out of X and launched slimski from the command line, it ran successfully and gave me a graphical login prompt. I logged in as me and got a fluxbox desktop (which isn't what I generally use on this machine but it was acceptable).

So then I rebooted and slimski came up with a prompt straight away.

Now I don't know what was originally wrong with slimski, but I think it was probably cured by my reinstalling it. However the new version introduced a new error because it was set to give a theme that no longer exists. That's why I kept getting that theme error in slimski.log, which was different from what happened before the reinstallation. Correcting it in /etc/slimski.conf didn't work; it had to be done graphically for some reason.

Anyway it works now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Conky display gets corrupted since updating Antix-16 to Antix-17 hazel Linux - Distributions 3 12-18-2017 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration