On 05/17/2011 11:13 AM, "Manuel Trujillo
(TooManySecrets)"<[email protected]> wrote:
> Before systemd, you could start a system without the X putting a "3"
> at end of kernel line in grub. How I can make the same in Fedora 15? I
> tried the same but not work (I think it is for the new systemd start
> system).
A quick and easy to remember method: Add the following to your
/etc/inittab file, and make it executable. Then run 'inittab 3'. It
suddenly strikes me that you may be able to do this, by merely
're-starting' X. I'm not near my F15 box ATM so I am not sure. But a
reboot works. After doing whatever, 'inittab 5' and re-start.
# REVISED INITTAB
# To set the default systemd target
# run as an executable with a level parameter
# eg: inittab 3
# this defaults to non-graphical for anything other than 5
# ..possibly dangerous with a 0 or 1, or even 6!
export LEVEL=$1
echo ""
echo " Setting RUNLEVEL to " $LEVEL
echo ""
if [ $LEVEL = "5" ];
then
rm -vf /etc/systemd/system/default.target
ln -s /lib/systemd/system/graphical.target
/etc/systemd/system/default.target
echo " Default target set to graphical.";
else
rm -vf /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target
/etc/systemd/system/default.target
echo " Default target set to multi-user.";
fi
--
R. Geoffrey Newbury
--
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines