Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: ctrl + f1 tm f7  (gelezen 2142 keer)

rowanb

  • Gast
ctrl + f1 tm f7
« Gepost op: 2006/10/23, 16:27:39 »
ik heb gisteren xubuntu geinstaleerd, ik heb al eerder bij iemand op ubntu gewerkt maar als je daar op ctrl+f1 tm f7 klikte kon je meerdere keren inloggen maar bij mij werkt dat niet hebben julie enig idee hoe dat komt

Offline Tukcedo

  • Lid
    • http://www.tukcedo.nl
ctrl + f1 tm f7
« Reactie #1 Gepost op: 2006/10/23, 16:43:46 »
Dat zou standaard moeten werken ja. Kijk eens in de proces-lijst of je "mingetty" tegen komt. Open een terminalvenster en doe:

ps -ef | grep -i getty

En je zou tenminste iets moeten zien als:
root      2321     1  0 Jun15 tty3     00:00:00 /sbin/mingetty tty3

Deze processen (die dus de ports monitoren) worden opgestart via /etc/inittab waarin processen worden gedefinieerd die door het systeem zelf continu in de gaten worden gehouden en indien nodig opgestart, bij staat er bijv:

5:2345:respawn:/sbin/mingetty tty5

Kun je de output van:

cat /etc/inittab

eens hier posten?
Tukcedo Services - Unix en Linux Consultants
http://www.tukcedo.nl

rowanb

  • Gast
ctrl + f1 tm f7
« Reactie #2 Gepost op: 2006/10/23, 16:46:43 »
hier kont het

rowanb@rowanb-server:~$ ps -ef | grep -i getty
root      4879     1  0 10:09 tty1     00:00:00 /sbin/getty 38400 tty1
root      4880     1  0 10:09 tty2     00:00:00 /sbin/getty 38400 tty2
root      4881     1  0 10:09 tty3     00:00:00 /sbin/getty 38400 tty3
root      4882     1  0 10:09 tty4     00:00:00 /sbin/getty 38400 tty4
root      4883     1  0 10:09 tty5     00:00:00 /sbin/getty 38400 tty5
root      4884     1  0 10:09 tty6     00:00:00 /sbin/getty 38400 tty6
rowanb    5945  5927  0 10:44 pts/2    00:00:00 grep -i getty
rowanb@rowanb-server:~$ cat /etc/inittab # /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
#  :::
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

rowanb@rowanb-server:~$ clear

rowanb@rowanb-server:~$ cat /etc/inittab
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
#  :::
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

rowanb@rowanb-server:~$ clear

rowanb@rowanb-server:~$ cat /etc/inittab
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
#  :::
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

rowanb@rowanb-server:~$

Offline Tukcedo

  • Lid
    • http://www.tukcedo.nl
ctrl + f1 tm f7
« Reactie #3 Gepost op: 2006/10/23, 16:53:30 »
OK, dat lijkt dus goed geconfigureerd, de procesjes draaien netjes zo te zien ...

Ehhhhh je had toch wel Ctrl-ALT-f1 gedaan he???

Nu zit ik momenteel op een Red Hat bakkie zonder Ubuntu bij de hand, dus misschien dat iemand anders even kan vergelijken met z'n Ubuntu systeempje?

Zo 1-2-3 weet ik ook niet waarom die logins dan niet werken. Is er wellicht wat met de configuratie van je grafische kaart. Zie je werkelijk helemaal niks gebeuren?

Wat je ook kunt doen: even een 2e terminal venster openen en deze open laten staan, geef daar het volgende commando (als je klaar bent met Ctrl-C stoppen):

sudo tail -f /var/log/messages

En dan proberen met Ctrl-Alt-F1 of Ctrl-Alt-F2 een login te doen. Als je klaar bent met Ctrl-Alt-F7 weer terug naar je grafische scherm en kijken wat de log zegt in dat 2e schermpje.
Tukcedo Services - Unix en Linux Consultants
http://www.tukcedo.nl

rowanb

  • Gast
ctrl + f1 tm f7
« Reactie #4 Gepost op: 2006/10/23, 17:07:04 »
ik heb ctrl+alt+f.. geprobeerd en dat werkt maar het probleem is nu dat als ik op contorl+alt+f7 klik dat ik niet meer terug kom in xfce

Offline kennywest

  • Lid
    • http://kennywest.blogspot.com
ctrl + f1 tm f7
« Reactie #5 Gepost op: 2006/10/23, 18:42:50 »
't is alt+f7 om terug te keren naar X.

rowanb

  • Gast
ctrl + f1 tm f7
« Reactie #6 Gepost op: 2006/10/23, 20:06:08 »
dat doe ik ook maar dan krijg ik een zwart scherm!!

Offline Tukcedo

  • Lid
    • http://www.tukcedo.nl
ctrl + f1 tm f7
« Reactie #7 Gepost op: 2006/10/24, 10:25:28 »
Hmmmm je zegt "op Ctrl-Alt-F7 __KLIK__"? Het is een toets-combinatie, dus ik weet niet wat je bedoelt met "klik" in dit verband. Als je in je grafische scherm bent, en je doe Ctr-Alt-F2 en dat werkt, dan MOET je simpelweg terug kunnen naar je grafische scherm met Ctrl-Alt-F7. Het enige namelijk wat er gebeurt is dat een andere virtuele terminal wordt ingeschakeld, de "vorige" (je grafische dus) blijft onveranderd op jouw input wachten.
Tukcedo Services - Unix en Linux Consultants
http://www.tukcedo.nl

rowanb

  • Gast
ctrl + f1 tm f7
« Reactie #8 Gepost op: 2006/10/24, 10:45:04 »
dat iswaar maar als ik dan op ctrl+alt+f7 druk dan gaat hij wel terug maar dan krijg ik een zwart scherm en daar blijft hij dan op hangen

Offline Tukcedo

  • Lid
    • http://www.tukcedo.nl
ctrl + f1 tm f7
« Reactie #9 Gepost op: 2006/10/24, 11:05:18 »
En de X server crasht dus ook niet. Enige dat je kunt doen is om de X server in debug mode te draaien en hopen dat er wat in de log staat waar je wat aan hebt. Ik ken alleen Ubuntu niet goed genoeg om je uit m'n hoofd te adviseren hoe je 'm in debug mode zet ... Dat wordt dus even Googlen vrees ik.
Tukcedo Services - Unix en Linux Consultants
http://www.tukcedo.nl

Offline Soul-Sing

  • Lid
ctrl + f1 tm f7
« Reactie #10 Gepost op: 2006/10/24, 11:09:15 »
herstarten X = toch ctrl /alt /backspace?

Offline Tukcedo

  • Lid
    • http://www.tukcedo.nl
ctrl + f1 tm f7
« Reactie #11 Gepost op: 2006/10/24, 11:16:28 »
Klopt, maar de server is nog actief, daarom krijg je dat zwarte scherm. Herstarten zou kunnen helpen, maar da's natuurlijk niet de echte oplossing voor het probleem vermoed ik zo.
Tukcedo Services - Unix en Linux Consultants
http://www.tukcedo.nl

rowanb

  • Gast
ctrl + f1 tm f7
« Reactie #12 Gepost op: 2006/10/24, 14:19:23 »
is er ook nog een andere manier

Offline Tukcedo

  • Lid
    • http://www.tukcedo.nl
ctrl + f1 tm f7
« Reactie #13 Gepost op: 2006/10/24, 14:22:57 »
Niet echt. Enige andere dat ik kan bedenken is om de X server zelf handmatig te starten door het systeem in niet-grafische modus te draaien. Dan krijg je namelijk ook de output. Maar er moet een logfile zijn die X standaard al bijhoudt.

Doe es:

sudo locate X | grep log
Tukcedo Services - Unix en Linux Consultants
http://www.tukcedo.nl

rowanb

  • Gast
ctrl + f1 tm f7
« Reactie #14 Gepost op: 2006/10/24, 14:25:12 »
dit is wat er  uit komt

root@rowanb-server:~# sudo locate X | grep log
/var/lib/menu-xdg/applications/menu-xdg/X-Debian-Apps-Net-kppp_-_logview.desktop/var/lib/menu-xdg/applications/menu-xdg/X-Debian-Apps-Programming-kbabel_catalog_manager.desktop
/var/lib/menu-xdg/applications/menu-xdg/X-Debian-Apps-System-kdebugdialog.desktop
/var/log/Xorg.0.log
/var/log/Xorg.0.log.old
/usr/lib/perl/5.8.7/auto/POSIX/getlogin.al
/usr/lib/perl/5.8.7/auto/POSIX/log.al
root@rowanb-server:~#