Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemas na inicializaçao
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
pirualll
n00b
n00b


Joined: 27 Jan 2005
Posts: 16
Location: $HOME

PostPosted: Thu Apr 28, 2005 3:51 pm    Post subject: problemas na inicializaçao Reply with quote

ai galera to querendo migrar do debian pro gentoo instalei o stage3, mais nao ta iniciando o X, achei estranho tentei usar os comandos

xf86config
startx
xdm

nao tem nenhum desses comandos ! dei uma estudade vi que o sistema de inicializacao e bem diferente do debian, como faço pra iniciar o xdm e o xfs no boot ! quero entrar no X mais naum tem jeito !

help-me!!!!
_________________
Registered User #371345
"A arte de programar consiste na arte de organizar e dominar a complexidade.(Dijkstra)"
http://geocities.yahoo.com.br/sidneidiniz/img1.gif
Back to top
View user's profile Send private message
gesiel
Apprentice
Apprentice


Joined: 13 Feb 2005
Posts: 197
Location: Brasil - Rio de Janeiro

PostPosted: Thu Apr 28, 2005 5:21 pm    Post subject: Re: problemas na inicializaçao Reply with quote

Olá pirualll,

pirualll wrote:
ai galera to querendo migrar do debian pro gentoo instalei o stage3, mais nao ta iniciando o X, achei estranho tentei usar os comandos
xf86config
startx
xdm

pelo que parece, vc instalou o sistema básico, ou seja, o Gentoo Linux sem o X, que é o default.
Para ter o X (KDE ou Gnome) vc tem que fazer comendos específicos. Antes de continuar, vale dizer que o Gentoo atualmente utiliza o Xorg no lugar do XFree86.
Ok, entendido isto, basta vc fazer o comando para instalar a sua interface gráfica:

#KDE
Code:
emerge kde
LINGUAS="pt_BR" emerge kde-i18n

ou
#Gnome
Code:
emerge gnome

O Gentoo "entende" que vc ainda não tem o Xorg instalado, então ele tb instala o Xorg para vc. Ao final da compilalção (demora um bocado) poderá fazer seu "startx".

Para ter sua interface gráfica iniciada correta e automaticamente, faça:

Altere o arquivo /etc/X11/xorg.conf com as configurações do seu monitor (há muita coisa sobre isto na internet).
O meu está assim:
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen         0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath     "/usr/lib/X11/rgb"
   ModulePath  "/usr/lib/modules"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/75dpi"
    FontPath    "/usr/share/fonts/100dpi"
    FontPath    "/usr/local/share/fonts"
    FontPath    "/usr/share/fonts"
    FontPath    "/usr/share/fonts/cyrillic"
    FontPath    "/usr/share/fonts/default"
    FontPath    "/usr/share/fonts/ukr"
    FontPath    "/usr/share/fonts/local"
    FontPath    "/usr/share/fonts/Type1"
EndSection

Section "Module"
   Load      "record"
   Load      "extmod"
   Load      "dbe"
   Load      "dri"
   Load      "glx"
   Load      "xtrap"
   Load      "freetype"
EndSection

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

  Option       "XkbModel"      "abnt2"
  Option       "XkbLayout"     "br"
EndSection

Section "InputDevice"
  Identifier   "Mouse0"
  Driver       "mouse"
  Option       "Protocol"      "IMPS/2"
  Option       "Device"        "/dev/mouse"
  Option       "ZAxisMapping"  "4 5"
EndSection


Section "Monitor"
  Identifier   "LG"
  VendorName   "LG"
  ModelName    "LG StudioWorks 441"
  HorizSync    30-48
  VertRefresh  50-90
EndSection

Section "Device"
  Identifier   "Card0"
  Driver       "nv"
  VendorName   "nVidia Corporation"
  BoardName    "NV11 [GeForce2 MX/MX 400]"
EndSection

Section "Screen"
  Identifier   "Screen0"
  Device       "Card0"
  Monitor      "LG"
  DefaultDepth  16
  SubSection "Display"
     ViewPort   0 0
     Depth      8
     Modes      "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
     ViewPort   0 0
     Depth      16
     Modes      "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
     ViewPort   0 0
     Depth      24
     Modes      "1024x768" "800x600" "640x480"
  EndSubSection
EndSection

Altere seu arquivo /etc/rc.conf (conforme sugere a documentação). Se não me engano é:
Code:
#no caso so KDE
DISPLAYMANAGER="kdm"
XSESSION="kde-3.3.2"

na linha de comando escreva:
Code:
rc-update add xdm default

O xdm é o script que vai ler o /etc/rc.conf , descobrir qual interface gráfica é para ser carregada.

Reinicie o computador e se tudo estiver ok vc deverá ver a tela de login do seu gerenciador de login preferido e o X vai abrir normalmente.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese 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