icewm を起動するにはどうすればいいですか?

icewm を起動するにはどうすればいいですか?

icewm1.2.13をインストールしました。Metacityがデフォルトのウィンドウ マネージャーです。通常、ウィンドウ マネージャーを置き換えるには--replace、 などのオプションが使用されますmetacity --replace。ただし、私のバージョンの にはicewmこのオプションがありません。:

# 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...

起動しようとすると、icewm次のメッセージが表示されます:

# 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...

どうやって始めますかicewm

(私はCentos 6.5を使用しています)

===編集===

Start with--replaceオプションでも同じ結果になります:

# 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...

===編集===

解決策はいくつか見つかりましたが、不便でした。システムrunlevelを 3 に変更しました。これにより、グラフィカル モードが無効になります。テキスト モードでは、次のコマンドを実行します。

# which icewm
/path
# xinit -e /path

xterm実行するために必要です。

もっと良い解決策はありますか? ウィンドウ マネージャーを単純に置き換えたいのですが。

=====編集==== 私の 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

答え1

私が言えるのは、icewm-sessionこれが IceWM を起動するための推奨方法だということです。これは現在も作業中です... 今のところ、 を使用して起動できます$ startx icewm-sessionが、グローバル X 設定は IceWM のデフォルトで上書きされ、IceWM セッションが起動すると、デフォルトで仮想端末が開きます。セッションを閉じるには、その端末で Ctrl+C を押す必要があります。そうしないと、そのままになります...

楽しむ! ;)

関連情報