Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[fluxbox] veut pas se lancer (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
pititjo
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 245
Location: Paris (France)

PostPosted: Fri Nov 12, 2004 10:54 pm    Post subject: [fluxbox] veut pas se lancer (résolu) Reply with quote

Je suis en train de réinstaller (encore une fois) ma pitite gentoo et cette foie, plutôt que d'installer gnome j'ai voulu mettre fluxbox.
J'ai fait un emerge fluxbox qui s'est terminer en un rien de temps mais je ne parvient pas à le lancer, ni directement depuis startx en mettant XSESSION="Fluxbox" ni en passant par gdm.
Voila le message d'erreur :
Quote:
/usr/bin/startfluxbox: ligne4: /home/free/.fluxbox/start: Permission denied
/usr/bin/startfluxbox: ligne4: /home/free/.fluxbox/start: Succes

(le message d'erreur est copier à la main donc il peu y avoir une erreur...)

Que devrais-je faire pour que ça marche ?


Last edited by pititjo on Sat Nov 13, 2004 6:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Nov 12, 2004 10:59 pm    Post subject: Re: [fluxbox] veut pas se lancer (non résolu) Reply with quote

pititjo wrote:
Je suis en train de réinstaller (encore une fois) ma pitite gentoo et cette foie, plutôt que d'installer gnome j'ai voulu mettre fluxbox.
J'ai fait un emerge fluxbox qui s'est terminer en un rien de temps mais je ne parvient pas à le lancer, ni directement depuis startx en mettant XSESSION="Fluxbox" ni en passant par gdm.
Voila le message d'erreur :
Quote:
/usr/bin/startfluxbox: ligne4: /home/free/.fluxbox/start: Permission denied
/usr/bin/startfluxbox: ligne4: /home/free/.fluxbox/start: Succes

(le message d'erreur est copier à la main donc il peu y avoir une erreur...)

Que devrais-je faire pour que ça marche ?

c'est pas XSESSION qu'il faut changer, tu peux lgarder cette ligne commenter mais ton ~/.xinitrc qu'il faut éditer et mettre fluxbox dedans

Enjoy
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
pititjo
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 245
Location: Paris (France)

PostPosted: Fri Nov 12, 2004 11:04 pm    Post subject: Reply with quote

C'est gênant, je l'est pas ce fichier là :cry: (c'est bien ds /home/moi qu'il doit être non?)
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Fri Nov 12, 2004 11:05 pm    Post subject: Reply with quote

Code:
vim ~/.xinitrc

Et voici ce que tu mets dedans :
Quote:
exec /usr/bin/startfluxbox

_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Nov 12, 2004 11:05 pm    Post subject: Reply with quote

pititjo wrote:
C'est gênant, je l'est pas ce fichier là :cry: (c'est bien ds /home/moi qu'il doit être non?)

oui mais si tu l'as pas tu le crées, et hop un petit startx plus tard ... un nouveau monsieur sus flux :wink:
@ bosozoku: c'est trop long à écrire le exec blabla et ça marche avec juste fluxbox alors... :lol:
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley


Last edited by sireyessire on Fri Nov 12, 2004 11:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Fri Nov 12, 2004 11:06 pm    Post subject: Reply with quote

Grillé ! Bouh en plus tu lui dis meme pas comment ça marche le xinitrc... bouh ! Et c'est un vétéran ça ? Mais ou va le monde je vous jure.... :twisted:
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Nov 12, 2004 11:07 pm    Post subject: Reply with quote

bosozoku wrote:
Grillé ! Bouh en plus tu lui dis meme pas comment ça marche le xinitrc... bouh ! Et c'est un vétéran ça ? Mais ou va le monde je vous jure.... :twisted:

non je lui réponds entre 2 trucs, alors il faut aller vite :lol:
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
pititjo
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 245
Location: Paris (France)

PostPosted: Fri Nov 12, 2004 11:17 pm    Post subject: Reply with quote

Je vais passer pour le pas doué de service mais :
Quote:
bash-2.05b$ cat ~/.xinitrc
exec /usr/bin/startfluxbox


et pourtant :

Quote:
bash-2.05b$ cat ~/.xsession-errors
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "free"
/etc/X11/gdm/Xsession: Beginning session setup...
/etc/X11/gdm/Xsession: Cannot find ~/.xsession will try the default session
/etc/X11/gdm/Xsession: Cannot find Xclients
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- xsm


Je vais finir par croire que j'ai foiré mon install à la base moi :cry:
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Fri Nov 12, 2004 11:34 pm    Post subject: Reply with quote

Fais un simple startx et tu vas voir ;)
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
pititjo
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 245
Location: Paris (France)

PostPosted: Sat Nov 13, 2004 6:27 am    Post subject: Reply with quote

C'est pas pour déchanter mais j'ai le même message en faisaint startx :cry: :oops:
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Sat Nov 13, 2004 10:13 am    Post subject: Reply with quote

On est d'accord que le startx est à faire en mode texte et pas si tu as gnome de démarré hein ?

Parce que ton xsession-error montre des trucs qui parlent de gdm. La en aucun cas on à besoin de gdm. Si gdm est démarré automatiquement :
Code:
killall gdm
(en root).
Maintenant que tu es en mode texte, tu te loggue normalement et tu fais startx

Si ça ne marche pas :
Code:
echo "exec /usr/bin/startfluxbox" > .xinitrc
startx


Si ça marche toujours pas, donne le message d'erreur exact.
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
3.1415
Apprentice
Apprentice


Joined: 29 Jan 2004
Posts: 199
Location: Stanford, CA, USA

PostPosted: Sat Nov 13, 2004 10:20 am    Post subject: Reply with quote

dans mon .xinitrc je n'ai qu'un seul mot: fluxbox

lu dans rc.conf:
Code:

# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit.  The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to.  The support scripts is smart enouth to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enligtenment" can also work.  This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE:  1) this behaviour is overridden when a ~/.xinitrc exists, and startx
#           is called.
#        2) even if a ~/.xsession exist, if XSESSION can be resolved, it will
#           be executed rather than ~/.xsession, else KDM breaks ...


a tt hasard que te sort la commande suivante?

Code:
ls /etc/X11/Sessions

_________________
A 3.14% près...
3.14@jabber.aster.pl
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2326
Location: Bretagne

PostPosted: Sat Nov 13, 2004 11:26 am    Post subject: Reply with quote

Oui normalement, ça doit suffire si tu met simplement fluxbox dans ton ~/.xinitrc

à savoir:

Code:
echo "fluxbox" > ~/.xinitrc


ou

Code:
nano -w ~/.xinitrc

et tu ajoutes simplement: fluxbox
Back to top
View user's profile Send private message
pititjo
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 245
Location: Paris (France)

PostPosted: Sat Nov 13, 2004 6:45 pm    Post subject: Reply with quote

Super, ça marche !!
Il suffisait de mettre "fluxbox" dans le .xinitrc et pas /usr/bin/startfluxbox.

Va faloir que je test ça maintenant, et que je donne vie au truc parceque là, c'est vraiment mort :evil:

Merci :D
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Sat Nov 13, 2004 6:53 pm    Post subject: Reply with quote

Heu c'est pas vraiment ça... Ca veut dire que tu as pas startfluxbox.
Que te renvois ces commandes :
Code:
which fluxbox
which startfluxbox

_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
pititjo
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 245
Location: Paris (France)

PostPosted: Sat Nov 13, 2004 6:59 pm    Post subject: Reply with quote

Ça me donne respectivement :
Quote:
/usr/bin/startfluxbox

et
Quote:
/usr/bin/fluxbox

8)
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Sat Nov 13, 2004 7:07 pm    Post subject: Reply with quote

ok bah alors remplace fluxbox par startfluxbox dans ton .xinitrc.
Ca te permet d'utiliser le fichier startup, c'est toujours mieux ;)
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
pititjo
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 245
Location: Paris (France)

PostPosted: Sat Nov 13, 2004 7:40 pm    Post subject: Reply with quote

Dans la mesure où startfluxbox m'affiche le splendide message d'erreur, je suppose le problème vient du startup justement.
D'ailleur, il sert à quoi ce faleux startup qui me casse les pieds? C'est ci utile que ça (il m'en faut pas baucoup pour que ça le soit) où bien je peu m'en passer et ne pas tenter de résoudre le problème ?
([url]https://forums.gentoo.org/viewtopic.php?t=251049[/url ]J'ai d'autre problème sur le feux..., d'ailleur, les deux problème ne pourait-ils pas être liés?)
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Sat Nov 13, 2004 8:21 pm    Post subject: Reply with quote

En gros ce fichier te permet de définir un wallpaper facilement sans respecter la syntaxe du fichier init. Mais le mieux est qu'il permet de démarrer des applis au démarrage de fluxbox.
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
pititjo
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 245
Location: Paris (France)

PostPosted: Sat Nov 13, 2004 8:38 pm    Post subject: Reply with quote

alors il faut que je trouve comment régler le problème :D
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Sat Nov 13, 2004 9:13 pm    Post subject: Reply with quote

bosozoku wrote:
ok bah alors remplace fluxbox par startfluxbox dans ton .xinitrc.
Ca te permet d'utiliser le fichier startup, c'est toujours mieux ;)

pourquoi moi j'ai fluxbox dans mon .xinitrc et voilà.
et j'ai mon fichier startup perso que je fais appeler au démarrage de fluxbox, il appelle même un script perl pour la rotation des wallpapers.
C'est donc pas une obligation d'avoir startfluxbox.

si tu le mets pas, tu peux quand même utiliser un script d'initialisation, il suffit de mettre
Code:
session.screen0.rootCommand: cheminverstonscript

dans le init
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Sat Nov 13, 2004 9:21 pm    Post subject: Reply with quote

C'est startfluxbox qui génère le fichier startup.

Quand je démarre fluxbox avec /usr/bin/fluxbox, le startup n'est pas pris en compte.
startfluxbox est un script qui démarre fluxbox justement.
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
3.1415
Apprentice
Apprentice


Joined: 29 Jan 2004
Posts: 199
Location: Stanford, CA, USA

PostPosted: Sun Nov 14, 2004 4:14 am    Post subject: Reply with quote

quel est donc l'interet de demarrer fluxbox par la commande "startfluxbox" ?
_________________
A 3.14% près...
3.14@jabber.aster.pl
Back to top
View user's profile Send private message
bosozoku
Advocate
Advocate


Joined: 11 Jan 2004
Posts: 2431
Location: Roazhon

PostPosted: Sun Nov 14, 2004 10:05 am    Post subject: Reply with quote

3.1415 wrote:
quel est donc l'interet de demarrer fluxbox par la commande "startfluxbox" ?

Je l'ai déja dis, il génère le fichier startup et l'utilise. Startup est un script d'initialisation qui te permet de démarrer des apps puis il démarre fluxbox par /usr/bin.fluxbox justement.

mais comme l'a dis sireyessire, tu peux t'en passer en indiquand le chemin d'un te script dans le fichier init.
_________________
Stationlinux.org - Wiki Fvwm FR - Config Fvwm
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum