miércoles, 29 de mayo de 2013

instalando DEBIAN GNU/HURD (25-mayo-2013 al 30-mayo-2013 )


recivi mucha ayuda (en ingles) de los canales:

#hurd en el  servidor freenode
#debian-hurd en el servidor OFTC  (el oficial de debian)

ESPECIALMETE GRACIAS A:
(SPECIAL TANKS TO:)
#freenode
 youpi  ,  elmig, braunr , pinotree, Tekk,

#debian-hurd
azeem , pinotree , gnu_srs


descargalo de aki:


http://people.debian.org/~sthibault/hurd-i386/installer/cdimage/


yo me descargue el DVD con un poeso de 1.4 GB
para evitarme problemas

lo instale en MODO TEXTO, por que no me funciono :
la instalacion grafica, tampoco
la instalacion Pseudo-graphic

la instalacion la
hice en QEMU +KVM , con la interfas grafica AQEMU


en la parte final de la instalacion
cuando estas en la estapa  "seleccion e instalacion de paquetes"

kitale la seleccion  a todo (systema base, VNC ,escritorio, etc)
eso es para que pueda continuar,  al parecer es un BUG,
por que si seleccionas alguno no continua

terminando la instalacion
iniciando secion

alex@debian:/home/alex $

cambia a root
su
<contraseña> enter

root@debian:#

al tratar de instalar xorg de daba un error

# aptitude install xorg
 dpkg :warnig; 'idconfig' not found  in PATH or not executable
 ...
......
.....

en  #hurd freenode

<AlexLikeRock>  i instal finished GNU (/hurd)
<AlexLikeRock> but  when i install  "aptitude install xorg"
<AlexLikeRock> they say ....
<AlexLikeRock> dpkg :warnig; 'idconfig' not found  in PATH or not executable
<AlexLikeRock> what its that ?
<pinotree> http://darnassus.sceen.net/~hurd-web/faq/sudo/

en #debian-hurd OFTC

<azeem> right, that is a problem, as su by default does not add /sbin to the Path
<azeem> you need to run "su -"
<AlexLikeRock> excuseme ; whats its "-"
<AlexLikeRock> ?
<azeem> a dash
<AlexLikeRock> of course, but , what its the function ?
<azeem> http://en.wikipedia.org/wiki/Su_%28Unix%29#Usage
<azeem> see the third exapmle
<azeem> example*
<AlexLikeRock> ok,
<azeem> also see su --help
<azeem>   -, -l, --login               make the shell a login shell



su -
apt-get install xorg
apt-get install twm
startx

error:

cannot open keyboard (no such file or directory)

el error no es que tenga mal el teclado , el problema es que no esta activada la consola de HURD, cuando se instala el sistema en "modo texto" se queda la consola en MACH,


--------ESTO NO ES NESESARIO------
----- este dato es solo nota personal,  -----

<AlexLikeRock>  please  helme to configure keyboard
<AlexLikeRock>  /usr/share/X11/xorg.conf.d
<AlexLikeRock>  /usr/share/X11/xorg.conf.d/10-kbd.conf
<AlexLikeRock> hurd detect the keyboard :-(
<elmig> AlexLikeRock: example from xorg.conf
<elmig> http://paste.debian.net/7702/
<elmig> man kbd is also useful

-----
Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver  "kbd"
 Option  "CoreKeyboard"
 Option  "XkbRules" "xorg"
 Option  "XkbModel" "pc105"
 Option  "XkbLayout" "us"
EndSection
 
 ------

 
 
 ----
motivo del error
 
 
<AlexLikeRock> startx twm ---->   " cannot open keyboard (no such file or directoriy)" 
<AlexLikeRock> elmig,  :-(
* Tekk_ (~user@cpe-071-077-203-175.ec.res.rr.com) has left #hurd ("ERC Version 5.3 (IRC client for Emacs)")
<AlexLikeRock> :'''''(
<AlexLikeRock> i goit go
<youpi> AlexLikeRock:  do you have the console started?
<AlexLikeRock> yes
<youpi> (see http://www.debian.org/ports/hurd/hurd-install)
<AlexLikeRock> im in 
<youpi> you mean you eventually got it working?
<AlexLikeRock> no, its my fist time on debian GNU-HURD
<AlexLikeRock> i can lohin
<AlexLikeRock>  but non startx  :-(
<youpi> but is it the hurd console, not the mach console?
<youpi> what does echo $TERM say?
<AlexLikeRock> im confuse (mach, hurd)
<youpi> what does echo $TERM say?
<AlexLikeRock> root@debian : 
<AlexLikeRock> root@debian : # 
<youpi> please type
<youpi> echo $TERM
<youpi> and paste everything that appeared
<AlexLikeRock> say:
<AlexLikeRock> mach-gnu-color
<AlexLikeRock> .
<youpi> so you're not actually running the hurd console
<youpi> that's why X can't open the keyboard
<AlexLikeRock> O.O
<youpi> did you install in textmode, or in pseudo-graphical mode?
<AlexLikeRock> texmode
<youpi> why didn't you use pseudo-grpahical mode?
<AlexLikeRock> pseudo-graphical mode  and graphic mode  they are  stock!
<youpi> "stock"?
<AlexLikeRock> translating...
<elmig> default ?
<AlexLikeRock> stuck  
<AlexLikeRock> stuck on "selecction and instalation of packages"
<youpi> stuck how? where?
<youpi> ok
<AlexLikeRock> then, i choice texmode
<youpi> but the pseudo-graphical screen was showing up right?
<youpi> then you can enable the hurd console in /etc/default/hurd-console
<youpi> by changing ENABLE to true
<youpi> and rebooting
<youpi> (easiest way) 
 AlexLikeRock> cool...
 
------     -------
 
 
 

editar el archivo /etc/default/hurd-console

nano /etc/default/hurd-console


en los primeros  renglones donde dice
enable the hurd console
 cambiar :
ENABLE a true

guardar y reiniciar

inicia como root

su

despues solo

startx
o

startx twm

solo keda hacer que los usuarios comunes entren sin problemas a X.org

reconfiguramos las X

su
su -

dpkg-reconfigure x11-common

y en "allowanybody"  (permitir a todos)

sales  a usuario normal exit y le das startx




Funcionando !!!! con interfas grafica !!!

trabajo finalizado   exitoso



dato extra , para poder salir de las X

# Exiting X when xinit cannot shut down X (as user):
Section "InputDevice"
  Identifier "Generic Keyboard"
  Driver "kbd"
  Option "XkbRules"   "xorg"
#  Option "XkbModel"    "pc105"
  Option "XkbLayout"  "se"
  Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
 
 
 
 ****************************
instalar AUDIO:
 
gracias al usuario 
 
rmh@gnu.org 


Hi,



I managed to play some sound on GNU/Hurd using patched Rump and a modified mplayer. For

those interested:



1. Setup APT repository (https://people.debian.org/~rmh/rump/apt/00README)



2. If using kvm, add "-soundhw ac97". With real hardware ICH/AC97 and Intel HD audio are supported.



3. Install mplayer from the repository and run with: mplayer -ao sun soundfile.ogg



Enjoy 


*************************************
 
 

1 comentario:

  1. Ay hijito, si al menos aprendieras a escribir decentemente en español y no burradas como recibí, aki, ke y demás, se leería mucho mejor. También tienes lineas muy largas que no se ven bien en pantalla.

    ResponderEliminar

Donarme :->

Donar a AlexLikeRock
muchas gracias por tu ayuda :->

2022

stand by ... PD: "Viva México!"