Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Has development of SLiM ceased?

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
29 posts
  • 1
  • 2
  • Next
Author
Message
Fitzcarraldo
Advocate
Advocate
User avatar
Posts: 2057
Joined: Sat Aug 30, 2008 9:49 pm
Location: United Kingdom
Contact:
Contact Fitzcarraldo
Website

Has development of SLiM ceased?

  • Quote

Post by Fitzcarraldo » Tue Dec 12, 2017 12:51 pm

I was wondering about the status of SLiM these days. I haven't used SLiM myself since four years ago, but was thinking about using it again with Xfce on another old laptop.

The Wikipedia page on SLiM states the following:
Wikipedia wrote:As of March, 2016, SLiM seems to be abandoned. It is not fully compatible with systemd.
The Arch Linux Wiki page on SLiM states the following:
Arch Linux Wiki wrote:Warning: The SliM project has been abandoned (last release was 2013, the project homepage is down), and is not fully compatible with systemd, including logind sessions. Consider using a different Display manager or Xinitrc.
Has development (and maintenance) of SLiM really ceased? What is its future?
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

Re: Has development of SLiM ceased?

  • Quote

Post by fedeliallalinea » Tue Dec 12, 2017 1:04 pm

Fitzcarraldo wrote:Has development (and maintenance) of SLiM really ceased?
No code after 2013-10-02, I think yes.
Fitzcarraldo wrote:What is its future?
If nobody fork or takes the time for maintain the code the project will die
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
C5ace
Guru
Guru
Posts: 517
Joined: Mon Dec 23, 2013 12:44 am
Location: Brisbane, Australia

  • Quote

Post by C5ace » Tue Dec 12, 2017 4:11 pm

Installed a Xfce openrc system with slim last week. Simple and works very well without complications on about 20 other Xfce openrc systems I installed during the last 2 years and maintain.

There is no need to to develop and maintain code that is bug free and works as intended. If you want to keep thinks simple, use grub-static or lilo, openrc, slim and xfce, or Lxde. Stay away from grub-2, systemd and similar unless you need their complexities and special features.
Top
Fitzcarraldo
Advocate
Advocate
User avatar
Posts: 2057
Joined: Sat Aug 30, 2008 9:49 pm
Location: United Kingdom
Contact:
Contact Fitzcarraldo
Website

  • Quote

Post by Fitzcarraldo » Tue Dec 12, 2017 4:48 pm

Apparently SLiM cannot work with systemd in any case.

I didn't have any trouble using GRUB2 with Gentoo Stable + SLiM + OpenRC + Xfce four years ago. Have you had trouble with GRUB2 recently with such an installation, then?
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Wed Dec 13, 2017 3:32 am

Could you provide a citation for what systemd does wrong that requires modifications to Slim to make them compatible?
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Wed Dec 13, 2017 7:05 am

SLiM has one unfixed bug with possible security implications: it opens a log file as root and doesn't close the file handle properly before exec'ing the desktop session.
Try this in a terminal as your normal user...

Code: Select all

echo foo >&3
tail -1 /var/log/slim.log
ls -l /var/log/slim.log
whoami
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Wed Dec 13, 2017 7:32 am

Fitzcarraldo wrote:Apparently SLiM cannot work with systemd in any case.
Didn't work for me with openrc either, back when I tried...
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Dec 13, 2017 7:51 am

asturm wrote:
Fitzcarraldo wrote:Apparently SLiM cannot work with systemd in any case.
Didn't work for me with openrc either, back when I tried...
Before plasma 5 I used xfce4 with slim without problem
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Wed Dec 13, 2017 9:31 am

SLiM worked for me but felt really clunky so I stopped using it for the most part (opting for lightdm). I think I have one USB stick that still has it but it's a fairly old install. This was for openrc, I did not try for systemd.

It seems Gentoo does have some patches for systemd, not sure what features it adds. Or perhaps subtracts, it seems to pull out consolekit support for systemd and doesn't even try setting up logind sessions.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
Fitzcarraldo
Advocate
Advocate
User avatar
Posts: 2057
Joined: Sat Aug 30, 2008 9:49 pm
Location: United Kingdom
Contact:
Contact Fitzcarraldo
Website

  • Quote

Post by Fitzcarraldo » Wed Dec 13, 2017 9:51 am

Hu wrote:Could you provide a citation for what systemd does wrong that requires modifications to Slim to make them compatible?
Nope. I'm simply going on what the Arch Linux Wiki page on SLiM states:
Arch Wiki - SLiM wrote:Warning: The SliM project has been abandoned (last release was 2013, the project homepage is down), and is not fully compatible with systemd, including logind sessions. Consider using a different Display manager or Xinitrc.
Are you using SLiM with systemd successfully, then?

Anyway, systemd is a red herring, since I would not be wanting to use it in the proposed installation (I was simply responding to C5ace's comment vis-à-vis SLiM to "Stay away from grub-2, systemd and similar unless you need their complexities and special features.").

What I'm actually interested in knowing is whether it would be OK to use SLiM with a Gentoo Linux stable installation using OpenRC and Xfce, or whether it would be better to opt for a different DM.
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Wed Dec 13, 2017 5:36 pm

Hu wrote:Could you provide a citation for what systemd does wrong that requires modifications to Slim to make them compatible?
This only refers to logind. However, logind != systemd. You can use systemd as a bootmanager without using logind. Also the opposite is possible to some extent.
Top
candrews
Developer
Developer
Posts: 162
Joined: Wed Aug 10, 2005 3:39 pm
Contact:
Contact candrews
Website

  • Quote

Post by candrews » Wed Dec 13, 2017 5:43 pm

FWIW, I'm a former slim user, and I've found x11-misc/sddm to be a great replacement. It's minimal and simple like slim, but maintained and compatible with systemd.
I'm working on a variety of random things throughout Gentoo.
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Dec 14, 2017 1:29 am

Fitzcarraldo wrote:Are you using SLiM with systemd successfully, then?
I don't use SLiM or systemd, so no. I was merely curious what systemd broke this time that led to SLiM presumably working with non-systemd, but not working with systemd.
Top
kitsunenokenja
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Tue Jan 20, 2004 7:39 pm

  • Quote

Post by kitsunenokenja » Thu Dec 14, 2017 3:08 am

When trying to find documentation on SLIM, for keyboard shortcuts in particular, I discovered the URL often attributed to the project is no longer hosted and that the project is indeed dead. A shame, a simple and lightweight DM like SLIM was perfect. Went to lightdm and not particularly thrilled. It seems the only way to have a flexible theming of it is to resort to some crazy deps to get web-based support to do so. Why would you rely on web tech for a DM!? I may have to look into SDDM and give it a try. Oh, I use OpenRC so systemd compatibility is out the window.
ProtonMail - Free encrypted e-mail from Switzerland
Let's Encrypt - Free SSL cert organisation
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Thu Dec 14, 2017 7:19 am

fedeliallalinea wrote:Before plasma 5 I used xfce4 with slim without problem
Maybe it was me but in 2 out of 3 times, slim created a 100% load runaway process. Maybe I tried it at a bad time.
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Thu Dec 14, 2017 9:33 am

If you want plain, you can use the old fashioned xdm, there's nothing simpler as this is the original. Last I checked it even has consolekit support, but I don't know how well its systemd support is. Note that I think its default install may try to set up xconsole which is unneeded, that can be removed.

I only tried SLiM to try SLiM, xdm I've used when I first started using X (sheesh, it's been 20 years...), and with consolekit/systemd I opted for lightdm because it has an obvious and easy way to shut down without needing to login. It is not to say it's without faults, accountsservice and gtk-greeter have been annoying.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Thu Dec 14, 2017 9:38 am

I'm using slim (with mate) and it work for me, i wasn't aware about log issue Ant P. mention, so i have just disable logging facility, which i don't need anyway.
Top
C5ace
Guru
Guru
Posts: 517
Joined: Mon Dec 23, 2013 12:44 am
Location: Brisbane, Australia

  • Quote

Post by C5ace » Thu Dec 14, 2017 1:45 pm

Fitzcarraldo wrote:I didn't have any trouble using GRUB2 with Gentoo Stable + SLiM + OpenRC + Xfce four years ago. Have you had trouble with GRUB2 recently with such an installation, then?
I use a "cut & paste" install script to install Gentoo / Xfce stable. It takes about about 6 to 10 minutes of my time to start the installation. This completes overnight on a fast laptop and results in a complete Xfce system. If I include Thunderbird, Firefox and Libreoffice, it takes another 12 to 24 hours. Grub2, LightDM, requires manual intervention and have more complexities.

My favorite firewall is Bastille from 2002.
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Thu Dec 14, 2017 10:20 pm

krinn wrote:so i have just disable logging facility, which i don't need anyway.
How do you do that?
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Fri Dec 15, 2017 10:35 am

mv wrote:
krinn wrote:so i have just disable logging facility, which i don't need anyway.
How do you do that?

Code: Select all

sed -i 's/logfile/#logfile/' /etc/slim.conf 
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Fri Dec 15, 2017 12:37 pm

krinn wrote:

Code: Select all

sed -i 's/logfile/#logfile/' /etc/slim.conf 
I am afraid that this has no effect: It seems to me from the code that if it is not set in /etc/slim.conf, a default is chosen which is (surprise!) /var/log/slim.log
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Fri Dec 15, 2017 6:32 pm

What if you set the file to /dev/null ?
Still wastes cpu cycles to log, but at least /dev/null won't fill up.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Fri Dec 15, 2017 6:56 pm

eccerr0r wrote:What if you set the file to /dev/null ?
I had also thought about this, but I am not sure whether it will really solve the security issue. Actually, I am not even sure what the security issue is. In my case, &3 is not accessible.
Anyway, I switched now to sddm, to be on the safe side: There might also be other unknown security issues.
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Fri Dec 15, 2017 7:40 pm

As far as I know, it allows an unprivileged user fill up disk space as "root" (since root owns that log file) using any reserved space as well - denial of service. I don't think there's a privilege escalation problem here, but if the file is readable, that's also a way to get past disk quotas...
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
ct85711
Veteran
Veteran
Posts: 1791
Joined: Tue Sep 27, 2005 8:54 pm

  • Quote

Post by ct85711 » Fri Dec 15, 2017 10:52 pm

Well, you can easily restrict the amount of storage the logs takes with log rotate, in that there is an option of the amount of old logs to keep (and compress the old logs), and also an option to automatically rotate on log size; so if the log ever gets say like 1M or so (the size limit can be defined in the log rotate configs) in size, so it will never take up more than that much. As far as permissions go, logrotate has the create option which allows you to specify the permissions and owner of the log file to be created; thus will ensure the file will always be created with what permissions you want.
Top
Post Reply

29 posts
  • 1
  • 2
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic