久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

Xmanager如何連接linux 5配置

170次閱讀
沒有評論

共計 2685 個字符,預(yù)計需要花費 7 分鐘才能閱讀完成。

自動寫代碼機(jī)器人,免費開通

這篇文章給大家分享的是有關(guān) Xmanager 如何連接 linux 5 配置的內(nèi)容。丸趣 TV 小編覺得挺實用的,因此分享給大家做個參考,一起跟隨丸趣 TV 小編過來看看吧。

redhat as 5 用 root 用戶通過 xmanager 連接配置  

一、XMANAGER   連接到 REDHAT AS 5   需要修改的地方。

rhel5 與 rhel4 不同的地方是,rhel5 裡沒有 /etc/X11/gdm/ 這個目錄,rhel5 的 gdm 的配置文件放在這裡 /usr/share/gdm/defaults.comf,這一點可能是困擾大家的地方。
在 /usr/share/gdm/defaults.conf 裡確保有以下幾句配置:
Enable=true
DisplaysPerHost=10
Port=177
在 /etc/inittab 裡把默認(rèn)級別改為 5:
id:5:initdefault:
再在這個文件裡加一句:
x:5:respawn:/usr/bin/gdm
然后重啟系統(tǒng)。然后在 windows 系統(tǒng)上運行 xmanager2 裡的 Xbrowser 程序,在裡面新建一個 Xmanager Session,在 Host 這裡輸入 ip 地址,其它配置都不要改變(包括端口號),確定退出。然后雙擊這個 New Xmanager Session,看到登錄界面:

二、如果允許 Root 用戶連接到 XMANAGER 需要修改以下內(nèi)容:

  # 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
}
~
~

 

感謝各位的閱讀!關(guān)于“Xmanager 如何連接 linux 5 配置”這篇文章就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,讓大家可以學(xué)到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!

向 AI 問一下細(xì)節(jié)

丸趣 TV 網(wǎng) – 提供最優(yōu)質(zhì)的資源集合!

正文完
 
丸趣
版權(quán)聲明:本站原創(chuàng)文章,由 丸趣 2023-12-07發(fā)表,共計2685字。
轉(zhuǎn)載說明:除特殊說明外本站除技術(shù)相關(guān)以外文章皆由網(wǎng)絡(luò)搜集發(fā)布,轉(zhuǎn)載請注明出處。
評論(沒有評論)
主站蜘蛛池模板: 庆阳市| 乃东县| 基隆市| 锦州市| 大理市| 宜君县| 乐昌市| SHOW| 兴安盟| 望江县| 宜城市| 林甸县| 济宁市| 中宁县| 灵丘县| 承德市| 包头市| 平谷区| 类乌齐县| 长葛市| 五莲县| 怀柔区| 浦县| 九寨沟县| 汶上县| 普洱| 德令哈市| 长乐市| 江安县| 柯坪县| 远安县| 梧州市| 兴宁市| 个旧市| 长葛市| 雅安市| 伊金霍洛旗| 乌苏市| 滕州市| 乐业县| 会泽县|