Xmanager 使用Xshell连接Linux

Xshell连接VMware下的Linux
本文介绍如何通过XManager的Xshell组件实现从Windows物理机远程连接到VMware虚拟机中的Linux系统,解决了直接在VMware中操作Linux不便的问题。

问题描述:

由于学习环境限制,我们在物理机(Win7/Win8/XP)上安装VMware Workstation,通过VMware安装Linux来学习。但是,在VMware中操作Linux非常麻烦,费事,比如命令行下不能复制粘贴,拖拉文件困难等等。

解决方案:

通过物理机安装XManager,使用XManager下的Xshell远程连接VMware下的Linux。

具体方法:

一、前言

Xmanager是一款小巧、便捷的浏览远端X窗口系统的工具。在工作中经常使用Xmanager来登录远端的linux系统,在X窗口系统上作图形化的操作。在UNIX/Linux和Windows网络环境中,Xmanager 是最好的连通解决方案。Xmanager 是全新标准的跨平台集成解决方案。它是一个一站式解决方案,这个软件包含有以下一些产品:Xmanager 3D(OpenGL),Xshell,Xftp和Xlpd。

Xshell是一个用于MS Windows平台的强大的SSH,TELNET,和RLOGIN终端仿真软件。它使得用户能轻松和安全地从Windows PC上访问Unix/Linux主机。

去百度搜索Xmanager即可下载安装,安装后只需要使用它下面的Xshell即可。

二、环境

系统:win8.1(物理机) RedHat5 64位(虚拟机)

软件:

vmware workstation 10.0 http://www.linuxidc.com/Linux/2012-11/73743.htm

xmanager enterprise 4

三、建议

1.建议先去熟悉掌握另外两篇博客,掌握怎样配置IP及虚拟机网络连接方式再尝试本实验。

2.建议Linux不要安装桌面环境或使用桌面环境,尽量多使用命令行方式操作。

CentOS安装setup http://www.linuxidc.com/Linux/2012-11/73743.htm

VMware虚拟机网络模式的区别 http://www.linuxidc.com/Linux/2014-10/107893.htm

Xshell使用技巧及sshd配置使用及Linux系统邮件查看及清空 http://www.linuxidc.com/Linux/2014-07/104551.htm

Xshell 登录 CentOS 6.3 中文乱码的解决 http://www.linuxidc.com/Linux/2013-06/86600.htm

VirtualBox4.12文本安装CentOS 5.4以及Xshell连接教程 PDF http://www.linuxidc.com/Linux/2013-06/85575.htm

四、连接(虚拟机网络连接使用host-only方式)

1.保证linux下ssh开启(默认开启)

netstat -tupln |grep ssh

运行:tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1539/sshd

service sshd status

运行:openssh-daemon (pid 1539) is running…

2.保证物理机和虚拟机是能正常通信的,建议关闭物理机防火墙。
service iptables status可以查看到iptables服务的当前状态。
1) 重启后生效
开启: chkconfig iptables on
关闭: chkconfig iptables off
2) 即时生效,重启后失效
开启: service iptables start
关闭: service iptables stop

3.打开Xshell,输入IP,进行连接。

ssh 192.168.230.129

弹出提示框:输入用户名,连接成功后如果是第一次连接成功,弹出一个提示框大体意思是“需要需要保存该ip的密码,一次性使用还是继续保存”点击继续保存。再输入密码/口令。点击OK即可

### Xshell 8 Compatible Xmanager Version For ensuring compatibility between Xshell 8 and Xmanager, it is important to use versions that are designed to work together seamlessly. When configuring terminal sessions within Xshell 8, the option to forward X11 connections specifically targets working with an X server such as Xmanager[^1]. The latest editions of both Xshell and Xmanager from the same vendor typically maintain backward and forward compatibility for a few versions prior or later. Therefore, using **Xmanager 7** alongside Xshell 8 should provide stable performance without issues because these two belong to similar generation products. To establish this setup effectively: - Ensure Xmanager Passive mode can be activated so that it waits for incoming connections initiated by applications through Xshell. ```bash # Example command line instruction to start Xmanager in passive mode (this might vary based on actual implementation) Xmanager -passive ``` Moreover, while setting up environments where graphical forwarding over SSH is required, confirming that all components including operating system libraries support necessary protocols plays a critical role. For instance, certain Linux kernel configurations may influence how well GUI programs display remotely via X11 forwarding depending upon their build settings like those found in older distributions[^3]. --related questions-- 1. What specific configuration steps must one follow when enabling X11 forwarding inside Xshell? 2. How does starting Xmanager in passive mode affect security policies concerning remote desktop access? 3. Can you explain what changes were introduced in newer kernels regarding X11 protocol handling compared to earlier ones mentioned here?
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值