LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   problem with tty5 (https://www.linuxquestions.org/questions/linux-desktop-74/problem-with-tty5-739156/)

asifbasha 07-10-2009 07:15 AM

problem with tty5
 
hai to all

i am using fedora 10 with gnome desktop , my problem is that when ever i am switching to tty5(ctrl+alt+f5) terminal and my screen is not showing any thing it was just happened few days ago
but i may be able to get back my desktop by pressing ctrl+alt+f1 ,how can i able to fix this problem

colucix 07-10-2009 07:30 AM

On most systems, virtual consoles are managed by /etc/inittab:
Code:

# 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

On Fedora they are controlled by /etc/event.d/tty[1-6]. For example:
Code:

$ cat /etc/event.d/tty5
# tty5 - getty
#
# This service maintains a getty on tty5 from the point the system is
# started until it is shut down again.

start on stopped rc2
start on stopped rc3
start on stopped rc4
start on started prefdm

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn
exec /sbin/mingetty tty5

Check if you have the correct init scripts.


All times are GMT -5. The time now is 12:10 AM.