View previous topic :: View next topic |
Author |
Message |
pititjo Apprentice
Joined: 19 Sep 2004 Posts: 245 Location: Paris (France)
|
Posted: Fri Nov 12, 2004 10:54 pm Post subject: [fluxbox] veut pas se lancer (résolu) |
|
|
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 |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Fri Nov 12, 2004 10:59 pm Post subject: Re: [fluxbox] veut pas se lancer (non résolu) |
|
|
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 |
|
|
pititjo Apprentice
Joined: 19 Sep 2004 Posts: 245 Location: Paris (France)
|
Posted: Fri Nov 12, 2004 11:04 pm Post subject: |
|
|
C'est gênant, je l'est pas ce fichier là (c'est bien ds /home/moi qu'il doit être non?) |
|
Back to top |
|
|
bosozoku Advocate
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Fri Nov 12, 2004 11:05 pm Post subject: |
|
|
pititjo wrote: | C'est gênant, je l'est pas ce fichier là (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
@ bosozoku: c'est trop long à écrire le exec blabla et ça marche avec juste fluxbox alors... _________________ 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 |
|
|
bosozoku Advocate
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Fri Nov 12, 2004 11:06 pm Post subject: |
|
|
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.... _________________ Stationlinux.org - Wiki Fvwm FR - Config Fvwm |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Fri Nov 12, 2004 11:07 pm Post subject: |
|
|
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.... |
non je lui réponds entre 2 trucs, alors il faut aller vite _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
|
pititjo Apprentice
Joined: 19 Sep 2004 Posts: 245 Location: Paris (France)
|
Posted: Fri Nov 12, 2004 11:17 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
bosozoku Advocate
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
|
Back to top |
|
|
pititjo Apprentice
Joined: 19 Sep 2004 Posts: 245 Location: Paris (France)
|
Posted: Sat Nov 13, 2004 6:27 am Post subject: |
|
|
C'est pas pour déchanter mais j'ai le même message en faisaint startx |
|
Back to top |
|
|
bosozoku Advocate
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Sat Nov 13, 2004 10:13 am Post subject: |
|
|
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 : (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 |
|
|
3.1415 Apprentice
Joined: 29 Jan 2004 Posts: 199 Location: Stanford, CA, USA
|
Posted: Sat Nov 13, 2004 10:20 am Post subject: |
|
|
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 |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Sat Nov 13, 2004 11:26 am Post subject: |
|
|
Oui normalement, ça doit suffire si tu met simplement fluxbox dans ton ~/.xinitrc
à savoir:
Code: | echo "fluxbox" > ~/.xinitrc |
ou
et tu ajoutes simplement: fluxbox |
|
Back to top |
|
|
pititjo Apprentice
Joined: 19 Sep 2004 Posts: 245 Location: Paris (France)
|
Posted: Sat Nov 13, 2004 6:45 pm Post subject: |
|
|
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
Merci |
|
Back to top |
|
|
bosozoku Advocate
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Sat Nov 13, 2004 6:53 pm Post subject: |
|
|
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 |
|
|
pititjo Apprentice
Joined: 19 Sep 2004 Posts: 245 Location: Paris (France)
|
Posted: Sat Nov 13, 2004 6:59 pm Post subject: |
|
|
Ça me donne respectivement :
Quote: | /usr/bin/startfluxbox |
et
|
|
Back to top |
|
|
bosozoku Advocate
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Sat Nov 13, 2004 7:07 pm Post subject: |
|
|
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 |
|
|
pititjo Apprentice
Joined: 19 Sep 2004 Posts: 245 Location: Paris (France)
|
Posted: Sat Nov 13, 2004 7:40 pm Post subject: |
|
|
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 |
|
|
bosozoku Advocate
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Sat Nov 13, 2004 8:21 pm Post subject: |
|
|
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 |
|
|
pititjo Apprentice
Joined: 19 Sep 2004 Posts: 245 Location: Paris (France)
|
Posted: Sat Nov 13, 2004 8:38 pm Post subject: |
|
|
alors il faut que je trouve comment régler le problème |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sat Nov 13, 2004 9:13 pm Post subject: |
|
|
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 |
|
|
bosozoku Advocate
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Sat Nov 13, 2004 9:21 pm Post subject: |
|
|
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 |
|
|
3.1415 Apprentice
Joined: 29 Jan 2004 Posts: 199 Location: Stanford, CA, USA
|
Posted: Sun Nov 14, 2004 4:14 am Post subject: |
|
|
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 |
|
|
bosozoku Advocate
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Sun Nov 14, 2004 10:05 am Post subject: |
|
|
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 |
|
|
|