XenServer5.5 上で動いている CentOS5 に ORACLE11g をインストールしようと思い
XenCenter のコンソールから startx を打ったところ
(EE) Unable to locate/open config file
xf86PciVideoInfo is not set
(==) Using default built-in configuration (45 lines)
(EE) open /dev/fb0: No such file or directory
(EE) No devices detected.
Fatal server error:
no screens found
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
とエラーがでてしまう。
何も考えずに X Window を再インストール。
yum groupremove "GNOME Desktop Environment" yum groupinstall "GNOME Desktop Environment"
やっぱりダメ。。。
Google先生に Citrixのサイト 内を 「vnc」 で検索してもらうと
4.7. VM 用 VNC の設定 がありました^ー^
読み進めていくと、「GDM 設定ファイル」にアレコレ追加する必要があるようなので追加してみます。
vi /etc/gdm/custom.conf # NOTE: Lines that begin with "#" are considered comments. # # Have fun! [daemon] [security] [xdmcp] [gui] [greeter] [chooser] [debug] # Note that to disable servers defined in the defaults.conf file (such as # 0=Standard, you must put a line in this file that says 0=inactive, as # described in the Configuration section of the GDM documentation. # [servers] 0=VNC [server-VNC] name=VNC Server command=/usr/bin/Xvnc -SecurityTypes None -geometry 1024x768 -depth 16 -BlacklistTimeout 0 flexible=true # Also note, that if you redefine a [server-foo] section, then GDM will # use the definition in this file, not the defaults.conf file. It is # currently not possible to disable a [server-foo] section defined # in the defaults.conf file.
んでもって
gdm start startx xauth: creating new authority file /root/.serverauth.3119 Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key giving up. xinit: unable to connect to X server xinit: No such process (errno 3): Server error.
ぐはっ><
・・・
とりあえず /tmp/.X0-lock を削除してみて
再起動。
おっ!!
XenCenter のコンソールに「switch to graphical console」 のボタンが押せるようになりました。
さっそく押してみると。
またもや失敗・・・
ネットを徘徊していると
Thread: Cannot get VNC to CentOS 5.2 x64 on XenServer 5 なんてのを発見@@
パラパラ読んでいると(英語は読めないので半分は想像です)
xen-tools はインストールしたか?
vncserver は自動起動にしたか?
inittab の runlevel は5にしたか?
と書かれてます。
さっそくやってみます。
どのプロセスを再起動していいのかわからないので
「shutdown -r now」
んで
「switch to graphical console」 ボタンを押してみると・・・

ようやくグラフィカルログインが起動しました!!
まだ英語表示だが、i18n を書き換えると日本語表示になる気がするので今日はこれでお終い、
タグ: 新規タグの追加