View previous topic :: View next topic |
Author |
Message |
Hyp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Feb 2004 Posts: 192
|
Posted: Sun Feb 15, 2004 3:08 pm Post subject: Allgemeine Anfänger-Frage(n) zu Linux/Gentoo |
|
|
Hallo,
ich habe mich nach Langem Hin- und Her nun doch entschlossen Gentoo auf meinem Pc zu installieren. Habe das mit der Stage3-Installation auch nach ein paar Versuchen hinbekommen (lacht nicht ! bin halt ein totaler newb).
Jetzt bootet mein Pc Gentoo und startet die Konsole.
Ich hätte aber gerne eine graphische Oberfläche.
Meine Frage: Was ist X/X11/Xfree ? Soweit ich mitbekommen habe sind Gnome und KDE wohl die gebräuchlichsten Desktop Manager. Hängen diese mit diesem X zusammen ?
Was ist der nächste Schritt den ich jetzt tun sollte ? (Also was speziell sollte ich noch konfigurieren/einrichten?)
Vielen Dank für eure Antworten.
Gruß
Hyp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boris64 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/954263383428b2f96f3fa4.png)
Joined: 04 Oct 2003 Posts: 1770 Location: Vechelde/Peine
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
at6 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/3204580141d3bdfc21f32.jpg)
Joined: 28 Nov 2002 Posts: 78 Location: /dev/null
|
Posted: Sun Feb 15, 2004 3:25 pm Post subject: |
|
|
hi,
also x ist die grundvorraussetzung für desktop environements ala kde oder gnome. den x server solltest du auf alle fälle draufpacken. ob du dann kde oder gnome nimmst, das ist geschmackssache. die einen mögen kde lieber, andere sind gnome fans, das kann man so pauschal garnicht sagen.
die nächsten schritte, die du durchführen solltest, sind folgende:
1.
Code: | emerge sync && emerge xfree |
bei diesem schritt wird dein portage tree auf den aktuellsten stand gebracht und der aktuelle x server kompiliert. falls du dualhead hast solltest du bei den use flags noch "xinerama" reinschreiben.
anmerkung: die xfree installation dauert etwas länger
2.
passwort eingeben und als root den x server konfigurieren. also graka einstellen, monitor und auflösung einrichten...usw.
zum testen kannst du
eingeben. stimmt die auflösung und die wiederholfreq. dann weiter zu schritt 3!
3.
oder...
dieser vorgang dauert ebenfalls sehr lange...da gehen schonmal 3 tafeln schokolade zwischenzeitlich drauf.
4.
# DISPLAYMANAGER="xdm"
durch
DISPLAYMANAGER="kdm" # falls du kde willst
oder...
DISPLAYMANAGER="gdm" # falls du gnome willst
ersetzen.
und dann noch...
Code: | rc-update add xdm default |
sor...nachdem alles fertig ist, gib als root
ein.
theoretisch müsste nun alles einwandfrei funktionieren.
aber das wäre zu schön...und wir hätten windows zustände. also stell dich auf troubleshooting ein.
viel glück!
gruss marc[/code] _________________ debian: stable but lame! suse: unstable and lame! gentoo: stable and only 4 geeks!
Gadget tests! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Speziale n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/TV Stars/daniel1.jpg)
Joined: 08 Nov 2003 Posts: 23 Location: Berlin
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plasmagunman l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1155684593f2e1de72b31c.png)
Joined: 07 Jun 2002 Posts: 604 Location: berlin
|
Posted: Sun Feb 15, 2004 3:59 pm Post subject: |
|
|
at6 wrote: | sor...nachdem alles fertig ist, gib als root
ein. |
cooler ist an dieser stelle Code: | /etc/init.d/xdm start |
siehe dazu auch http://www.gentoo.org/doc/en/rc-scripts.xml, aber erst wenn alles andere läuft, das ist jetzt noch nicht so wichtig. _________________ please, feel free to correct my english. - por favor, corrige mi español. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hyp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Feb 2004 Posts: 192
|
Posted: Sun Feb 15, 2004 6:51 pm Post subject: |
|
|
Vielen Dank für eure Beiträge.
Ich versuch mal ob ich das alles hinbekomme.
Viele Grüße
Hyp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hyp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Feb 2004 Posts: 192
|
Posted: Sun Feb 15, 2004 6:58 pm Post subject: |
|
|
at6 wrote: | 2.
passwort eingeben und als root den x server konfigurieren. also graka einstellen, monitor und auflösung einrichten...usw.
zum testen kannst du
eingeben. stimmt die auflösung und die wiederholfreq. dann weiter zu schritt 3!
|
hm... schon dieser Schritt tut nicht.
Ich bekomme folgende Fehlermeldung:
Quote: |
[...]
NV: could not open control device /dev/nvidiactl (No such file or directory)
(EE) NVIDIA(0): Failed to initialize the NVIDIA Kernel module!
(EE) NVIDIA(0): ***Aborting***
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
[...]
Cannot connect to X server |
Auf meiner Grafikkarte ist ein Geforce4 Chip.
Ich habe während der Installation das Modul (ist das eins?) nvidia-kernel und nvidia-glx geladen (mit emerge), aber noch keine Einstellungen daran vorgenommen. Das muss ich sicher, oder ?
Bin dankbar für jede Hilfe.
Gruß
Hyp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mac Fly Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 30 Nov 2003 Posts: 330 Location: nähe Stuttgart
|
Posted: Sun Feb 15, 2004 7:46 pm Post subject: |
|
|
Hast du in der XF86Config den Treiber "nv" durch "nvidia" ersetzt? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boris64 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/954263383428b2f96f3fa4.png)
Joined: 04 Oct 2003 Posts: 1770 Location: Vechelde/Peine
|
Posted: Sun Feb 15, 2004 7:59 pm Post subject: |
|
|
Quote: | Code: | [...]
NV: could not open control device /dev/nvidiactl (No such file or directory)
(EE) NVIDIA(0): Failed to initialize the NVIDIA Kernel module!
(EE) NVIDIA(0): ***Aborting***
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
[...]
Cannot connect to X server |
| du solltest das nvidia-modul vorher auch laden.
und bitte verzeih mir diesen anflug einer kritik. hast du die anleitung gelesen? _________________ boris64.net 200x / visit my desktop / try these tiny kernel patches ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hyp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Feb 2004 Posts: 192
|
Posted: Sun Feb 15, 2004 8:13 pm Post subject: |
|
|
Nein ich habe nv nicht durch nvidia ersetzt.
@ Boris: Ich habe kein Problem mit Kritik. Nur darfst du es mir auch nicht immer so übel nehmen, wenn ich simple Sachen einfach nachfragen muss. Ich habe nicht so viel Ahnung von Gentoo /Linux.
Ich habe diese Anleitung befolgt. Und dabei habe ich halt auch nvidia-kernel installiert. Da steht, dass ich jenes Modul laden muss, wenn ich kein Hotplug verwende. Ich war aber der Meinung, dass ich hotplug verwende. Wenn ich doch emerge -k hotplug mache, dann "installiert" das sich doch (voll-)automatisch, oder?
Viele Grüße
Hyp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
/dev/blackhawk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_r2-d2.gif)
Joined: 12 Feb 2004 Posts: 380 Location: Germany
|
Posted: Sun Feb 15, 2004 8:22 pm Post subject: |
|
|
Es könnte sein, dass Du hotplug noch zum 'default' Runlevel hinzufügen musst.
schau mal mit
Code: | # rc-update show default |
ob da etwas steht wie
wenn nicht, dann füge hotplug mittels
Code: | # rc-update add hotplug default |
zum 'default' Runlevel hinzu
MFG
/dev/blackhawk _________________ My Work-Station:
AMD AthlonXP 1700+ @ 2450 Mhz
Epox - 8RDA3i
ATI Radeon 9800 XT @ 460 Mhz
Gentoo v.1.4; Kernel 2.6.10 Stage 1 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hyp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Feb 2004 Posts: 192
|
Posted: Sun Feb 15, 2004 8:45 pm Post subject: |
|
|
/dev/blackhawk wrote: | Code: | # rc-update show default |
|
da bringt er mir eine Fehlermeldung:
Er sagt ich soll 'rc-update add script runlevel2' oder #rc-update del script runlevel1 [...]' benutzen. (Ich nehme an, dass es halt ein Syntaxfehler ist. Wie kann ich denn herausfinden was im Runlevel 1 alles geladen wird?)
Entschuldige bitte, wenn ich da nur einen Fehler gemacht habe, den ein "richtiger" Linuxuser in Windeseile beheben kann, aber ich kann es nicht.
Gruß
Hyp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
/dev/blackhawk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_r2-d2.gif)
Joined: 12 Feb 2004 Posts: 380 Location: Germany
|
Posted: Sun Feb 15, 2004 9:02 pm Post subject: |
|
|
Quote: | Entschuldige bitte, wenn ich da nur einen Fehler gemacht habe, den ein "richtiger" Linuxuser in Windeseile beheben kann, aber ich kann es nicht. |
Kein Problem. Ging mir genauso. Jeder fängt halt mal
klein an.
propier es doch mal nur mit
MFG
/dev/blackhawk _________________ My Work-Station:
AMD AthlonXP 1700+ @ 2450 Mhz
Epox - 8RDA3i
ATI Radeon 9800 XT @ 460 Mhz
Gentoo v.1.4; Kernel 2.6.10 Stage 1 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hyp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Feb 2004 Posts: 192
|
Posted: Sun Feb 15, 2004 9:11 pm Post subject: |
|
|
Da kommt das gleiche...
Gruß
Hyp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
/dev/blackhawk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_r2-d2.gif)
Joined: 12 Feb 2004 Posts: 380 Location: Germany
|
Posted: Sun Feb 15, 2004 9:19 pm Post subject: |
|
|
Dann mach gleich ein
Code: | # rc-update add hotplug default |
Falls 'hotplug' schon in irgendeinem runlevel
drin ist, kommt diese Fehlermeldung
Code: | * hotplug already installed in runlevel default; skipping |
MFG
/dev/blackhawk _________________ My Work-Station:
AMD AthlonXP 1700+ @ 2450 Mhz
Epox - 8RDA3i
ATI Radeon 9800 XT @ 460 Mhz
Gentoo v.1.4; Kernel 2.6.10 Stage 1 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hyp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Feb 2004 Posts: 192
|
Posted: Sun Feb 15, 2004 9:43 pm Post subject: |
|
|
/dev/blackhawk wrote: | Code: | * hotplug already installed in runlevel default; skipping |
|
Genau diese Meldung kam.
Trotzdem danke.
Gruß
Hyp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
/dev/blackhawk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_r2-d2.gif)
Joined: 12 Feb 2004 Posts: 380 Location: Germany
|
Posted: Sun Feb 15, 2004 10:00 pm Post subject: |
|
|
OK. Also Hotplug läuft.
Ich hab eine Geforce 4 Ti4600 und bei
läuft sie mit folgender Konfiguration.
Code: | Kerneloptionen:
Device Drivers --->
Graphics support --->
[*] Support for frame buffer devices
[*] VESA VGA graphics support
|
Dann gehst Du Schritt für Schritt nach
dem HowTo von www.gentoo.de vor.
Eigentlich müsste es dann laufen.
MFG
/dev/blackhawk _________________ My Work-Station:
AMD AthlonXP 1700+ @ 2450 Mhz
Epox - 8RDA3i
ATI Radeon 9800 XT @ 460 Mhz
Gentoo v.1.4; Kernel 2.6.10 Stage 1 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mac Fly Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 30 Nov 2003 Posts: 330 Location: nähe Stuttgart
|
Posted: Sun Feb 15, 2004 11:01 pm Post subject: |
|
|
Interessanter wäre, ob Hotplug das modul auch geladen hat.
Code: | lsmod | grep nvidia |
Wenn nicht, dann Code: | echo nvidia >> /etc/modules.autoload.d/kernel-2.4
oder (je nach Kernel)
echo nvidia >> /etc/modules.autoload.d/kernel-2.6 |
Nach dem emergen von nvidia-kernel erscheint folgende Meldung:
Quote: | If you are not using devfs, loading the module automatically at
boot up, you need to add "nvidia" to your /etc/modules.autoload.
Please note that the driver name changed from "NVdriver"
to "nvidia.o". |
Hier noch ein Auszug aus meiner XF86Config: Code: | Section "Device"
Identifier "gforce2mx"
Driver "nvidia"
VendorName "All"
BoardName "All"
#VideoRam 32768
# Insert Clocks lines here if appropriate
EndSection
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hyp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Feb 2004 Posts: 192
|
Posted: Mon Feb 16, 2004 4:18 pm Post subject: |
|
|
jetzt habe ich ein paar neue Bootprobleme:
1) dieses hier tritt bei mir ebenfalls genau so auf.
2) bei "Starting devfsd" kommt "Error setting event mask Device or resource busy".
3) "Cleaning /var/lock, /var/run... " kommt "xargs:environment is too large for exec"
4) "Starting USB and PCI hotplugging" da kommt: "***can't synthesize input events - /proc/bus/input/devices missing"
Irgendwie hat das doch mit /proc zu tun. Kennt jemand eine Lösung für eines der(/die) Probleme?
Vielen Dank schon einmal.
Gruß
Hyp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
inode77 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/25726459413f9f821f473.gif)
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Mon Feb 16, 2004 4:57 pm Post subject: |
|
|
To point 4, it seems to be a bug (I didn't test if the provided solution helps because I don't have the problem @ moment. (Last emerge -u world was one and a month ago )
https://bugs.gentoo.org/show_bug.cgi?id=37375 =>
------- Additional Comment #13 From Tim Yamin 2004-01-24 08:36 PST -------
Try this [ for hotplug-20040105 ]:
--- /etc/hotplug/input.rc 2004-01-24 16:35:24.000000000 +0000
+++ etc..hotplug..input.rc.plasmaroo 2004-01-24 16:34:00.000000000 +0000
@@ -51,7 +51,9 @@
input_boot_events ()
{
if [ ! -r $PROCDIR/devices ]; then
- echo $"** can't synthesize input events - $PROCDIR/devices missing"
+ if [ `uname -r | grep 2\.[56]\.` ]; then
+ echo $"** can't synthesize input events - $PROCDIR/devices missing"
+ fi
return
fi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hyp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Feb 2004 Posts: 192
|
Posted: Mon Feb 16, 2004 6:18 pm Post subject: |
|
|
@inode77
Thank you for your hint. But it didn't work for me...
The directory given in PROCDIR in /etc/hotplug/input.rc doesn't exist in my filesystem.
Maybe that causes the problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hyp Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Feb 2004 Posts: 192
|
Posted: Tue Feb 17, 2004 7:43 am Post subject: |
|
|
*hochschieb*
Weiss wirklich niemand mehr etwas ?
Gruß
Hyp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|