Entra

View Full Version : Alcune cosucce da sistemare in Gentoo... HELP!


Iron Pablo
21-04-2004, 22:00
- Se lancio xmms da console come root, ecco come mi risponde!

bash-2.05b# xmms
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

** CRITICAL **: Unable to open display

- Ho montato correttamente la partizione in fat32 che uso come partizione di scambio, ma la posso leggere e scrivere solo come root...

Ecco il mio fstab

/dev/hde6 /boot ext2 noauto,noatime 1 2
/dev/hde7 / reiserfs noatime 0 1
/dev/hde8 none swap sw 0 0
/dev/hde5 /mnt/backup vfat users,exec 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto

Che c'è che non va???
la partizione che non legge come utente è hde5 (/mnt/backup).

Per ora mi accontento di risolvere questi!

- Cosa importantissima!!!!
Non mi funzionano i tasti ALT-GR e CANC sulla tastiera! Come risolvo???

Grasssssie... ;)

ANDY CAPS
21-04-2004, 22:33
per la rotella metti

Option "Protocol" "ImPS/2"

nell'fstab prova

vfat auto,users,rw,umask=000

per xmms non ho capito se non parte il programma o se vuoi utilizzarlo in consolle

prova ad emergere qualcosa in piu di xmms

emerge -s xmms

Iron Pablo
21-04-2004, 22:36
Originariamente inviato da ANDY CAPS
per la rotella metti

Option "Protocol" "ImPS/2"

nell'fstab prova

vfat auto,users,rw,umask=000

per xmms non ho capito se non parte il programma o se vuoi utilizzarlo in consolle

prova ad emergere qualcosa in piu di xmms

emerge -s xmms

Per la rotella ho già risolto, grazie...

XMMS Funziona perfettamente da utente lanciato dal menu KDE, ma se lo lancio come root da console mi da quell'errore!

Ti sarei grato se tu mi dessi una dritta sulla faccenda della tastiera (Non mi funzionano ALT-GR e CANC)!!!!!!

ANDY CAPS
21-04-2004, 23:24
si dovrebbe vedere le sezioni relative alla tastiera in / etc/rc.conf

e nel XF86Config-4

guarda di metterle come me se hai una tastiera comune ps2

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "it"
EndSection

e rc.conf

KEYMAP="it"

# Should we first load the 'windowkeys' console keymap? Most x86 users will
# say "yes" here. Note that non-x86 users should leave it as "no".

SET_WINDOWKEYS="no"

# The maps to load for extended keyboards. Most users will leave this as is.

EXTENDED_KEYMAPS=
#EXTENDED_KEYMAPS="backspace keypad"

# CONSOLEFONT specifies the default font that you'd like Linux to use on the
# console. You can find a good selection of fonts in /usr/share/consolefonts;
# you shouldn't specify the trailing ".psf.gz", just the font name below.
# To use the default console font, comment out the CONSOLEFONT setting below.
# This setting is used by the /etc/init.d/consolefont script (NOTE: if you do
# not want to use it, run "rc-update del consolefont" as root).

CONSOLEFONT="default8x16"

# CONSOLETRANSALTION is the charset map file to use. Leave commented to use
# the default one. Have a look in /usr/share/consoletrans for a selection of
# map files you can use.

#CONSOLETRANSLATION="8859-1_to_uni"


per xmms non mi viene in mente molto

dai sempre uno sguardo sul forum di gentoo
li si trovano tutte le risposte

http://forums.gentoo.org/viewforum.php?f=41

FuocoNero
21-04-2004, 23:40
Di solito il root non ha la possibilità di eseguire il server X (non ho capito bene la ragione ma è così) percui per utilizzare un programma con X devi dare il permesso al root:
da user fai:
xhost + (oppure xhost localhost)
poi diventi root e fai quel che ti pare limitatamente a quella sessione di bash.

Iron Pablo
22-04-2004, 09:11
Originariamente inviato da ANDY CAPS
si dovrebbe vedere le sezioni relative alla tastiera in / etc/rc.conf

e nel XF86Config-4

guarda di metterle come me se hai una tastiera comune ps2

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "it"
EndSection

e rc.conf

KEYMAP="it"

# Should we first load the 'windowkeys' console keymap? Most x86 users will
# say "yes" here. Note that non-x86 users should leave it as "no".

SET_WINDOWKEYS="no"

# The maps to load for extended keyboards. Most users will leave this as is.

EXTENDED_KEYMAPS=
#EXTENDED_KEYMAPS="backspace keypad"

# CONSOLEFONT specifies the default font that you'd like Linux to use on the
# console. You can find a good selection of fonts in /usr/share/consolefonts;
# you shouldn't specify the trailing ".psf.gz", just the font name below.
# To use the default console font, comment out the CONSOLEFONT setting below.
# This setting is used by the /etc/init.d/consolefont script (NOTE: if you do
# not want to use it, run "rc-update del consolefont" as root).

CONSOLEFONT="default8x16"

# CONSOLETRANSALTION is the charset map file to use. Leave commented to use
# the default one. Have a look in /usr/share/consoletrans for a selection of
# map files you can use.

#CONSOLETRANSLATION="8859-1_to_uni"


per xmms non mi viene in mente molto

dai sempre uno sguardo sul forum di gentoo
li si trovano tutte le risposte

http://forums.gentoo.org/viewforum.php?f=41

Per la tastiera non riesco a risolvere, nonostante la mia configurazione sia questa che mi hai consigliato...

:cry:

Solo che la chiocciolina è pressochè indispensabile... :(

Forse dopo aver cambiato il file devo dare qualche altro comando???

Grazie di tutto per ora!