Re: About start system without X in Fedora 15

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/17/2011 11:13 AM, "Manuel Trujillo 
(TooManySecrets)"<toomany@xxxxxxxxxxx>  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
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux