XMANAGER 連線到REDHAT AS 5
一、 XMANAGER 連線到REDHAT AS 5 需要修改的地方。
rhel5與rhel4不同的地方是,rhel5裡沒有/etc/X11/gdm/這個目錄,rhel5的gdm的配置檔案放在這裡/usr/share/gdm/defaults.comf,這一點可能是困擾大家的地方。
在/usr/share/gdm/defaults.conf裡確保有以下幾句配置:
[@more@]Enable=true
DisplaysPerHost=10
Port=177
在/etc/inittab裡把預設級別改為5:
id:5:initdefault:
再在這個檔案裡加一句:
x:5:respawn:/etc/X11/prefdm -nodaemon
然後重啟系統。然後在windows系統上執行xmanager2裡的Xbrowser程式,在裡面新建一個Xmanager Session,在Host這裡輸入ip地址,其它配置都不要改變(包括埠號),確定退出。然後雙擊這個New Xmanager Session,看到登入介面:
二、 如果允許Root使用者連線到XMANAGER 需要修改以下內容:
# vi defaults.conf
[security]
# Allow root to login. It makes sense to turn this off for kiosk use, when
# you want to minimize the possibility of break in.
AllowRoot=true
# Allow login as root via XDMCP. This value will be overridden and set to
# false if the /etc/default/login file exists and contains
# "CONSOLE=/dev/login", and set to true if the /etc/default/login file exists
# and contains any other value or no value for CONSOLE.
AllowRemoteRoot=true
# This will allow remote timed login.
AllowRemoteAutoLogin=false
# 0 is the most restrictive, 1 allo
#vi /etc/securetty
......
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
pts/0
pts/1
pts/2
pts/3
pts/4
新增這一些。
# vi /etc/pam.d/login
#%PAM-1.0
#auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session include system-auth
session required pam_loginuid.so
session optional pam_console.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
~
#vi /etc/pam.d/remote
#%PAM-1.0
#auth required pam_securetty.so
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session include system-auth
session required pam_loginuid.so
session optional pam_console.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
~
~
#vi /etc/xinetd.d/telnet
# default: on
# description: The telnet server serves telnet sessions; it uses
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}
~
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7490392/viewspace-1024435/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- xmanager 連線 redhat as 4Redhat
- xmanager 2.0連線redhat as 4的設定方法Redhat
- Xmanager連線linux 5配置Linux
- xmanager 連線
- 配置xmanager3連線RHEL5
- 【Xmanager】Windows下通過Xmanager遠端桌面控制Redhat5WindowsRedhat
- 用xmanager 連線aixAI
- Xmanager在RHEL5的遠端連線配置
- redhat4 配置xmanagerRedhat
- Xmanager連線Linux 5.8配置Linux
- redhat (RHEL5) 連線 iSCSI SAN儲存Redhat
- redhat6.6的xmanager配置Redhat
- Windows XP下用xmanager遠端桌面控制Linux之redhat 5WindowsLinuxRedhat
- Aix之 xmanager 2.0連線AIX伺服器AI伺服器
- Xmanager XDMCP遠端連線Linux圖形介面Linux
- Xmanager2.0連線不上遠端的Red Hat Enterprise Linux5Linux
- 解決Xmanager連線HPUX顯示亂碼的問題UX
- Xmanager4遠端連線linux圖形介面(vsftpd配置)LinuxFTP
- redhat 5 在虛擬機器vmware中連線ADSL網路方法詳述Redhat虛擬機
- redhat 5 iscsiRedhat
- Azure web 連線到Azure databaseWebDatabase
- dockerSSH用ssh連線到dockerDocker
- 如何連線到HybridDB(Greenplum)
- 從連線到資料(一)
- 從連線到資料(二)
- 從連線到資料(三)
- php5.X連線kafkaPHPKafka
- linux遠端工具xmanager--遠端圖形介面配置(redhat6.0)LinuxRedhat
- 如何將 MacBook 連線到電視,怎麼把蘋果電腦連線到電視機Mac蘋果
- 2.4.7 Step 6: 連線到例項
- 如何將MacBook連線到電視?Mac
- oracle 到 db2 通用連線OracleDB2
- 使用串列埠連線到Linux串列埠Linux
- 連線到資料庫(JSP)資料庫JS
- 資料庫連線學到不少資料庫
- 在Windwos系統中用Xmanager2.0連線遠端AIX系統顯示圖形介面AI
- Win8.1連線受限和無法連線到wifi解決方法WiFi
- Linux + OS RedHat AS 5LinuxRedhat