Re: Customising Session Shortcuts

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

 



Ok, disregard my second request for now... let's just take a step by step cause I'm quite a noob :)

A) The file in the end should be:
   # Default runlevel. The runlevels used by RHS are:
   #   0 - halt (Do NOT set initdefault to this)
   #   1 - Single user mode
   #   2 - Multiuser, without NFS (The same as 3, if you do not have
   #   networking)
   #   3 - Full multiuser mode
   #   4 - unused
   #   5 - X11
   #   6 - reboot (Do NOT set initdefault to this)
   #
   id:3:initdefault:

Now that should make the default startup, end with the <Localhost Login:> prompt, and then, when i want to start X-windows, i should just move to Ctrl+Alt+F2 and type "startx" right?

Now what if i also want to start a KDE session after that? Does startx load it by default (its the only KDE i have)? or do i type something else, or is it, something ELSE completely?

Thank you

On 22/03/06, James Wilkinson <fedora@xxxxxxxxxxxxxxxxxxx> wrote:
Ali Helmy wrote:
> Just for knowledge, when I press Ctrl+Alt+FX i get to a different session,
> where X=1-6 leads to a text mode, and X=7-12 leads to a graphical one...
> Now, is there some way where I can change the default? I mean:
>
> A) Make the default start-up just the console, but still be able to start
> the graphical one?

Yes. *Carefully* edit /etc/inittab as root. In the section that looks
like:
    # Default runlevel. The runlevels used by RHS are:
    #   0 - halt (Do NOT set initdefault to this)
    #   1 - Single user mode
    #   2 - Multiuser, without NFS (The same as 3, if you do not have
    #   networking)
    #   3 - Full multiuser mode
    #   4 - unused
    #   5 - X11
    #   6 - reboot (Do NOT set initdefault to this)
    #
    id:5:initdefault:
change that last 5 to a 3.

Then when you want to start X, log in and type "startx".

> B) Change the shortcuts, so that Ctrl+Alt+F1 = text-based, Ctrl+Alt+F2 =
> graphical based?

I haven't tried this. But I imagine commenting out the lines
    2:2345:respawn:/sbin/mingetty tty2
    3:2345:respawn:/sbin/mingetty tty3
    4:2345:respawn:/sbin/mingetty tty4
    5:2345:respawn:/sbin/mingetty tty5
    6:2345:respawn:/sbin/mingetty tty6
further down in the same file would do the job.

Keep one text-based console, though. You may need it if there's a
problem with X.

Hope this helps,

James.
--
E-mail address: james | Ridcully told jokes like a bullfrog did accountancy.
@westexe.demon.co.uk  | They never added up.
                      |     -- "The Last Continent", Terry Pratchett

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



--
A. Helmy

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux