LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to switch to command line from GUI using keyboard shortcut (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-switch-to-command-line-from-gui-using-keyboard-shortcut-807543/)

tj_linux 05-13-2010 03:31 AM

how to switch to command line from GUI using keyboard shortcut
 
Hi friends

Im using Fedora Core 5.
how to switch to command line from GUI using keyboard shortcut.
pls help

Thanx in advance

tj

Aquarius_Girl 05-13-2010 03:41 AM

Ctrl-Alt-F2 to console mode
Ctrl-Alt-F7 to GUI mode.

tj_linux 05-13-2010 03:50 AM

thanks anisha

Aquarius_Girl 05-13-2010 03:50 AM

Well you re welcome but did you try them out ?

Aquarius_Girl 05-13-2010 03:52 AM

Secondly

Offtopic:
Did you bother to reply to your other threads ?

tj_linux 05-13-2010 04:07 AM

Hi

I used the short cut key clrl-alt-F2, but still the console mode will not come..instead a blank screen is seen as though it is stuck..when we press ctrl-alt-F7 it will go back to the GUI mode. I am able to use the command line from the GUI mode which appears in a window...I am using a compaq presario C700 laptop....i got this installation dvd with a book..." MASREING REDHAT LINUX FEDORA CORE 5" by Michel Jang (SYBEX). Is this due to any installation problem?
Pls help..

thanx

Aquarius_Girl 05-13-2010 04:19 AM

Quote:

I used the short cut key clrl-alt-F2, but still the console mode will not come..instead a blank screen is seen as though it is stuck..
Did you wait for a few seconds, on my computer console mode appears after a some seconds not immediately .

tj_linux 05-13-2010 04:25 AM

yes..i think abt 10 to 15 secs..

tj

ajeetsinghraina 05-13-2010 04:25 AM

Can you paste here :

/etc/inittab

output?

Aquarius_Girl 05-13-2010 04:26 AM

Quote:

yes..i think abt 10 to 15 secs..
Fine,
You can mark the thread SOLVED if you think you have got an answer to your problem through the Thread tools menu at the top of this page !

tj_linux 05-13-2010 04:32 AM

Quote:

Originally Posted by ajeetsinghraina (Post 3966758)
Can you paste here :

/etc/inittab

output?

hi..

From where should i get this output of /etc/inittab

Aquarius_Girl 05-13-2010 04:33 AM

type
Code:

cat /etc/inittab
on your terminal and post the output here.

tj_linux 05-13-2010 04:47 AM

Quote:

Originally Posted by anishakaul (Post 3966772)
type
Code:

cat /etc/inittab
on your terminal and post the output here.

ok..will do..

catkin 05-13-2010 05:13 AM

If you are happy to use a GUI terminal emulator then you could set up a hotkey/keyboard-shortcut in your desktop settings. Which desktop does Fedora Core 5 have?

tj_linux 05-13-2010 05:21 AM

The output

[root@localhost ~]# cat /etc/inittab
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# 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:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
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

# Run xdm in runlevel 5
x:5:once:/etc/X11/prefdm -nodaemon
[root@localhost ~]#

tj_linux 05-16-2010 05:49 AM

Quote:

Originally Posted by ajeetsinghraina (Post 3966758)
Can you paste here :

/etc/inittab

output?

The output

[root@localhost ~]# cat /etc/inittab
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# 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:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf:owerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345owerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
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

# Run xdm in runlevel 5
x:5nce:/etc/X11/prefdm -nodaemon
[root@localhost ~]

MTK358 05-16-2010 07:29 AM

On my computer I made it so I don't have a GUI when I first boot.

I can access 6 terminals by pressing Ctrl+Alt+F1 through F6.

After I run X in one of the terminals, the GUI is on Ctrl+Alt+F7.


All times are GMT -5. The time now is 02:17 AM.