You are not logged in.
Hello all. So here's the story: I was trying to get SLiM to run via `systemd` and was following the instructions detailed here:
# systemctl enable kdm.serviceThis should work out of the box. If not ....
/etc/systemd/system/default.target -> /usr/lib/systemd/system/graphical.targetSimply delete the symlink and systemd will use its stock `default.target` (i.e.`graphical.target`).
# rm /etc/systemd/system/default.target
By some strange form of dyslexia, instead of writing the code on the last step, I had written
# rm /usr/lib/systemd/system/graphical.targetOf course, without this file, I'm now unable to boot succesfully. I'm also quite sure that it's impossible (or at least extremely impractical) to recover a file removed in this fashion. Is there a default `graphical.target` that I could download or see the lines of text, so that I can remake it?
If I recall correctly, it was just 8-10 lines of text like other `.target` files, where half of it was commented out with some
[ 'something'] = something written inbetween some of the comment lines. I appreciate your help!
Last edited by nil (2012-10-20 15:25:32)
Offline
Does reinstalling systemd not give you back that file?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
This is my graphical.target
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Graphical Interface
Documentation=man:systemd.special(7)
Requires=multi-user.target
After=multi-user.target
Conflicts=rescue.target
Wants=display-manager.service
AllowIsolate=yes
[Install]
Alias=default.targetOffline
Does reinstalling systemd not give you back that file?
Ah, I was under the assumption that `systemd` comes installed from the LiveCD/LiveUSB and not from `pacman`. I could definitely try reinstalling it with `pacman` right now and see what happens.
This is my graphical.target
...
Thanks! I'll see if that works first.
EDIT: For anyone else as dumb as me in the future, the config works.
Last edited by nil (2012-10-20 15:24:20)
Offline
Ah, I was under the assumption that `systemd` comes installed from the LiveCD/LiveUSB and not from `pacman`. I could definitely try reinstalling it with `pacman` right now and see what happens.
The livecd/usb uses pacman to install, so... ![]()
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline