[RedHat EL 5] gdm configuration.

How to setup gdm in RH el 5.

main config files: custom.conf / Default

RemoteDesktopPreference.png: 執行 vino-preferences 的 diagram,這跟執行下列 command 是一樣的
[ ]# gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled true    
; 設定在 VNC Viewer 要輸入 Password
[ ]# gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled false    
; 設定在 VNC Viewer 不需要輸入 Password
[ ]# gconftool-2 -g /desktop/gnome/remote_access/prompt_enabled                     
; 取得上述設定值


設定 gdm
[ ]# gdmsetup  或直接編輯 "[ ]# vi /etc/gdm/custom.conf" 也行

改動完成後 重啟 X-windows (會logout, 所以確定檔案都存檔好)
[ ]# gdm-restart

vino-preferences 
gconftool-2 -g /desktop/gnome/remote_access/authentication_methods
gconftool-2 -g /desktop/gnome/remote_access/vnc_password
gconftool-2 -g /desktop/gnome/remote_access/prompt_enabled
gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled true
gconftool-2 -g /desktop/gnome/remote_access/prompt_enabled
gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled false

[]# gconftool-2 -g /desktop/gnome/remote_access/authentication_methods
[none]
[]# gconftool-2 -g /desktop/gnome/remote_access/vnc_password
aWFtc3Vubnk=
[]# gconftool-2 -g /desktop/gnome/remote_access/prompt_enabled
false
[]# gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled true
[]# gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled false
[]# gconftool-2 -g /desktop/gnome/remote_access/prompt_enabled
false

[]# vi /etc/gdm/Init/Default 
fi

/usr/libexec/vino-server &

exit 0
[]#vi /etc/gdm/custom.conf  
[daemon]
RemoteGreeter=/usr/libexec/gdmgreeter
TimedLoginEnable=false
AutomaticLoginEnable=false
TimedLogin=
AutomaticLogin=
TimedLoginDelay=30
KillInitClients=false
HaltCommand=
RebootCommand=
SuspendCommand=
DoubleLoginWarning=true

[security]
DisallowTCP=false
AllowRemoteRoot=true

[xdmcp]
DisplaysPerHost=1
Enable=true
HonorIndirect=false
MaxSessions=1

[gui]

[greeter]

[chooser]

[debug]

[servers] 
 
0=Standard
[]# gdmsetup 
[]# gdm-restart 

沒有留言:

張貼留言