J'ai installé icewm1.2.13. Metacityest mon gestionnaire de fenêtres par défaut. Habituellement, l' --replaceoption de remplacement du gestionnaire de fenêtres est utilisée, par exemple metacity --replace. Mais ma version de icewmn'a pas cette option. :
# icewm --help
IceWM: using /root/.icewm for private configuration files
Usage: icewm [OPTIONS]
Starts the IceWM window manager.
Options:
  --display=NAME      NAME of the X server to use.
  --client-id=ID      Client id to use when contacting session manager.
  --sync              Synchronize X11 commands.
  -c, --config=FILE   Load preferences from FILE.
  -t, --theme=FILE    Load theme from FILE.
  -x, --cursor=[small|medium|large|huge]  cursor size.
  -n, --no-configure  Ignore preferences file.
  -v, --version       Prints version information and exits.
  -h, --help          Prints this usage screen and exits.
  --restart           Don't use this: It's an internal flag.
Environment variables:
  ICEWM_PRIVCFG=PATH  Directory to use for user private configuration files,
                      "$HOME/.icewm/" by default.
  DISPLAY=NAME        Name of the X server to use, depends on Xlib by default.
  MAIL=URL            Location of your mailbox. If the schema is omitted
                      the local "file" schema is assumed.
Visit http://www.icewm.org/ for report bugs, support requests, comments...
Lorsque j'essaie de commencer, icewmje reçois ce message:
# icewm
IceWM: using /root/.icewm for private configuration files
IceWM: xinerama: heads=1
IceWM: xinerama: 0 +0+0 1680x1050
IceWM: xinerama: heads=1
IceWM: xinerama: 0 +0+0 1680x1050
IceWM: Another window manager already running, exiting...
Comment débuter icewm?
(J'utilise Centos 6.5)
=== EDIT ===
Démarrer avec --replaceoption donne le même résultat:
# icewm --replace
IceWM: using /root/.icewm for private configuration files
IceWM: xinerama: heads=1
IceWM: xinerama: 0 +0+0 1680x1050
IceWM: xinerama: heads=1
IceWM: xinerama: 0 +0+0 1680x1050
IceWM: Another window manager already running, exiting...
=== EDIT ===
J'ai trouvé une solution mais c'est inconfortable. J'ai changé le système runlevelà 3. Cela désactive le mode graphique. Quand je suis en mode texte, je commande:
# which icewm
/path
# xinit -e /path
xterm est nécessaire pour l'exécuter.
Y a-t-il une meilleure solution? Je voudrais simplement remplacer le gestionnaire de fenêtres.
===== EDIT ==== Ma version Linux:
$ lsb_release -a
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 6.5 (Final)
Release:    6.5
Codename:   Final
          /usr/share/xsessions(similaire). C’est là que GDM tire sa liste.