Ask Your Question
0

systemd runlevels

asked 2011-11-14 17:43:21 -0600

hoganskunk gravatar image

updated 2014-09-28 13:45:33 -0600

mether gravatar image

I recently installed Fedora 16 on a Dell Latitude laptop. The wireless needed a tweak, but it works great. Next, I like booting into what was once runlevel 3 and is now called multi-user.target. I followed the instructions to link the default.target to the /lib...../multi-user.target, but no joy. I found if you link it to /lib...../runlevel3.target it works fine. I can now boot up in "command line mode" Unfortunately, I can't get X to start KDE. I created a .xinitrc file with the start commands, but no joy. If I change the current runlevel to 5 (system isolate graphical.target) it will run, but I need to be root to do that. Is there anyway to get KDE to start without having to have root access? I haven't tried "sticky bit" to the graphical.target file yet, but thought I'd post here before spending anymore time troubleshooting.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-11-15 08:06:17 -0600

Nils Philippsen gravatar image

Hmm, symlinking multi-user.target worked for me, and I wonder why you were successful with runlevel3.target but not multi-user.target as the former is simply a symlink to the latter. This is how I set up a local VM (didn't want to reboot my laptop ;-)), which booted and didn't start X/gdm just fine:

nils@f16:~> ls -l /lib/systemd/system/{runlevel3,multi-user}.target /etc/systemd/system/default.target
lrwxrwxrwx. 1 root root  37 Nov 15 13:40 /etc/systemd/system/default.target -> /lib/systemd/system/multi-user.target
-rw-r--r--. 1 root root 509 Oct 19 12:42 /lib/systemd/system/multi-user.target
lrwxrwxrwx. 1 root root  17 Oct 25 17:22 /lib/systemd/system/runlevel3.target -> multi-user.target

Not sure right now how to make this the permanent default for your user (i.e. so you only had to type "startx"), but this worked for me to start KDE out of multi-user.target:

nils@f16:~> startx /usr/bin/startkde
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2011-11-14 17:43:21 -0600

Seen: 852 times

Last updated: Nov 15 '11