![]() |
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)
[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
__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"
prova a mettere in .xinitrc
code:
#!/bin/bash exec fluxbox #o il path da seguire per arrivare all'esegubile
code:
$chmod +x .xinitrc
code:
$startx
__________________
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)
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"
Originally posted by Sephirot
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!![]()
__________________
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)
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"
Entra da root e rimuovi /tmp/.X0-lock, solitamente accade quando crasha il sistema con X attivo.
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.
code:
#/etc/init.d/xdm stop
code:
$startx
__________________
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)
[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"
Non è necessario...
Prova a dare un più semplice
code:
#kill -9 xdm
__________________
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.