|
|
|
 |
|  |
 |
Sephirot |
[Linux] Non riesco a far partire Fluxbox |
03-10-2003 14:46 |
|
 |
Sephirot |
.grande:maestro.

Registered: Nov 2001
Posts: 3856 (0.45 al dì)
Location: South of No North
Corso: Informatica
Anno: III
Time Online: 60 Days, 15:06:08: [...]
Status: Offline
Edit | Report | IP: Logged |
[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"
|
03-10-2003 14:46 |
|
|
|  |
 |
lord2y |
prova a mettere in .xinitrc
... |
03-10-2003 14:50 |
|
 |
lord2y |
BANNATO

Registered: Jul 2002
Posts: 1498 (0.18 al dì)
Location: Milano
Corso: Qualcosa a che fare con l'informatica
Anno: 24esimo ;-(
Time Online: 9 Days, 17:16:35 [...]
Status: Offline
Edit | Report | IP: Logged |
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
__________________
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)
|
03-10-2003 14:50 |
|
|
|  |
 |
Sephirot |
mitco lordy :D
... |
03-10-2003 14:52 |
|
 |
Sephirot |
.grande:maestro.

Registered: Nov 2001
Posts: 3856 (0.45 al dì)
Location: South of No North
Corso: Informatica
Anno: III
Time Online: 60 Days, 15:06:08: [...]
Status: Offline
Edit | Report | IP: Logged |
mitco lordy 
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! 
__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"
|
03-10-2003 14:52 |
|
|
|  |
 |
Sephirot |
ho modificato il file .xinitrc mettendo il percors ... |
03-10-2003 15:29 |
|
 |
Sephirot |
.grande:maestro.

Registered: Nov 2001
Posts: 3856 (0.45 al dì)
Location: South of No North
Corso: Informatica
Anno: III
Time Online: 60 Days, 15:06:08: [...]
Status: Offline
Edit | Report | IP: Logged |
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"
|
03-10-2003 15:29 |
|
|
|  |
 |
Flyzone |
Entra da root e rimuovi /tmp/.X0-lock, solitamente ... |
03-10-2003 17:14 |
|
 |
Flyzone |
.coltellino:svizzero.
Registered: Jan 2003
Posts: 1956 (0.24 al dì)
Location:
Corso:
Anno:
Time Online: 19 Days, 22:20:19 [...]
Status: Offline
Edit | Report | IP: Logged |
Entra da root e rimuovi /tmp/.X0-lock, solitamente accade quando crasha il sistema con X attivo.
|
03-10-2003 17:14 |
|
|
|  |
 |
lord2y |
[QUOTE][i]Originally posted by Sephirot [/i]
... |
03-10-2003 20:03 |
|
 |
lord2y |
BANNATO

Registered: Jul 2002
Posts: 1498 (0.18 al dì)
Location: Milano
Corso: Qualcosa a che fare con l'informatica
Anno: 24esimo ;-(
Time Online: 9 Days, 17:16:35 [...]
Status: Offline
Edit | Report | IP: Logged |
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)
|
03-10-2003 20:03 |
|
|
|  |
 |
Sephirot |
[sephi@localhost sephi]$ /etc/init.d/xdm stop
... |
04-10-2003 01:20 |
|
 |
Sephirot |
.grande:maestro.

Registered: Nov 2001
Posts: 3856 (0.45 al dì)
Location: South of No North
Corso: Informatica
Anno: III
Time Online: 60 Days, 15:06:08: [...]
Status: Offline
Edit | Report | IP: Logged |
[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"
|
04-10-2003 01:20 |
|
|
|  |
 |
lord2y |
Non è necessario...
... |
04-10-2003 16:46 |
|
 |
lord2y |
BANNATO

Registered: Jul 2002
Posts: 1498 (0.18 al dì)
Location: Milano
Corso: Qualcosa a che fare con l'informatica
Anno: 24esimo ;-(
Time Online: 9 Days, 17:16:35 [...]
Status: Offline
Edit | Report | IP: Logged |
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...
__________________
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)
|
04-10-2003 16:46 |
|
|
|  |
 |
All times are GMT. The time now is 06:36. |
|
|
 |
|
 |
|
|
|  |
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|