Em Sábado 29 Abril 2006 19:55, Kleber Martins escreveu:
> Configurei o /etc/X11/xorg.conf tentado ativar meu mouse.
> mas ao reiniciar SO,  o Ubunto só abre no modo texto
> deu um erro no modo grafico
> tem como recuberar/
> oq aconteceu?
> o q devo fazer?

Minha "bola de cristal" também tá com defeito, mas aconselho a fazer o 
seguinte (em um terminal)

$ cd /etc/X11
$ cp xorg.conf xorg.conf.old
$ sudo dpkg-reconfigure -phigh xserver-xorg

Responda com carinho todas as perguntas. De preferência tente confiar nas 
adivinhações do Ubuntu. SÓ ENTRE COM DADOS MANUALMENTE SE TIVER CERTEZA DO 
QUE ESTÁ FAZENDO.

Ao terminar, reinicie o X

$ sudo killall gdm kdm
$ sudo gdm

Se ainda não conseguir entrar, "mate o x":

$ sudo killall gdm kdm

e edite manualmente o xorg.conf:

$ sudo vi /etc/X11/xorg.conf

Em um terminal separado, abra a página de manual do xorg.conf e leia para 
tirar dúvidas:

$ man /etc/X11/xorg.conf

Só a título de comparação aqui vai o meu xorg.conf, comentado
----------------------COMEÇANDO----------------------------
# ANTES DESTE COMEÇO HÁ UMA SÉRIE DE COMENTÁRIOS QUE EU APAGUEI

Section "Files"
        # NÃO MEXA NESTA SEÇÃO
    FontPath    "/usr/share/X11/fonts/misc"
    FontPath    "/usr/share/X11/fonts/100dpi:unscaled"
    FontPath    "/usr/share/X11/fonts/75dpi:unscaled"
    FontPath    "/usr/share/X11/fonts/Type1"
    FontPath    "/usr/local/share/fonts/sun"
    FontPath    "/usr/local/share/fonts/MS"
    FontPath    "/usr/local/share/fonts/adobe"
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
    FontPath    "/usr/share/fonts/truetype/ttf-f500"
EndSection

Section "Module"
        # NÃO MEXA AQUI, A MENOS QUE REALMENTE NÃO PRECISE DE ALGUM DESTES 
        # MÓDULOS OU PRECISE DE OUTROS
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        # CONFIGURAÇÃO DE UM TECLADO BRASILEIRO ABNT2 PADRÃO
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "abnt2"
        Option          "XkbLayout"     "br"
        Option          "XkbVariant"    "abnt2"
EndSection

Section "InputDevice"
        # CONFIGURAÇÃO DE UM MOUSE ÓTICO PS/2 COM BOTÃO DE ROLAGEM
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        # SE SUA PLACA DE VÍDEO NÃO FOR SUPORTADA, OU SE VOCÊ NÃO SOUBER
        # O NOME DELA, USE ESTE SETUP PROVISORIAMENTE
        Identifier      "Generic Video Card"
        Driver          "vesa"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        # VERIFIQUE NO MANUAL DO SEU MONITOR QUAIS SÃO AS TAXAS DE HORIZSYNC E
        # VERTREFRESH MÁXIMAS QUE ELE SUPORTA E ALTERE AQUI PARA PODER OBTER 
        # RESOLUÇÃO MÁXIMA
        Identifier      "T730SH"
        Option          "DPMS"
        HorizSync       30-71
        VertRefresh     50-160
EndSection

Section "Screen"
        Identifier      "Default Screen"        # NÃO MEXA
        Device          "Generic Video Card"    # MODIFIQUE DE ACORDO COM A 
PLACA DE VÍDEO
        Monitor         "T730SH"                # MODIFIQUE DE ACORDO COM O 
MONITOR
        DefaultDepth    16                      # USE COR DE 16 BITS PARA 
ECONOMIZAR MEMÓRIA
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        # ESTA SEÇÃO COSTUMA TER VÁRIAS OUTRAS SUB-SEÇÕES, QUE EU APAGUEI
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        # NÃO MEXA AQUI
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        # NÃO MEXA AQUI
        Mode    0666
EndSection

--------------------------TÉRMINO-----------------------------------

Você vai fazer o seguinte:

Reconfigure seu X. Se ele não funcionar, então você por favor
anote para a lista a mensagem de erro e diga-nos onde seu Xorg.conf é
diferente deste acima.

Só assim poderemos te ajudar.

-- 
José Geraldo Gouvêa

--
ubuntu-br mailing list
[email protected]
www.ubuntu-br.org
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

Responder a