Debian 5 - Problemi u samom startu

Diskusije usko vezane uz Debian distribuciju.

Moderator/ica: Moderatori/ce

Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Debian 5 - Problemi u samom startu

Post Postao/la glaskoncILLa »

daj cat /etc/X11/xorg.conf i pejstaj sto ti izbaci ovdje.

ako ti gubmici jako fale, upisi metacity --replace kao user, ne kao root i vratiti ce se.
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
Avatar
charuga
Postovi: 860
Pridružen/a: 12 pro 2009, 23:29
Spol: m
OS: ubuntu 10.04.
Lokacija: bjelovar

Re: Debian 5 - Problemi u samom startu

Post Postao/la charuga »

Kod: Označi sve

charuga@debian:~$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 256.44  (buildmeister@builder97.nvidia.com)  Thu Jul 29 02:00:07 PDT 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

charuga@debian:~$ 
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Debian 5 - Problemi u samom startu

Post Postao/la glaskoncILLa »

ok, sad otvori /etc/X11/xorg.conf, obrisi sve sto pise u njemu i stavi ovo;

Kod: Označi sve

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/X11/misc"
   FontPath     "/usr/share/fonts/X11/cyrillic"
   FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
   FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
   FontPath     "/usr/share/fonts/X11/Type1"
   FontPath     "/usr/share/fonts/X11/100dpi"
   FontPath     "/usr/share/fonts/X11/75dpi"
   FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
   FontPath     "built-ins"
EndSection

Section "Module"
   Load  "extmod"
   Load  "record"
   Load   "glx"
   Load  "dri2"
#   Load   "dri"
   Load  "dbe"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "UseFBDev"              # [<bool>]
        #Option     "Rotate"                # [<str>]
        #Option     "VideoKey"              # <i>
        #Option     "FlatPanel"             # [<bool>]
        #Option     "FPDither"              # [<bool>]
        #Option     "CrtcNumber"            # <i>
        #Option     "FPScale"               # [<bool>]
        #Option     "FPTweak"               # <i>
        #Option     "DualHead"              # [<bool>]
   Identifier  "Card0"
   Driver   "nvidia"
   Option      "Coolbits"   "1"
   Option      "AddARGBGLXVisuals"   "true"
   Option "AllowGLXWithComposite" "true"
   Option "XAANoOffscreenPixmaps" "true"
   Option      "TripleBuffer"   "false"
   VendorName  "nVidia Corporation"
   BoardName   "G84 [GeForce 8600 GTS]"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Option "AddARGBGLXVisuals" "True"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection


Section "Extensions"
  Option      "Composite"   "enable"
#   Option      "RENDER"   "disable"
EndSection

to moras napraviti kao root i moras biti apsolutno siguran da si to ispravno napravio, dakle sve i jedno slovo mora biti kopirano.
nakon toga restartaj i to bi trebalo biti to.
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
Avatar
charuga
Postovi: 860
Pridružen/a: 12 pro 2009, 23:29
Spol: m
OS: ubuntu 10.04.
Lokacija: bjelovar

Re: Debian 5 - Problemi u samom startu

Post Postao/la charuga »

nece. sigurno sam sve copy-paste ali nece. opet kada ga restartam dobijem da se logiram kao root i onda ako hocu opet da mi dojde do ovoga kako imam sada (rade par efekata ) onda pokrenem sgfxi skriptu pa odem u /etc/X11 i tamo napravim cp xorg.conf.NVIDIA xorg.conf i kada se reboota upisem compiz --replace i to je to.imam samo neke efekte . da li da pokusavam dalje nesto , mozda sve od pocetka ili da se zadovoljim sa ovime sta imam ?
kada ukucam compiz --replace dobijem ovo

Kod: Označi sve

root@debian:/home/charuga# compiz --replace
compiz (core) - Warn: SmcOpenConnection failed: None of the authentication protocols specified are supported
Backend     : ini
Integration : true
Profile     : default
Adding plugins
Initializing core options...done
Initializing move options...done
Initializing resize options...done
Initializing place options...done
Initializing decoration options...done
Initializing water options...done
Initializing wall options...done
i ne prestaje tj.ako hocu ugasiti terminal ne da mi kaze da se jos vrsi neki postupak , tocnije "There is still a process running in this terminal. Closing the terminal will kill it" ?
Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Debian 5 - Problemi u samom startu

Post Postao/la drade »

charuga je napisao/la:nece. sigurno sam sve copy-paste ali nece. opet kada ga restartam dobijem da se logiram kao root i onda ako hocu opet da mi dojde do ovoga kako imam sada (rade par efekata ) onda pokrenem sgfxi skriptu pa odem u /etc/X11 i tamo napravim cp xorg.conf.NVIDIA xorg.conf i kada se reboota upisem compiz --replace i to je to.imam samo neke efekte . da li da pokusavam dalje nesto , mozda sve od pocetka ili da se zadovoljim sa ovime sta imam ?
kada ukucam compiz --replace dobijem ovo

Kod: Označi sve

root@debian:/home/charuga# compiz --replace
compiz (core) - Warn: SmcOpenConnection failed: None of the authentication protocols specified are supported
Backend     : ini
Integration : true
Profile     : default
Adding plugins
Initializing core options...done
Initializing move options...done
Initializing resize options...done
Initializing place options...done
Initializing decoration options...done
Initializing water options...done
Initializing wall options...done
i ne prestaje tj.ako hocu ugasiti terminal ne da mi kaze da se jos vrsi neki postupak , tocnije "There is still a process running in this terminal. Closing the terminal will kill it" ?
Pozdrav,

Probaj pokrenuti
compiz --replace
kao obican korisnik, a ne kao root korisnik, postaj eventualan output uz svoj odgovor.

D.
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
charuga
Postovi: 860
Pridružen/a: 12 pro 2009, 23:29
Spol: m
OS: ubuntu 10.04.
Lokacija: bjelovar

Re: Debian 5 - Problemi u samom startu

Post Postao/la charuga »

Kod: Označi sve

charuga@debian:~$ compiz --replace
Backend     : ini
Integration : true
Profile     : default
Adding plugins
Initializing core options...done
Initializing move options...done
Initializing resize options...done
Initializing place options...done
Initializing decoration options...done
Initializing water options...done
Initializing wobbly options...done
compiz (cube) - Warn: Failed to load slide: /usr/share/images/desktop-base/debian-blueish-wallpaper-640x480.png
Initializing cube options...done
Initializing rotate options...done
compiz (core) - Error: Plugin 'text' not loaded.

compiz (shift) - Warn: No compatible text plugin loaded.
Initializing shift options...done
Initializing scale options...done
Initializing expo options...done
:D
radi , dobijem svejedno "There is still a process running in this terminal. Closing the terminal will kill it" ?
ali i kada ga ipak ugasim rade efekti.
hvala drade ;)

hvala glas :thumbs
Avatar
charuga
Postovi: 860
Pridružen/a: 12 pro 2009, 23:29
Spol: m
OS: ubuntu 10.04.
Lokacija: bjelovar

Re: Debian 5 - Problemi u samom startu

Post Postao/la charuga »

rade efekti dok ne restartam komp :cry:
jel ima nesto sta bi napravilo da stalno rade?
rade svaki putr kada upisem "compiz --replace" kao obican korisnik ali da li ima nesto sto bi zamjenilo ponavljanje postupka prilikom svakog restarta :?
Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Debian 5 - Problemi u samom startu

Post Postao/la drade »

Pozdrav,

Koji WM koristis (kde, gnome ... ) ?

D.
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
charuga
Postovi: 860
Pridružen/a: 12 pro 2009, 23:29
Spol: m
OS: ubuntu 10.04.
Lokacija: bjelovar

Re: Debian 5 - Problemi u samom startu

Post Postao/la charuga »

gnome.
Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Debian 5 - Problemi u samom startu

Post Postao/la drade »

Mozes probati sljedece:

Prvo izdaj komandu (postaj output ovdje prije bilo kakve modifikacije)

Kod: Označi sve

# test -f /usr/share/applications/compiz.desktop && cat /usr/share/applications/compiz.desktop || echo "Ne postoji"
Ukoliko javi "Ne postoji", onda kreni s korakom dolje, a ukoliko postoji, postaj sadrzaj koji ce gore navedena komanda izlistati.

Kao root korisnik izdaj komande (copy-paste):

Kod: Označi sve

echo -e "[Desktop Entry]" >> /usr/share/applications/compiz.desktop
echo -e "Type=Application" >> /usr/share/applications/compiz.desktop
echo -e "Encoding=UTF-8" >> /usr/share/applications/compiz.desktop
echo -e "Name=Compiz" >> /usr/share/applications/compiz.desktop
echo -e "Exec=/usr/bin/compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering"  >> /usr/share/applications/compiz.desktop
echo -e "NoDisplay=true" >> /usr/share/applications/compiz.desktop
echo -e "X-GNOME-WMSettingsModule=compiz" >> /usr/share/applications/compiz.desktop
echo -e "X-GNOME-Autostart-Phase=WindowManager" >> /usr/share/applications/compiz.desktop
echo -e "X-GNOME-Provides=windowmanager" >> /usr/share/applications/compiz.desktop
echo -e "X-GNOME-WMName=Compiz" >> /usr/share/applications/compiz.desktop
echo -e "X-GnomeWMSettingsLibrary=compiz" >> /usr/share/applications/compiz.desktop
Nakon gore navedenih komandi izdaj sljedecu komandu (kao obican korisnik):

Kod: Označi sve

gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz
To bi trebalo biti to, ukoliko ne proradi, probati cemo to rijesiti na drugaciji nacin.

D.
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Odgovori