Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: blacks 11 Prosince 2008, 14:56:08
-
prosim o radu, jakym zpusobem vypnout detekci monitoru
ktera nepusti automaticke prihlaseni ubuntu, tim padem se do nej vzdalene nedostanu
kdyz je nepripojeny monitor ohlasi is running in low graphics mode
pokud je pripojeny vse nabehne vc. dobreho rozliseni v poradku
ale ja nechci mit monitor stale v tomto PC
-
vypni sluzbu odpovednou za X relaci .. afaik se jedna o gdm
-
to je asi prave to co nedokazu
-
to je asi prave to co nedokazu
.. tak nepouzivej Linux, pokud nejsi schopen/ochoten pouzit google k vyhledani tech nejelementarnejsich veci ..
4others << aby jste si nemysleli ze jsem tak moc zlej, tak hoch mi psal PM, odkazal jsem ho primo na navod a dokonce mu napsal i jak se to dela, nicmene nepomohlo, proto zalozil tento thread ..
-
hledam toto tema pomerne dlouho,
a timto pristupem zrejem od linuxu odrazujete vsechny,
dekuji kdyz v tomto vlakne nebudete radeji timto stylem reagovat
-
Tak nastav jako výchozí sezení konzoli a startuj pomocí
startxto se dá i naklikat... ;)
-
ntz je starší zahradník...von někdy poradí dobře ;D
-
asi jsi myslel tu posledni vetu
ps. zaloz si o tom thread .. kvuli tomu je tohle forum
-
To není proč, NTZ tady každej zná, návody von má super. Zkus to přihlášení do konzole a napiš jestli to funguje.
-
ne !!! co je tak tezkeho pochopit na tom, ze jsem ti napsal, ze muzes pouzit ::
chkconfig -l // vypis sluzeb .. vice `chkconfig --help`
insserv -r <jmeno_sluzby> // odstraneni sluzby ze startupu .. vice `insserv --help`
nebo rucne ::
find /etc/init.d | grep gdm // a odstranit rucne linky z runlevelu
nebo naklikat ::
nejakej runlevel editor .. nekde v ubuntu je
-
Tak zase tohle jednoduchý a účinný je.
Pro blacks: Zkusils to vůbec?!
-
babram se v tom ale netusim jaka sluzba se ma vypnout
gdm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
-
babram se v tom ale netusim jaka sluzba se ma vypnout
gdm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
bezva ;) .. to znamena, ze sluzba je zapla v runlevelech 2-5
takze kdyz das ::
insserv -r gdm // tak ji to vyhodi a vypis z ::
chkconfig -l | grep gdm // uz by ji nemel ukazovat zapnutou
-
desktop:~$ insserv -r gdm
insserv: warning: script 'S01linux-restricted-modules-common' missing LSB tags and overrides
insserv: warning: script 'K01gdm' missing LSB tags and overrides
insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: script 'S10powernowd.early' missing LSB tags and overrides
insserv: warning: script 'S05vbesave' missing LSB tags and overrides
insserv: warning: script 'S10xserver-xorg-input-wacom' missing LSB tags and overrides
insserv: warning: script 'S28NetworkManager' missing LSB tags and overrides
insserv: warning: script 'S08loopback' missing LSB tags and overrides
insserv: warning: script 'S10udev' missing LSB tags and overrides
insserv: warning: script 'S37udev-finish' missing LSB tags and overrides
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: script 'NetworkManager' missing LSB tags and overrides
insserv: warning: script 'udev-finish' missing LSB tags and overrides
insserv: warning: script 'gdm' missing LSB tags and overrides
insserv: warning: script 'powernowd.early' missing LSB tags and overrides
insserv: warning: script 'loopback' missing LSB tags and overrides
insserv: warning: script 'vbesave' missing LSB tags and overrides
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: script 'linux-restricted-modules-common' missing LSB tags and overrides
insserv: warning: script 'xserver-xorg-input-wacom' missing LSB tags and overrides
insserv: There is a loop between service mountdevsubfs and udev
insserv: loop involving service udev at depth 8
insserv: loop involving service sendsigs at depth 7
insserv: loop involving service mountdevsubfs at depth 15
insserv: exiting without changing boot order!
csko@csko-desktop:~$ chkconfig -l | grep gdm
gdm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
-
hmm .. hezky .. jeden z duvodu proc ja osobne nepouzivam ubuntu (ps. netusil jsem, ze to padne) .. to je hnus velebnosti, jdu blejt ;)
nicmene .. insserv padl na prasacke ubunti konfiguraci .. zkus to udelat pomoci chconfig (ale ten imho vola insserv)
# chkconfig --help
usage:
chkconfig -A|--allservices (together with -l: show all services)
chkconfig -t|--terse [names] (shows the links)
chkconfig -e|--edit [names] (configure services)
chkconfig -s|--set [name state]... (configure services)
chkconfig -l|--list [--deps] [names] (shows the links)
chkconfig -c|--check name [state] (check state)
chkconfig -a|--add [names] (runs insserv)
chkconfig -d|--del [names] (runs insserv -r)
chkconfig -h|--help (print usage)
chkconfig -f|--force ... (call insserv with -f)
chkconfig [name] same as chkconfig -t
chkconfig name state... same as chkconfig -s name state
# chkconfig -l | grep ^vmware
vmware 0:off 1:off 2:off 3:off 4:off 5:off 6:off
# chkconfig -a vmware
vmware 0:off 1:off 2:on 3:on 4:off 5:on 6:off
# chkconfig -d vmware
vmware 0:off 1:off 2:off 3:off 4:off 5:off 6:off
a nebo jedine rucne smazanim linku z prislusnych adresaru ..
# find /etc/init.d/ | grep sshd
/etc/init.d/sshd
/etc/init.d/rc3.d/K12sshd
/etc/init.d/rc3.d/S10sshd
/etc/init.d/rc5.d/K12sshd
/etc/init.d/rc5.d/S10sshd
pokud bych chtel vypnout start sshd, tak smazu link ze vsech /etc/init.d/rc* .. pozor, ne ze samotneho /etc/init.d ..
vice `man init`
-
vyhaze to stejne chyby
-
vyhaze to stejne chyby
sak to pisu ::
.. zkus to udelat pomoci chconfig (ale ten imho vola insserv)
procvic cteni prosim ..
.. a nebo jedine rucne smazanim linku z prislusnych adresaru ..
# find /etc/init.d/ | grep sshd
/etc/init.d/sshd
/etc/init.d/rc3.d/K12sshd
/etc/init.d/rc3.d/S10sshd
/etc/init.d/rc5.d/K12sshd
/etc/init.d/rc5.d/S10sshd
pokud bych chtel vypnout start sshd, tak smazu link ze vsech /etc/init.d/rc* .. pozor, ne ze samotneho /etc/init.d ..
vice `man init`
ps. ja se tak rad cituju ;)
-
!!! ne. uz to vidim .. musis ty prikazy provadet jako root.. .. !!!
sudo -i
chkconfig -l | grep ^gdm // kontrola pred
insserv -r gdm
chkconfig -l | grep ^gdm // kontrola po
-
root nepomohl,
tak ted jedine promaznout ty adresare
-
a
# find /etc/init.d/ | grep sshd
/etc/init.d/sshd
/etc/init.d/rc3.d/K12sshd
/etc/init.d/rc3.d/S10sshd
/etc/init.d/rc5.d/K12sshd
/etc/init.d/rc5.d/S10sshd
tezko promaznu kdyz tam nic takove neni
-
a
# find /etc/init.d/ | grep sshd
/etc/init.d/sshd
/etc/init.d/rc3.d/K12sshd
/etc/init.d/rc3.d/S10sshd
/etc/init.d/rc5.d/K12sshd
/etc/init.d/rc5.d/S10sshd
tezko promaznu kdyz tam nic takove neni
.. uz na tebe nemam nervy .. to byl jen priklad sshd .. :/
rozmysli si, jestli ma pro tebe linux cenu .. http://forum.ubuntu.cz/index.php/topic,27820.0.html
procti si prislusnou dokumentaci .. je toho vsude mraky a snad se ti podari vyresit elementarni problem, jak vyhodit sluzbu ze startupu ..
-
man invoke-rc.d
man update-rc.d
-
vyreseno
http://soerennielsen.dk/mod/vgadummy/
nemusim nikde nic menit kdyz nevim co by to mohlo zpusobit, pokud jsem uplny zacatecnich a chci jen uzivat ubuntu
a je to otazka 2 minut
-
vyreseno
http://soerennielsen.dk/mod/vgadummy/
nemusim nikde nic menit kdyz nevim co by to mohlo zpusobit, pokud jsem uplny zacatecnich a chci jen uzivat ubuntu
a je to otazka 2 minut
.. opravdu krasne, napadite a originalni reseni :/