※注意: 本番運用時にはランレベルを落とす方がベターです。
1. Xの起動及び設定確認Section "Device" Identifier "FBDev" Option "UseFBDev" "true" # [bool] Driver "fbdev" BusID "PCI:1:0:0" VideoRam 16384 EndSection Section "Screen" Identifier "Screen 1" Device "FBDev" Monitor "My Monitor" DefaultDepth 16 Subsection "Display" Depth 8 Modes "640x480" "800x600" "1024x768" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "640x480" "800x600" "1024x768" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "640x480" "800x600" "1024x768" ViewPort 0 0 EndSubsection EndSection Screen "Screen 1"2. XDMCP接続の設定
[daemon] ... KillInitClients=true ... [xdmcp] Enable=false ... [debug] Enable=false修正後
[daemon] ... KillInitClients=false ... [xdmcp] Enable=true ... [debug] Enable=true
※注意: 構築後、グラフィカルログイン(gdm経由ログイン)に問題がないことが確認できたら[debug]の設定は必ず元の「Enable=false」に戻してください。
3. ランレベルの変更head -19 /etc/inittab # # inittab This file describes how the INIT process should set up # the system in a certain run-level. # # Author: Miquel van Smoorenburg,「/etc/inittab」ファイルの[id:3:initdefault:]の個所を編集し、下記のように5へ変更します。 これでgdm経由でGNOMEが起動します。(正確には「/etc/X11/prefdm」で記述されているマネージャが起動)# Modified for RHS Linux by Marc Ewing and Donnie Barnes # # Default runlevel. The runlevels used by RHS are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:3:initdefault:
id:5:initdefault:4. 追加設定
rm -f $HOME/.ICEauthority rm -fr /tmp/.ICE-unix/* sleep 2問題がなければ、これでX端末よりXDMCP接続が可能になります。 つまりリモートにてグラフィカルログインが可能になります。