Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Allgemeine Anfänger-Frage(n) zu Linux/Gentoo
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Hyp
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 192

PostPosted: Sun Feb 15, 2004 3:08 pm    Post subject: Allgemeine Anfänger-Frage(n) zu Linux/Gentoo Reply with quote

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
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Sun Feb 15, 2004 3:20 pm    Post subject: Reply with quote

http://gentoo.de/doc/de/#doc_chap5
gentoo hat ganz tolle dokus. man müsste sie nur lesen ;)
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
at6
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2002
Posts: 78
Location: /dev/null

PostPosted: Sun Feb 15, 2004 3:25 pm    Post subject: Reply with quote

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.

Code:
su -c "xf86cfg"


passwort eingeben und als root den x server konfigurieren. also graka einstellen, monitor und auflösung einrichten...usw.

zum testen kannst du
Code:
XFree86

eingeben. stimmt die auflösung und die wiederholfreq. dann weiter zu schritt 3!

3.

Code:
emerge kde


oder...

Code:
emerge gnome


dieser vorgang dauert ebenfalls sehr lange...da gehen schonmal 3 tafeln schokolade zwischenzeitlich drauf.

4.

Code:
nano /etc/rc.conf


# 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

Code:
kdm oder gdm

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
View user's profile Send private message
Speziale
n00b
n00b


Joined: 08 Nov 2003
Posts: 23
Location: Berlin

PostPosted: Sun Feb 15, 2004 3:25 pm    Post subject: Reply with quote

Hallo Hyp,

schau mal unter

http://www.selflinux.org/selflinux/html/was_ist_x.html

da steht was zu dem Thema. Ohne Xfree geht s halt nicht.
Mit der Anleitung solltest Du eigentlich zum Ziel kommen...

http://www.gentoo.org/doc/en/desktop.xml


Speziale
Back to top
View user's profile Send private message
plasmagunman
l33t
l33t


Joined: 07 Jun 2002
Posts: 604
Location: berlin

PostPosted: Sun Feb 15, 2004 3:59 pm    Post subject: Reply with quote

at6 wrote:
sor...nachdem alles fertig ist, gib als root

Code:
kdm oder gdm

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
View user's profile Send private message
Hyp
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 192

PostPosted: Sun Feb 15, 2004 6:51 pm    Post subject: Reply with quote

Vielen Dank für eure Beiträge.
Ich versuch mal ob ich das alles hinbekomme.

Viele Grüße
Hyp
Back to top
View user's profile Send private message
Hyp
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 192

PostPosted: Sun Feb 15, 2004 6:58 pm    Post subject: Reply with quote

at6 wrote:
2.
Code:
su -c "xf86cfg"

passwort eingeben und als root den x server konfigurieren. also graka einstellen, monitor und auflösung einrichten...usw.
zum testen kannst du
Code:
XFree86

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
View user's profile Send private message
Mac Fly
Guru
Guru


Joined: 30 Nov 2003
Posts: 330
Location: nähe Stuttgart

PostPosted: Sun Feb 15, 2004 7:46 pm    Post subject: Reply with quote

Hast du in der XF86Config den Treiber "nv" durch "nvidia" ersetzt?
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Sun Feb 15, 2004 7:59 pm    Post subject: Reply with quote

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.
Code:
modprobe nvidia


und bitte verzeih mir diesen anflug einer kritik. hast du die anleitung gelesen?
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
Hyp
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 192

PostPosted: Sun Feb 15, 2004 8:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
/dev/blackhawk
Guru
Guru


Joined: 12 Feb 2004
Posts: 380
Location: Germany

PostPosted: Sun Feb 15, 2004 8:22 pm    Post subject: Reply with quote

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

Code:
hotplug  |    default


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
View user's profile Send private message
Hyp
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 192

PostPosted: Sun Feb 15, 2004 8:45 pm    Post subject: Reply with quote

/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
View user's profile Send private message
/dev/blackhawk
Guru
Guru


Joined: 12 Feb 2004
Posts: 380
Location: Germany

PostPosted: Sun Feb 15, 2004 9:02 pm    Post subject: Reply with quote

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. :wink:

propier es doch mal nur mit

Code:
# rc-update show


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
View user's profile Send private message
Hyp
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 192

PostPosted: Sun Feb 15, 2004 9:11 pm    Post subject: Reply with quote

Da kommt das gleiche...

Gruß
Hyp
Back to top
View user's profile Send private message
/dev/blackhawk
Guru
Guru


Joined: 12 Feb 2004
Posts: 380
Location: Germany

PostPosted: Sun Feb 15, 2004 9:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hyp
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 192

PostPosted: Sun Feb 15, 2004 9:43 pm    Post subject: Reply with quote

/dev/blackhawk wrote:
Code:
 * hotplug already installed in runlevel default; skipping


Genau diese Meldung kam.

Trotzdem danke.


Gruß
Hyp
Back to top
View user's profile Send private message
/dev/blackhawk
Guru
Guru


Joined: 12 Feb 2004
Posts: 380
Location: Germany

PostPosted: Sun Feb 15, 2004 10:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mac Fly
Guru
Guru


Joined: 30 Nov 2003
Posts: 330
Location: nähe Stuttgart

PostPosted: Sun Feb 15, 2004 11:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hyp
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 192

PostPosted: Mon Feb 16, 2004 4:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Mon Feb 16, 2004 4:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hyp
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 192

PostPosted: Mon Feb 16, 2004 6:18 pm    Post subject: Reply with quote

@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
View user's profile Send private message
Hyp
Apprentice
Apprentice


Joined: 14 Feb 2004
Posts: 192

PostPosted: Tue Feb 17, 2004 7:43 am    Post subject: Reply with quote

*hochschieb*

Weiss wirklich niemand mehr etwas ?

Gruß
Hyp
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum