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

}

~

Xmanager远程桌面linux,Windows下通过Xmanager远程桌面控制Linux相关推荐

  1. Windows下使用VSCode远程搭建Linux开发平台

    Windows下使用VSCode远程搭建Linux开发平台 前言 1.开启Windows的SSH功能 1.1.打开设置,进入应用 1.2.进入可选功能 1.3.安装SSH功能 2.开启Linux的SS ...

  2. windows远程android传输文件,电脑(Linux/Windows)使用SSH远程登录安卓(Android)手机实现无线传输和管理文件(图文详解)-Go语言中文社区...

    电脑(Linux/Windows系统)使用SSH远程登录安卓(Android)手机实现无线传输和管理文件(图文详解) 温馨提示 本文只针对安卓(Android)手机!iPhone或者WP的手机用户,请 ...

  3. windows下用XShell远程ubuntu时连接失败

    现象描述:Ubuntu能Ping通主机,主机也能ping通虚拟机.但是windows下用XShell远程ubuntu时连接失败. 解决方案: 步骤: 1.查看一下防火墙状态:sudo ufw disa ...

  4. windows下本地或者远程连接MYSQL数据库,报1130错误的解决方法

    windows下本地或者远程连接MYSQL数据库,报1130错误的解决方法 参考文章: (1)windows下本地或者远程连接MYSQL数据库,报1130错误的解决方法 (2)https://www. ...

  5. windows下写的脚本,在linux下执行失败

    Windows中的换行符为CRLF, 即正则表达式的rn(ASCII码为13和10), 而Unix(或Linux)换行符为LF, 即正则表达式的n. 在Windows和Linux下协同工作的时候, 往 ...

  6. 数据挖掘实验二结果(构建cube的三个维度,即三个txt,然后做各种查询)C++实现(代码调试环境为Windows下的CLion使用WSL的Linux)

    数据挖掘实验二结果(构建cube的三个维度,即三个txt,然后做各种查询)C++实现(代码调试环境为Windows下的CLion使用WSL的Linux) 构建cube的三个维度,查询三家店七天四物的销 ...

  7. oracle10g数据库复制,windows 下oracle 10G 数据库移植到 linux平台 (通过文件直接复制方法)...

    windows 下oracle 10G  数据库移植到 linux平台 (通过文件直接复制方法) 最近学习了一下oracle数据库启动原理,于是,就把在windows创建起来做测试的数据库 移植到li ...

  8. win7 linux ssh key,Windows下创建SSH Key并登录Linux服务器

    上一篇文章我给大家普及了在macOS下创建SSH Key并登录Linux服务器的操作,这篇文章带大家了解一下在Windows下创建SSH Key并登录Linux服务器的操作流程. 创建SSH Key ...

  9. windows 打包 python 然后linux执行_使用pyinstaller打包python源代码,成为linux/windows下可执行文件...

    pyinstaller,打包python源代码,成为linux/windows下可执行文件,多平台 下载:http://www.pyinstaller.org/static/ http://www.p ...

最新文章

  1. oracle sys sysman system 介绍
  2. Linux下CMake简明教程(六)动态库和静态库的编译控制
  3. 使用摄像头运行ORB SLAM2---使用视频运行ORB-SLAM2
  4. Shell echo-使用echo实现更复杂的输出格式控制
  5. 最优化方法(无约束)转载
  6. maven deploy上传本地jar至私服
  7. Matlab里evalin和assignin的用法
  8. less is more,so 只记 less
  9. 是无数像老钟叔的p8u8
  10. 初识NodeJS,一个基于GoogleV8引擎的Javascript运行环境
  11. Leetcode 199.二叉树的右视图
  12. 巧用DictionaryTKey,TValue,完成客户需求
  13. 查询一个表插入数据的时间,按BLOCK时间
  14. 基于ROS的机械臂手眼标定-常见错误排查
  15. Android——ViewHolder的作用与用法
  16. 使用excel分类汇总数据生成饼图
  17. 作为空降领导,该如何做?
  18. 【NCRE】---拼接SQL语句(Case....When语句)
  19. 商品ETF的分类及运作模式
  20. 手机端兼容iPhoneX刘海屏

热门文章

  1. Log4j的基本应用
  2. 仿b站demo(效果图)
  3. linux切换内核版本
  4. webshell、木马与后门之间的区别
  5. uboot-顶层Makefile注释
  6. 传感器课程实验:传感器静态特性研究-应变式传感器
  7. Tomcat 在IE中下载rar文件直接以乱码方式打开解决方案
  8. 妙控键盘如何连接到 Macbook--小技巧
  9. java中函数编程的妙用
  10. Windows 下使用 grub2 制作美观的维护U盘