Instalacion/Configuracion x (debian 5)
Publicado: 23 Septiembre, 2009 - 03:11 Instalacion/Configuracion x (debian 5)
Mi duda es como se realiza la correcta instalacion de las x en debian 5.... Yo trate de realizarlas de la forma
apt-get install x-window-system-core como he visto en muchos howto's pero me tiraba lo siguiente:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
El paquete x-window-system-core es un paquete virtual provisto por:
xorg 1:7.4+4
Necesita seleccionar explícitamente uno para instalar.
E: El paquete x-window-system-core no tiene candidato para su instalaciónPor lo que termine instalandolas de la siguiente manera
apt-get install xserver-xorgLuego de la instalacion instale fluxbox. Como resultado obtuve algo medio lento...Segun averigue creo que puedo llegar a tener mal configuradas las x, por lo que busque en diversos tutoriales, pero en ellos hablan de un archivo xorg.conf que no poseo, por lo que mi duda es si alguien sabe como se pueden configurar....
- Inicie sesión o regístrese para enviar comentarios
- 6507 lecturas


# dpkg-reconfigure xserver-xorgy google.
En primer lugar; para instalar xorg debes instalar más paquetes:
aptitude install xorg xserver-xorg xterm
y también xdm, aunque esto es optativo.
Para construir un xorg.conf básico:
a) #dpkg-reconfigure xserver-xorg
Si no va, prueba a poner una línea
Driver "vesa"
Dentro de la zona "Device" del archivo xorg.conf. Necesitarás, entonces, tenetr instalado --compruébalo-- el paquete xserver-xorg-video-vesa.
Finalmente, si tampoco funcionara...
Como root:
# init 1
Esto te pone en modo texto...
# X -configure
esto te crea un archivo /root/xorg.conf.new
Para probarlo:
# X -conf /root/xorg.conf.new
Si funciona...
# cp /root/xorg.conf.new /etc/X11/xorg.conf
NOTA: He escrito todo de memoria... si te falla, busca en google, que ya tienes pistas suficientes
Suerte.... !
Me pasa una cosa curiosa y es que BORRO el /etc/X11/xorg.conf y al cargar GDM lo hace bien, por lo tanto no se de donde coge la configuración.
Me pasa una cosa curiosa y es que BORRO el /etc/X11/xorg.conf y al cargar GDM lo hace bien, por lo tanto no se de donde coge la configuración.
Sí pero si reinicias te fallará. Todo cambio en /etc/X11/xorg.conf requiere reiniciar (puede que no sea estrictamente necesario, que haya otra forma, pero lo más fácil es reiniciar)
estamos hablando de reiniciar el sistema o el GDM, ya que el GDM si lo paro y lo vuelvo a encender.
Estamos hablando de:
# reboot
Sí pero si reinicias te fallará. Todo cambio en /etc/X11/xorg.conf requiere reiniciar (puede que no sea estrictamente necesario, que haya otra forma, pero lo más fácil es reiniciar)
Que yo sepa no es necesario reiniciar la máquina entera, con reiniciar las X debería bastar (y con reiniciar gdm se supone que también).
Y te funciona sin xorg.conf porque ahora toda la detección se hace en caliente.
Yo por ejemplo conservo esto en mi xorg.conf
# xorg.conf (X.Org X Window System server configuration file)#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection
(están definidas las secciones, pero muchas vacías)
Pero vamos, que si dejara simplemente esto
Section "Device"Identifier "Configured Video Device"
Driver "nvidia"
EndSection
También debería funcionar.
Hay determinados dispositivos (por ejemplo los touchpad) que pueden necesitar algo de configuración adicional, pero dicha configuración ya no se suele hacer sobre el xorg.conf sino directamente sobre hal ( /etc/hal/fdi/ ).
El comando
dpkg-reconfigure xserver-xorgno me genera una salida ni noto algun cambio....
He hecho el
X -configurey me ha generado este xorg.conf
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"
EndSection
Section "Module"
Load "glx"
Load "dri2"
Load "record"
Load "dri"
Load "extmod"
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 "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "82865G Integrated Graphics Controller"
BusID "PCI:0:2: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
el cual he copiado a mi /etc/X11/ bajo el nombre de xorg.conf...
He iniciado las x
startxy no ha habido problemas que yo pueda notar... pero la lentitud sigue siendo la misma...
Deberia toquetear el xorg.conf?? Por lo que veo en el sector "Device", me reconoce la placa intel que tengo, por lo que intuyo estara bien configurado.....
Entonces el problema es que va lento...
¿Qué ordenador tienes? ¿Cuanta RAM?
Tengo un Intel pentium 4, placa video integrada y con 1 gb de ram....Eso con debian y fluxbox tengo entendido no me puede correr lento....al menos que halla hecho las cosas mal....