linux mi spusta bez grafiky

Sekcia: Konfigurácia 08.11.2006 | 21:38
Avatar Dare_devil Debian, OpenSuse  Používateľ
Dobry den. neviem ci to co poviem je dobre ale malo by to byt init 3 alebo nieco take, to je jedno teraz. Pouzivam SuSe 10.1 a ked ju spustim, tak mi skoro stale nabehne cierna obrazovka , pyta uzivatela, heslo a potom napise Have a lot of fun .. a musim dat reboot ale zvycajne mi to nevadilo, lebo som dal reboot a hned ma to restartovalo a potom sa mi zapol linux normalne, lenze dneska som to musel spravit 4 krat, aby mi spustilo normalne linux s grafikou ... Neviete co sa s tym deje alebo ako to spravit tak aby sa to uz nerobilo? Dakujem
There is no flag large enough to cover the shame of killing innocent people
    • Re: linux mi spusta bez grafiky 08.11.2006 | 15:09
      juraj   Návštevník
      /etc/inittab a runlevel zmen z 3 na 4 teda pokial ti bude vyhovovat, ze nebudes mat text login :)
      • Re: Re: linux mi spusta bez grafiky 08.11.2006 | 16:54
        Avatar uid0 Debian  Používateľ
        na suse to bude 5
        Debian. apt-get into it…
        • Re: Re: Re: linux mi spusta bez grafiky 08.11.2006 | 21:38
          juraj   Návštevník
          jasne, usujem slack, takze sry :)
    • Re: linux mi spusta bez grafiky 08.11.2006 | 17:14
      Avatar marián Fedora,Vector,Slack  Používateľ
      jj, pozri do /etc/inittab a runlevel zmen z 3 na 5, editovat treba ako root .. (4-ku ma myslim iba slack)
      • Re: Re: linux mi spusta bez grafiky 08.11.2006 | 17:36
        Avatar uid0 Debian  Používateľ
        "standardizovane" chovanie maju len runlevely S, 0,1 a 6. ja mam graficky login tiez na 4, textovy na 2. 2-5 su multiuser runlevely a nastavene mozu byt rozne (hoci redhat sa zda presadil nepisane: 2 - multuser bez networkingu, 3 - multiuser, 5 - multiuser s grafickym loginom)
        Debian. apt-get into it…
    • Re: linux mi spusta bez grafiky 08.11.2006 | 17:59
      Avatar Dare_devil Debian, OpenSuse  Používateľ
      Prepacte, zatial som linuxova lama ... tu je moj inittab ... neviem ci mam runlevel 5 odkomentovat alebo co .... # # /etc/inittab # # Copyright (c) 1996-2002 SuSE Linux AG, Nuernberg, Germany. All rights reserved. # # Author: Florian La Roche, 1996 # Please send feedback to http://www.suse.de/feedback # # This is the main configuration file of /sbin/init, which # is executed by the kernel on startup. It describes what # scripts are used for the different run-levels. # # All scripts for runlevel changes are in /etc/init.d/. # # This file may be modified by SuSEconfig unless CHECK_INITTAB # in /etc/sysconfig/suseconfig is set to "no" # # The default runlevel is defined here id:5:initdefault: # First script to be executed, if not booting in emergency (-b) mode si::bootwait:/etc/init.d/boot # /etc/init.d/rc takes care of runlevel handling # # runlevel 0 is System halt (Do not use this for initdefault!) # runlevel 1 is Single user mode # runlevel 2 is Local multiuser without remote network (e.g. NFS) # runlevel 3 is Full multiuser with network # runlevel 4 is Not used # runlevel 5 is Full multiuser with network and xdm # runlevel 6 is System reboot (Do not use this for initdefault!) # 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 # what to do in single-user mode ls:S:wait:/etc/init.d/rc S ~~:S:respawn:/sbin/sulogin # what to do when CTRL-ALT-DEL is pressed ca::ctrlaltdel:/sbin/shutdown -r -t 4 now # special keyboard request (Alt-UpArrow) # look into the kbd-0.90 docs for this kb::kbrequest:/bin/echo "Keyboard Request -- edit /etc/inittab to let this work." # what to do when power fails/returns pf::powerwait:/etc/init.d/powerfail start pn::powerfailnow:/etc/init.d/powerfail now #pn::powerfail:/etc/init.d/powerfail now po::powerokwait:/etc/init.d/powerfail stop # for ARGO UPS sh:12345:powerfail:/sbin/shutdown -h now THE POWER IS FAILING # getty-programs for the normal runlevels # ::: # The "id" field MUST be the same as the last # characters of the device (after "tty"). 1:2345:respawn:/sbin/mingetty --noclear 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 # #S0:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt102 #cons:1235:respawn:/sbin/smart_agetty -L 38400 console # # Note: Do not use tty7 in runlevel 3, this virtual line # is occupied by the programm xdm. # # This is for the package xdmsc, after installing and # and configuration you should remove the comment character # from the following line: #7:3:respawn:+/etc/init.d/rx tty7 # modem getty. # mo:235:respawn:/usr/sbin/mgetty -s 38400 modem # fax getty (hylafax) # mo:35:respawn:/usr/lib/fax/faxgetty /dev/modem # vbox (voice box) getty # I6:35:respawn:/usr/sbin/vboxgetty -d /dev/ttyI6 # I7:35:respawn:/usr/sbin/vboxgetty -d /dev/ttyI7 # end of /etc/inittab Dakujem
      There is no flag large enough to cover the shame of killing innocent people
      • Re: Re: linux mi spusta bez grafiky 08.11.2006 | 18:01
        Avatar Dare_devil Debian, OpenSuse  Používateľ
        uz som to nasiel zevraj id:5:initdefault: ale je tam 5tka ... ja som v tom nic nemenil :/
        There is no flag large enough to cover the shame of killing innocent people
        • Re: Re: Re: linux mi spusta bez grafiky 08.11.2006 | 19:37
          <<<>>>   Návštevník
          caw wiktor to som ja marfo co by si mal urobit ako ta hodi prvy krat do tty3 sa zahlas ako root potom napis xdm restart ;) hodi ta to do grafiky ako prihlasovacieho okna KDM ;) ale po restarte by uz to malo ist normal ;) p.s. prikaz startx tiez zapne xka ale xdm restart v suse riesi problemi so spustanim X (no neviem ako ale sam som mal tento problem a pomohlo mi to)