>:(
Hallo,
wollte endlich den nicht richtig funktionierenden "systemctl isolate multiuser.target" in Ordnung bringen (musste immer anschließend mit "Alt+F1" erst die Konsole aktivieren).
Jetzt klappt weder dies, noch startet meine grafische Oberfläche nach dem booten ohne mich per Konsole anzumelden und ein startx abzusetzen...
Von dort aus funktioniert kein systemctl isolate multiuser.target mehr.
Bin dazu folgendem wiki gefolgt: http://wiki.siduction.de/index.php?title=Systemd#init3.2Finit5_klappt_nicht
Meldungen während der Prozedur waren Warnungen:
#root: update-rc.d lightdm start 02 5 . stop 01 0 1 2 3 4 6
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start runlevel arguments (5) do not match lightdm Default-Start values (2 3 4 5)
update-rc.d: warning: stop runlevel arguments (0 1 2 3 4 6) do not match lightdm Default-Stop values (0 1 6)
und im letzten Schritt:
systemctl enable graphical.target
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
Gleiche Ausgabe bei systemctl enable lightdm.service
Dies ist mein systemctl show lightdm.service: http://paste.siduction.org/20140723013341
und dies mein systemctl show graphical.service http://paste.siduction.org/20140723013701
Wie kriege ich mein altes Problem zurück --- Und warum mache ich sowas blödsinnigerweise immer dann wenn ich eh grad keine Zeit habe mich in eventuelle Probleme rein zu knien?? :)
Gruß
ayla
Ayla, früher hatte graphical.target mal einen [Install]-Abschnitt, bei systemd 208 nicht mehr. Habe ich auch jetzt erst durch Deinen Post realisiert. Hab noch keine Ahnung wie jetzt die sauberen Rezepte aussehen sollen das zu "enablen", aber der Wiki-Artikel stimmt damit natürlich nicht mehr >:(.
Was Du mal machen könntest:
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/graphical.target /etc/systemd/system/default.target
rm -f /etc/systemd/system/display-manager.service
ln -s /lib/systemd/system/lightdm.service /etc/systemd/system/display-manager.service
um nochmal explizit grafisch als Default und lightdm als Displaymanager einzustellen.
Danke, das hat funktioniert.
Grafische Oberfläche startet wieder direkt und in den multiuser komme ich wie gehabt über den ALT+F1-Umweg. :)
Gruß
ayla
Hallo,
seit etwa einer Woche hab ich das gleiche Problem.
Ich hatte das auch schon in "New KDE software in kdenext" gepostet:
Quote from: Penyelam on 2015/10/05, 16:41:54
@der_bud @bluelupo
Danke,
funktioniert aber leider nicht
root@siductionbox:~# systemctl set-default graphical.target
root@siductionbox:~# systemctl enable graphical.target
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
Auch der Tipp von der_bud funktioniert nicht.
Penyelam, gib mal bitte den output von systemctl list-units --type=target
Welchen Displaymanager hast Du? Bitte mal je nachdem ob lightdm oder sddm systemctl status lightdm.service
oder
systemctl status sdddm.service
Und dann noch bitte ls -l /etc/systemd/system/default.target
UNIT LOAD ACTIVE SUB DESCRIPTION
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User System
network-online.target loaded active active Network is Online
network.target loaded active active Network
paths.target loaded active active Paths
remote-fs-pre.target loaded active active Remote File Systems (Pre)
remote-fs.target loaded active active Remote File Systems
rpcbind.target loaded active active RPC Port Mapper
slices.target loaded active active Slices
sockets.target loaded active active Sockets
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
time-sync.target loaded active active System Time Synchronized
timers.target loaded active active Timers
root@siductionbox:~# systemctl status lightdm.service
● lightdm.service - LSB: Light Display Manager
Loaded: loaded (/etc/init.d/lightdm)
Active: active (exited) since Mo 2015-10-12 10:30:44 CEST; 7h ago
Docs: man:systemd-sysv-generator(8)
Process: 954 ExecStart=/etc/init.d/lightdm start (code=exited, status=0/SUCCESS)
Okt 12 10:30:43 siductionbox systemd[1]: Starting LSB: Light Display Manager...
Okt 12 10:30:44 siductionbox systemd[1]: Started LSB: Light Display Manager.
root@siductionbox:~# ls -l /etc/systemd/system/default.target
lrwxrwxrwx 1 root root 36 Okt 10 22:46 /etc/systemd/system/default.target -> /lib/systemd/system/graphical.target
ähm, ich vermute mal das sind jetzt Outputs nachdem Du mit startx grafisch geworden bist ;) ? Sorry, ich meinte von den ersten beiden im Zustand nach dem booten, wenn Dein System in der Konsole hängt ...
Du könntest aber schonmal sicherheitshalber die beiden folgenden Kommandos absetzen: dpkg-reconfigure lightdm
systemctl enable lightdm.service Wobei ich noch nicht ganz blicke, das lightdm (vermutlich) schon hochkommt aber Du irgendwie nix grafisches kriegst - strange.
greeter-konfiguration übermalt?
der reconfigure hat mir gesagt daß lightdm kaputt oder nicht komplett installiert ist.
Hab ihn neu installiert, jetzt klappts.
Das Anmeldefenster kommt allerdings auf schwarzen Hintergrund, mal schauen wo ich ihm da noch ein Hintergrundbild geben kann.
Besten Dank
eventuell apt-get install siduction-settings-lightdm-gtk-indiansummer
Eigenes Bild dann per /etc/lightdm/lightdm-gtk-greeter.conf
oder auch gleich das eigene Bild da reinmalen, viel mehr machen wir auch nicht
EDIT: oder aber die conf vom noch installierten Theme da reinkopieren, anders machen wir das auch nicht
I der /etc/lightdm/lightdm-gtk-greeter.conf stand:
background=/usr/share/images/desktop-base/login-background.svg
dabei hab ich nicht mal ein /usr/share/images, hab wie empfohlen was anderes reingeschrieben.
Jetzt sieht der loginscreen wieder richtig freundlich aus.
Ich danke euch.
is nich off-topic, ich empfehle man apt-file.
apt-file list siduction-settings-lightdm-gtk