.dsy:it.
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Forum De Bell Tolls (http://www.dsy.it/forum/forumdisplay.php?forumid=7)
-- [Linux] Non riesco a far partire Fluxbox (http://www.dsy.it/forum/showthread.php?threadid=6035)


Posted by Sephirot on 03-10-2003 14:46:

[Linux] Non riesco a far partire Fluxbox

Allora, ho installato compilato etc FluxBox e tutto bene sin qua.
Poi pero' non riesco a farlo partire.
Nella documentazione ho letto che devo prendere xinitrc metterlo nella home del mio user e modificarlo aggiungendo alla fine questa riga: exec /usr/local/bin/fluxbox

quindi ho questo file xinitrc:

code:
#!/bin/sh # (c) 1999-2002 Red Hat, Inc. userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap userxkbmap=$HOME/.Xkbmap sysresources=/etc/X11/Xresources sysmodmap=/etc/X11/Xmodmap sysxkbmap=/etc/X11/Xkbmap # merge in defaults if [ -f "$sysresources" ]; then xrdb -merge "$sysresources" fi if [ -f "$userresources" ]; then xrdb -merge "$userresources" fi # merge in keymaps if [ -f "$sysxkbmap" ]; then setxkbmap `cat "$sysxkbmap"` XKB_IN_USE=yes fi if [ -f "$userxkbmap" ]; then setxkbmap `cat "$userxkbmap"` XKB_IN_USE=yes fi if [ -z "$XKB_IN_USE" -a ! -L /etc/X11/X ]; then if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Config ]; then xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config` if [ -n "$xkbsymbols" ]; then setxkbmap -symbols "$xkbsymbols" XKB_IN_USE=yes fi fi fi # xkb and xmodmap don't play nice together if [ -z "$XKB_IN_USE" ]; then if [ -f "$sysmodmap" ]; then xmodmap "$sysmodmap" fi if [ -f "$usermodmap" ]; then xmodmap "$usermodmap" fi fi unset XKB_IN_USE # run all system xinitrc shell scripts. for i in /etc/X11/xinit/xinitrc.d/* ; do if [ -x "$i" ]; then . "$i" fi done # The user may have their own clients they want to run. If they don't, # fall back to system defaults. # set up ssh agent environment if available. if [ -f $HOME/.Xclients ]; then [ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ] && \ exec ssh-agent $HOME/.Xclients || \ exec $HOME/.Xclients elif [ -f /etc/X11/xinit/Xclients ]; then [ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ] && \ exec ssh-agent /etc/X11/xinit/Xclients || \ exec /etc/X11/xinit/Xclients else # failsafe settings. Although we should never get here # (we provide fallbacks in Xclients as well) it can't hurt. xclock -geometry 100x100-5+5 & xterm -geometry 80x50-50+150 & if [ -x /usr/bin/netscape -a -f /usr/share/doc/HTML/index.html ]; then netscape /usr/share/doc/HTML/index.html & fi if [ -x /usr/X11R6/bin/fvwm2 ]; then exec fvwm2 else exec twm fi fi exec /usr/local/bin/fluxbox


se lo lancio con fluxbox -exec
mi dà:

[sephi@localhost sephi]$ fluxbox -exec
Failed to read: session.tabs
Setting default value
Failed to read: session.slitlistFile
Setting default value
Failed to read: session.groupFile
Setting default value
Failed to load groupfile:
BScreen::BScreen: e' accaduto un errore nella interrogazione del server X.
un altro window manager e' gia' attivo per il display :0.0.
Blackbox::Blackbox: nessuno schermo gestibile, uscendo
Fluxbox: Unknown error.

__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"


Posted by lord2y on 03-10-2003 14:50:

prova a mettere in .xinitrc

code:
#!/bin/bash exec fluxbox #o il path da seguire per arrivare all'esegubile


salva, dai un
code:
$chmod +x .xinitrc


e prova a lanciare
code:
$startx


cosi' dovrebbe andare

:ciao:

__________________
Linux User#271051
Only God can judge me, is that right?
Only God can judge me now
Only God baby, nobody else. All you other motherfuckers get out my business (2Pac)


Posted by Sephirot on 03-10-2003 14:52:

mitco lordy :D

cmq io il path per arrivare a fluxbox lo avevo messo alla fine... non va bene?
e poi questo file va salvato nella mia home o dove sta gia'?
grazie cmq! :D

__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"


Posted by lord2y on 03-10-2003 15:01:

Originally posted by Sephirot
mitco lordy :D

cmq io il path per arrivare a fluxbox lo avevo messo alla fine... non va bene?



se lo avessi prima dell'ultimo fi probabilmente andava senza problemi...

e poi questo file va salvato nella mia home o dove sta gia'?
grazie cmq! :D



il file .xinitrc va nella tua home ogni utente ha il suo personalizzato ;)

:ciao:

__________________
Linux User#271051
Only God can judge me, is that right?
Only God can judge me now
Only God baby, nobody else. All you other motherfuckers get out my business (2Pac)


Posted by Sephirot on 03-10-2003 15:29:

ho modificato il file .xinitrc mettendo il percorso all'eseguibile all'inizio.

poi ho dato chmod ma non e' successo nulla
poi con startx mi dava questo:

[sephi@localhost sephi]$ startx


Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to xfree86@xfree86.org.

__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"


Posted by Flyzone on 03-10-2003 17:14:

Entra da root e rimuovi /tmp/.X0-lock, solitamente accade quando crasha il sistema con X attivo.


Posted by lord2y on 03-10-2003 20:03:

Originally posted by Sephirot
ho modificato il file .xinitrc mettendo il percorso all'eseguibile all'inizio.

poi ho dato chmod ma non e' successo nulla
poi con startx mi dava questo:

[sephi@localhost sephi]$ startx


Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to xfree86@xfree86.org.


vuol dire che hai X già attivo, magari con kdm o gdm avviato..Devi prima killare quella sessione per poi riavviare X senno fai un gran casino...

nel tuo caso da root

code:
#/etc/init.d/xdm stop


Il server X va down..controlla con ctrl+alt+F7 se la sessione è terminata e dopo

code:
$startx


Così dovrebbe funzare...
fammi/facci sapere ;)

__________________
Linux User#271051
Only God can judge me, is that right?
Only God can judge me now
Only God baby, nobody else. All you other motherfuckers get out my business (2Pac)


Posted by Sephirot on 04-10-2003 01:20:

[sephi@localhost sephi]$ /etc/init.d/xdm stop
bash: /etc/init.d/xdm: No such file or directory


cmq in quella cartella non trovo file xdm
e se elimino remove /tmp/.X0-lock come suggeriva flyzone prima?

__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"


Posted by lord2y on 04-10-2003 16:46:

Non è necessario...

Prova a dare un più semplice

code:
#kill -9 xdm


e poi lancia X nuovamente con il nuovo .xinitrc.

prova a cercare in /etc/init.d/ un file del tipo kdm o gdm...
se c'è poi ti dico cosa fare...

:ciao:

__________________
Linux User#271051
Only God can judge me, is that right?
Only God can judge me now
Only God baby, nobody else. All you other motherfuckers get out my business (2Pac)


All times are GMT. The time now is 17:31.
Show all 9 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.