Debian 5 - Problemi u samom startu

Diskusije usko vezane uz Debian distribuciju.

Moderator/ica: Moderatori/ce

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 »

ovo donijem kada pokusam smxi.zip

Kod: Označi sve

root@debian:/usr/local/bin# cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi
--2010-08-04 05:34:05--  http://smxi.org/smxi.zip
Tražim smxi.org... 209.197.72.47
Spajam se na smxi.org|209.197.72.47|:80... spojen.
HTTP zahtjev poslan, iščekujem odgovor... 302 Found
Položaj: http://smxi.org/sm/smxi.zip [pratim]
--2010-08-04 05:34:05--  http://smxi.org/sm/smxi.zip
Spajam se na smxi.org|209.197.72.47|:80... spojen.
HTTP zahtjev poslan, iščekujem odgovor... 416 Requested Range Not Satisfiable

    Spis je već u potpunosti dohvaćen; nema se što napraviti.

Archive:  smxi.zip
replace sgfxi? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
  inflating: sgfxi                   
replace sm-lib-apt-tools? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
  inflating: sm-lib-apt-tools        
file #3:  bad zipfile offset (local header sig):  82906
file #4:  bad zipfile offset (local header sig):  92506
file #5:  bad zipfile offset (local header sig):  129975
root@debian:/usr/local/bin# 
a ovo kada pokusam pojedinacno

Kod: Označi sve

root@debian:/usr/local/bin# cd /usr/local/bin && wget -Nc smxi.org/smxi && chmod +x smxi && smxi
--2010-08-04 05:36:21--  http://smxi.org/smxi
Tražim smxi.org... 209.197.72.47
Spajam se na smxi.org|209.197.72.47|:80... spojen.
HTTP zahtjev poslan, iščekujem odgovor... 302 Found
Položaj: http://smxi.org/sm/smxi [pratim]
--2010-08-04 05:36:21--  http://smxi.org/sm/smxi
Spajam se na smxi.org|209.197.72.47|:80... spojen.
HTTP zahtjev poslan, iščekujem odgovor... 416 Requested Range Not Satisfiable

    Spis je već u potpunosti dohvaćen; nema se što napraviti.


------------------------------------------------------------------
Your X/Desktop (kde/gnome/xfce etc..) must be shutdown to run this script. 
------------------------------------------------------------------
Since you are currently in X, you will need to run smxi again after 
X has shutdown, and you have logged back in. You will lose any work
you have not saved on your running desktop.
------------------------------------------------------------------
1 - shutdown-your-desktop Kill X now. Remember, you will need to log back in, 
    and start smxi again.  
2 - quit-script Quit smxi, don't shut down the current X session or desktop.  
------------------------------------------------------------------ 
Would you like to shutdown your X/Desktop now? 
------------------------------------------------------------------ 
1) shutdown-your-desktop
2) quit-script
#? 
i kada odaberem 1 dobijem crni ekran sa blinkajucom crticom .

kada pokrenem sgfxi scriptu sve mi odradi do kraja i napise da je driver za nvidiu izgleda uspjesno instaliran :?
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 »

kada preko terminala pokrenem compiz dobijem ovo

Kod: Označi sve

charuga@debian:~$ ccsm
Info: No sexy-python package found, don't worry it's optional.
Backend     : ini
Integration : true
Profile     : default
Adding plugins
Initializing core options...done
Loading icons...
Initializing scale options...done
Initializing wobbly options...done
Initializing cube options...done
Initializing water options...done
Initializing rotate options...done
Initializing expo options...done
charuga@debian:~$ 
da li mi treba mozda taj sexy-python?
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Debian 5 - Problemi u samom startu

Post Postao/la glaskoncILLa »

ok, cini se da si instalirao drivere.
cini se da si instalirao i compiz, in general.

ali daj mi reci sto si sve napravio iz ovoga;
http://wiki.debian.org/Compiz
...."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

apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main compiz-gnome compiz-gtk
ovo sam instalirao , i to je sve.

mozda ovo pomogne da mi pomognes


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      "TripleBuffer"	"false"
	VendorName  "nVidia Corporation"
	BoardName   "G84 [GeForce 8600 GTS]"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	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"	"disable"
#	Option      "RENDER"	"disable"
EndSection
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Debian 5 - Problemi u samom startu

Post Postao/la glaskoncILLa »

otidji u direktroij /etc/X11, napravi

Kod: Označi sve

mv xorg.conf xorg.conf.NVIDIA
pa napravi novi xorg.conf;

Kod: Označi sve

gedit xorg.conf
i pejstaj

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
ovo unutra.
spremi, restartaj i kad se ponovo zbootas, napisi

Kod: Označi sve

compiz --replace
...."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 »

glaskoncILLa je napisao/la:otidji u direktroij /etc/X11, napravi

Kod: Označi sve

mv xorg.conf xorg.conf.NVIDIA
napravim ovako

Kod: Označi sve

 cd /etc/X11 
i kada sam u njemu napravim ovo

Kod: Označi sve

mv xorg.conf xorg.conf.NVIDIA
i tada se nista ne desi :?

napravim sve ostalo sta si mi rekao i kada se restarta ne dize mi desktop vec mi nudi da se logiram kao root , ono crni ekran ne , i kada se logiram i sa CTRL+ALT+F7 pokusam pokrenuti ( ili sa startx) desktop nece . opet crn ekran i blinkajuca crtica.
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Debian 5 - Problemi u samom startu

Post Postao/la glaskoncILLa »

kada napravis mv, nista se ni ne treba desiti, odnosno to nema nikakav output, samo mice originalni file xorg.conf u file xorg.conf.NVIDIA koji nam sluzi kao backup.

sto ti tice bootanja u konzolu, vjerovatno si nesto zeznuo kod kreiranja/kopiranja filea.

dakle kada dodjes do konzole, logiraj se kao root, otidji u /etc/X11 i napravi;

Kod: Označi sve

cp xorg.conf.NVIDIA xorg.conf
nakon toga pokusaj startati x-e.
ako se uspjesno startaju, ponovi proceduru koju sam napisao u proslom postu, ali budi siguran da si kopirao cijeli tekst koji sam stavio i da si spremio file nakon toga.
kada nakon izmjena napravis cat /etc/X11/xorg.conf, mora ti ispisati tekst identican onom koji sam stavio u prosli post.
nakon toga opet rebootaj i onda compiz --replace.
...."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 »

radi :)
ne sve ali radi. ne rade svi efekti samo neki ,dobijem ovo

Kod: Označi sve

root@debian:/home/charuga# gedit xorg.conf

(gedit:2371): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

error: line 16648: bad flagvector
error: line 204400: bad flagvector
root@debian:/home/charuga# 
i ne znam da li su to neke greske ili ne .

ponovio sam opet sve i grafika je uzasno losa (640x400)

Kod: Označi sve

root@debian:/home/charuga# compiz --replace
compiz (core) - Warn: SmcOpenConnection failed: None of the authentication protocols specified are supported
Xlib:  extension "GLX" missing on display ":0.0".
compiz (core) - Fatal: Root visual is not a GL visual
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0

Launching fallback window manager
cini mi se da sam napravio sve kako si mi rekao-napisao :?

edit:
rjesio sam losu grafiku sa

Kod: Označi sve

nvidia-config
i restartom racunala ali i dalje nemam mogucnost koristenja efekata.
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Debian 5 - Problemi u samom startu

Post Postao/la glaskoncILLa »

to je zato sto se metacity vrati kod reboota.

upisi ovo u terminal kao user, ne kao root;

Kod: Označi sve

echo "export WINDOW_MANAGER=/usr/bin/compiz" >> ~/.gnomerc
i restartaj.
...."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 »

jesam ,
sad sta kod otvorim ode mi nekud gore desno i ne mogu ugasiti niti minimizirati prozor , u stvari niti nemam x u desnom kutu , nestao je :shock:

http://i33.tinypic.com/295wtog.png
Odgovori