-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathju-yu-wang-yuan-cheng-lian-jie-vmware-de-linux.html
41 lines (29 loc) · 36.3 KB
/
ju-yu-wang-yuan-cheng-lian-jie-vmware-de-linux.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>局域网远程连接vmware的linux - Dylan</title><meta name="keywords" content="linux"><meta name="description" content=" 远程linux端配置
首先vmware虚拟机用桥接方式进行启动
进入系统后,输入ifconfig看IP配置,记下IP地址
设置完成后,需要关闭防火墙才能进行访问(没有防火墙的跳过)
/etc/init.d/iptables stop #关闭防火墙
/etc/init.d/iptables status #查看防火墙状态
查看是否SSH是否安装启动:
/etc/init.d/sshd status #查看状态
/etc/init.d/sshd start #SSH开启
netstat -antp | grep sshd #确认SSH对外端口【默认为22】是否开启
"><meta name="HandheldFriendly" content="True"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><meta name="baidu-site-verification" content="Ar3EqWfUYV"><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/dxsm/cdn/lib/font-awesome/css/font-awesome.min.css"><link rel="shortcut icon" type="image/x-icon" href="https://fastly.jsdelivr.net/gh/dxsm/cdn/images/favicon.ico"><link rel="stylesheet" href="https://fastly.jsdelivr.net/gh/dxsm/[email protected]/css/style.css"><script>function setLoadingBarProgress(e){document.getElementById("loading-bar").style.width=e+"%"}</script><style>#loading-container{position:fixed;top:0;left:0;min-height:100vh;width:100vw;z-index:9999;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fff;text-align:center;-webkit-transition:opacity 1s ease;-moz-transition:opacity 1s ease;-o-transition:opacity 1s ease;transition:opacity 1s ease}.loading-image{width:120px;height:50px;transform:translate(-50%)}.loading-image div:nth-child(2){-webkit-animation:pacman-balls 1s linear 0s infinite;animation:pacman-balls 1s linear 0s infinite}.loading-image div:nth-child(3){-webkit-animation:pacman-balls 1s linear .33s infinite;animation:pacman-balls 1s linear .33s infinite}.loading-image div:nth-child(4){-webkit-animation:pacman-balls 1s linear .66s infinite;animation:pacman-balls 1s linear .66s infinite}.loading-image div:nth-child(5){-webkit-animation:pacman-balls 1s linear .99s infinite;animation:pacman-balls 1s linear .99s infinite}.loading-image div:first-of-type{width:0;height:0;border:25px solid #49b1f5;border-right-color:transparent;border-radius:25px;-webkit-animation:rotate_pacman_half_up .5s 0s infinite;animation:rotate_pacman_half_up .5s 0s infinite}.loading-image div:nth-child(2){width:0;height:0;border:25px solid #49b1f5;border-right-color:transparent;border-radius:25px;-webkit-animation:rotate_pacman_half_down .5s 0s infinite;animation:rotate_pacman_half_down .5s 0s infinite;margin-top:-50px}@-webkit-keyframes rotate_pacman_half_up{0%{transform:rotate(270deg)}50%{transform:rotate(1turn)}to{transform:rotate(270deg)}}@keyframes rotate_pacman_half_up{0%{transform:rotate(270deg)}50%{transform:rotate(1turn)}to{transform:rotate(270deg)}}@-webkit-keyframes rotate_pacman_half_down{0%{transform:rotate(90deg)}50%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate_pacman_half_down{0%{transform:rotate(90deg)}50%{transform:rotate(0)}to{transform:rotate(90deg)}}@-webkit-keyframes pacman-balls{75%{opacity:.7}to{transform:translate(-100px,-6.25px)}}@keyframes pacman-balls{75%{opacity:.7}to{transform:translate(-100px,-6.25px)}}.loading-image div:nth-child(3),.loading-image div:nth-child(4),.loading-image div:nth-child(5),.loading-image div:nth-child(6){background-color:#49b1f5;width:15px;height:15px;border-radius:100%;margin:2px;width:10px;height:10px;position:absolute;transform:translateY(-6.25px);top:25px;left:100px}.loading-text{margin-bottom:10vh;text-align:center;color:#2c3e50;font-size:2rem;box-sizing:border-box;padding:0 10px;text-shadow:0 2px 10px rgba(0,0,0,.2)}@media only screen and (max-width:500px){.loading-text{font-size:1.5rem}.loading-image{width:90px}}.fadeout{opacity:0}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0)}}</style><script>(function () {
const loaded = function(){
setTimeout(function(){
const loader = document.getElementById("loading-container");
loader.className="fadeout" ;//使用渐隐的方法淡出loading page
// document.getElementById("body-wrap").style.display="flex";
setTimeout(function(){
loader.style.display="none";
},1000);
},1000); //强制显示loading page 1s
};
loaded();
})()</script><meta name="generator" content="Hexo 5.4.0"></head><body><div id="loading-bar-wrapper"><div id="loading-bar" class="pure"></div></div><div id="loading-container"><p class="loading-text">玩命加载中 . . .</p><div class="loading-image"><div></div><div></div><div></div><div></div><div></div></div></div><script>setLoadingBarProgress(20)</script><header class="l_header pure"><div class="wrapper"><div class="nav-main container container--flex"><a class="logo flat-box" href="/">Dylan</a><div class="menu"><ul class="h-list"><li><a id="home" class="nav flat-box" href="/" target=""><i class="fa fa-home fa-fw"></i> 主页</a></li><li><a id="archives" class="nav flat-box" href="/archives/" target=""><i class="fa fa-archive fa-fw"></i> 归档</a></li><li><a id="listbooks.html" class="nav flat-box" href="/list/books.html" target=""><i class="fa fa-book fa-fw"></i> 书籍</a></li><li><a id="listtools.html" class="nav flat-box" href="/list/tools.html" target=""><i class="fa fa-wrench fa-fw"></i> 工具</a></li><li><a id="listgames.html" class="nav flat-box" href="/list/games.html" target=""><i class="fa fa-cubes fa-fw"></i> 娱乐</a></li><li><a id="box" class="nav flat-box" href="/box/" target="__blank"><i class="fa fa-flask fa-fw"></i> 百宝箱</a></li><li><a id="links" class="nav flat-box" href="/links/" target=""><i class="fa fa-link fa-fw"></i> 友链</a></li><li><a id="contact" class="nav flat-box" href="/contact/" target=""><i class="fa fa-comments-o fa-fw"></i> 留言版</a></li></ul></div><div class="m_search"><form name="searchform" class="form u-search-form"><input type="text" class="input u-search-input" placeholder="搜索"><span class="icon"><i class="fa fa-search fa-fw"></i></span></form></div><ul class="switcher h-list"><li class="s-search"><a class="fa fa-search fa-fw" href="javascript:void(0)"></a></li><li class="s-menu"><a class="fa fa-bars fa-fw" href="javascript:void(0)"></a></li></ul></div><div class="nav-sub container container--flex"><a class="logo flat-box"></a><ul class="switcher h-list"><li class="s-comment"><a class="flat-btn fa fa-comments fa-fw" href="javascript:void(0)"></a></li><li class="s-toc"><a class="flat-btn fa fa-list-ul fa-fw" href="javascript:void(0)"></a></li></ul></div></div></header><aside class="menu-phone"><section class="author" style="background-image:url(https://fastly.jsdelivr.net/gh/dxsm/cdn/images/nav-bg.jpg)"><div class="avatar-wrap"><div class="avatar" style="background-image:url(https://fastly.jsdelivr.net/gh/dxsm/cdn/images/avatar.png)"></div><span class="name">董续胜</span></div><p class="info">记录时光,走向成长</p></section><header><nav class="menu"><ul><li><a id="home" class="nav flat-box" href="/"><i class="fa fa-home fa-fw"></i> 主页</a></li><li><a id="archives" class="nav flat-box" href="/archives/"><i class="fa fa-archive fa-fw"></i> 归档</a></li><li><a id="categories" class="nav flat-box" href="/categories/"><i class="fa fa-th fa-fw"></i> 分类</a></li><li><a id="tags" class="nav flat-box" href="/tags/"><i class="fa fa-tags fa-fw"></i> 标签</a></li><li><a id="listbooks.html" class="nav flat-box" href="/list/books.html"><i class="fa fa-book fa-fw"></i> 书籍</a></li><li><a id="listtools.html" class="nav flat-box" href="/list/tools.html"><i class="fa fa-wrench fa-fw"></i> 工具</a></li><li><a id="listgames.html" class="nav flat-box" href="/list/games.html"><i class="fa fa-cubes fa-fw"></i> 娱乐</a></li><li><a id="box" class="nav flat-box" href="/box/"><i class="fa fa-flask fa-fw"></i> 百宝箱</a></li><li><a id="links" class="nav flat-box" href="/links/"><i class="fa fa-link fa-fw"></i> 友链</a></li><li><a id="contact" class="nav flat-box" href="/contact/"><i class="fa fa-comments-o fa-fw"></i> 留言版</a></li></ul></nav></header><hr><div class="social-wrapper"><a href="http://www.uestc.edu.cn/" title="2016年毕业于电子科技大学" class="social flat-btn" target="_blank" rel="external nofollow"><i class="social fa fa-university fa_fw" aria-hidden="true"></i></a><a href="http://gr.uestc.edu.cn/" title="硕士学历" class="social flat-btn" target="_blank" rel="external nofollow"><i class="social fa fa-graduation-cap fa_fw" aria-hidden="true"></i></a><a href="#" title="中国 上海" class="social flat-btn" target="_blank" rel="external nofollow"><i class="social fa fa-map-marker fa_fw" aria-hidden="true"></i></a><a href="#" title="QQ: 959229640" class="social flat-btn" target="_blank" rel="external nofollow"><i class="social fa fa-qq fa_fw" aria-hidden="true"></i></a><a href="mailto:[email protected]" title="[email protected]" class="social flat-btn" target="_blank" rel="external nofollow"><i class="social fa fa-envelope fa_fw" aria-hidden="true"></i></a></div></aside><script>setLoadingBarProgress(40)</script><div class="l_body"><div class="container clearfix"><div class="l_main"><article id="post" class="post white-box article-type-post" itemscope itemprop="blogPost"><section class="meta"><div class="meta" id="header-meta"><h1 class="title">局域网远程连接vmware的linux</h1><div class="new-meta-box"><div class="new-meta-item category"><a href="/categories/linux/"><i class="fa fa-folder-o" aria-hidden="true"></i> linux</a></div></div><hr></div></section><section class="article typo"><div class="article-entry" itemprop="articleBody"><h2 id="yuan-cheng-linux-duan-pei-zhi"><a class="markdownIt-Anchor" href="#yuan-cheng-linux-duan-pei-zhi"></a> 远程linux端配置</h2><ol><li><p>首先vmware虚拟机用桥接方式进行启动</p><p><img src="https://cdn.jsdelivr.net/gh/dxsm/cdn/images/loading.svg" alt="img" data-echo="https://cdn.jsdelivr.net/gh/dxsm/note@latest/assets/20170108130128497.png"></p></li><li><p>进入系统后,输入<code>ifconfig</code>看IP配置,记下IP地址</p></li><li><p>设置完成后,需要关闭防火墙才能进行访问(没有防火墙的跳过)</p><div class="prism-hl"><div class="code-tool"><div class="code-show" type="hide"><div class="show"><svg viewBox="0 0 1024 1024" fill="none" version="1.1" xmlns="http://www.w3.org/2000/svg" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"><g id="小站" fill="#9daab6" stroke-width="1" fill-rule="evenodd"><path d="M1018.64495 531.297637C1027.27952 512.687401 1023.24618 489.87879 1007.20328 475.433694L802.095304 290.753647 802.095304 290.753647C782.394782 273.015217 752.044514 274.605807 734.306083 294.306329L734.306083 294.306329 734.306083 294.306329C716.567653 314.006852 718.158243 344.35712 737.858766 362.09555L904.138417 511.81442 736.858766 662.433694C717.158243 680.172125 715.567653 710.522392 733.306083 730.222915 751.044514 749.923438 781.394782 751.514028 801.095304 733.775598L1006.20328 549.09555C1011.84552 544.015251 1016.00229 537.90046 1018.64495 531.297643ZM119.947 511.390231 286.22665 361.671361C305.927173 343.932931 307.517763 313.582663 289.779333 293.88214L289.779333 293.88214 289.779333 293.88214C272.040903 274.181618 241.690635 272.591027 221.990112 290.329458L221.990112 290.329458 16.8821402 475.009505C.839236202 489.454601-3.19410198 512.263212 5.44046645 530.873448 8.08312579 537.476271 12.2398959 543.591061 17.8821402 548.671361L222.990112 733.351408C242.690635 751.089839 273.040903 749.499248 290.779333 729.798726 308.517763 710.098203 306.927173 679.747935 287.22665 662.009505L119.947 511.390231Z" id="Combined-Shape"></path></g></svg></div><div class="hide"><svg viewBox="0 0 1024 1024" fill="none" version="1.1" xmlns="http://www.w3.org/2000/svg" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"><g id="小站" fill="#9daab6" stroke-width="1" fill-rule="evenodd"><path d="M1018.64495 531.297637C1027.27952 512.687401 1023.24618 489.87879 1007.20328 475.433694L802.095304 290.753647C782.394782 273.015217 752.044514 274.605807 734.306083 294.306329 716.567653 314.006852 718.158243 344.35712 737.858766 362.09555L904.138417 511.81442 736.858766 662.433694C717.158243 680.172125 715.567653 710.522392 733.306083 730.222915 751.044514 749.923438 781.394782 751.514028 801.095304 733.775598L1006.20328 549.09555C1011.84552 544.015251 1016.00229 537.90046 1018.64495 531.297643ZM119.947 511.390231 286.22665 361.671361C305.927173 343.932931 307.517763 313.582663 289.779333 293.88214 272.040903 274.181618 241.690635 272.591027 221.990112 290.329458L16.8821402 475.009505C.839236202 489.454601-3.19410198 512.263212 5.44046645 530.873448 8.08312579 537.476271 12.2398959 543.591061 17.8821402 548.671361L222.990112 733.351408C242.690635 751.089839 273.040903 749.499248 290.779333 729.798726 308.517763 710.098203 306.927173 679.747935 287.22665 662.009505L119.947 511.390231ZM649.492098 134.243566C674.403037 143.310407 687.247217 170.85484 678.180377 195.765779L436.030115 861.068155C426.963275 885.979094 399.418842 898.823274 374.507902 889.756434 349.596963 880.689593 336.752783 853.14516 345.819623 828.234221L587.969885 162.931845 587.969885 162.931845C597.036725 138.020906 624.581158 125.176726 649.492098 134.243566Z" id="Combined-Shape"></path></g></svg></div></div><div class="copy" aria-label=""><svg preserveAspectRatio="xMidYMid meet" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" class="icon-7f6730be--text-3f89f380"><g><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></g></svg></div></div><pre data_role="codeBlock" class="language-bash">/etc/init.d/iptables stop <span class="token comment">#关闭防火墙</span>
/etc/init.d/iptables status <span class="token comment">#查看防火墙状态</span>
</pre></div></li><li><p>查看是否SSH是否安装启动:</p><div class="prism-hl"><div class="code-tool"><div class="code-show" type="hide"><div class="show"><svg viewBox="0 0 1024 1024" fill="none" version="1.1" xmlns="http://www.w3.org/2000/svg" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"><g id="小站" fill="#9daab6" stroke-width="1" fill-rule="evenodd"><path d="M1018.64495 531.297637C1027.27952 512.687401 1023.24618 489.87879 1007.20328 475.433694L802.095304 290.753647 802.095304 290.753647C782.394782 273.015217 752.044514 274.605807 734.306083 294.306329L734.306083 294.306329 734.306083 294.306329C716.567653 314.006852 718.158243 344.35712 737.858766 362.09555L904.138417 511.81442 736.858766 662.433694C717.158243 680.172125 715.567653 710.522392 733.306083 730.222915 751.044514 749.923438 781.394782 751.514028 801.095304 733.775598L1006.20328 549.09555C1011.84552 544.015251 1016.00229 537.90046 1018.64495 531.297643ZM119.947 511.390231 286.22665 361.671361C305.927173 343.932931 307.517763 313.582663 289.779333 293.88214L289.779333 293.88214 289.779333 293.88214C272.040903 274.181618 241.690635 272.591027 221.990112 290.329458L221.990112 290.329458 16.8821402 475.009505C.839236202 489.454601-3.19410198 512.263212 5.44046645 530.873448 8.08312579 537.476271 12.2398959 543.591061 17.8821402 548.671361L222.990112 733.351408C242.690635 751.089839 273.040903 749.499248 290.779333 729.798726 308.517763 710.098203 306.927173 679.747935 287.22665 662.009505L119.947 511.390231Z" id="Combined-Shape"></path></g></svg></div><div class="hide"><svg viewBox="0 0 1024 1024" fill="none" version="1.1" xmlns="http://www.w3.org/2000/svg" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"><g id="小站" fill="#9daab6" stroke-width="1" fill-rule="evenodd"><path d="M1018.64495 531.297637C1027.27952 512.687401 1023.24618 489.87879 1007.20328 475.433694L802.095304 290.753647C782.394782 273.015217 752.044514 274.605807 734.306083 294.306329 716.567653 314.006852 718.158243 344.35712 737.858766 362.09555L904.138417 511.81442 736.858766 662.433694C717.158243 680.172125 715.567653 710.522392 733.306083 730.222915 751.044514 749.923438 781.394782 751.514028 801.095304 733.775598L1006.20328 549.09555C1011.84552 544.015251 1016.00229 537.90046 1018.64495 531.297643ZM119.947 511.390231 286.22665 361.671361C305.927173 343.932931 307.517763 313.582663 289.779333 293.88214 272.040903 274.181618 241.690635 272.591027 221.990112 290.329458L16.8821402 475.009505C.839236202 489.454601-3.19410198 512.263212 5.44046645 530.873448 8.08312579 537.476271 12.2398959 543.591061 17.8821402 548.671361L222.990112 733.351408C242.690635 751.089839 273.040903 749.499248 290.779333 729.798726 308.517763 710.098203 306.927173 679.747935 287.22665 662.009505L119.947 511.390231ZM649.492098 134.243566C674.403037 143.310407 687.247217 170.85484 678.180377 195.765779L436.030115 861.068155C426.963275 885.979094 399.418842 898.823274 374.507902 889.756434 349.596963 880.689593 336.752783 853.14516 345.819623 828.234221L587.969885 162.931845 587.969885 162.931845C597.036725 138.020906 624.581158 125.176726 649.492098 134.243566Z" id="Combined-Shape"></path></g></svg></div></div><div class="copy" aria-label=""><svg preserveAspectRatio="xMidYMid meet" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" class="icon-7f6730be--text-3f89f380"><g><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></g></svg></div></div><pre data_role="codeBlock" class="language-bash">/etc/init.d/sshd status <span class="token comment">#查看状态</span>
/etc/init.d/sshd start <span class="token comment">#SSH开启</span>
<span class="token function">netstat</span> -antp <span class="token operator">|</span> <span class="token function">grep</span> sshd <span class="token comment">#确认SSH对外端口【默认为22】是否开启</span>
</pre></div></li></ol><span id="more"></span><h2 id="ben-di-pc-duan-pei-zhi"><a class="markdownIt-Anchor" href="#ben-di-pc-duan-pei-zhi"></a> 本地PC端配置</h2><ol><li><p>安装secureCRT进行远程登录,登录IP地址为远程Linux端IP,端口用默认的22</p></li><li><p>secureCRT本身不能打开GUI,如果需要打开GUI,可以安装Xmanager,只是命令行操作可以忽略后面步骤。安装完成后运行Xmanager - Passive程序</p></li><li><p>在secureCRT登录Linux后,输入命令(貌似非必须)</p><div class="prism-hl"><div class="code-tool"><div class="code-show" type="hide"><div class="show"><svg viewBox="0 0 1024 1024" fill="none" version="1.1" xmlns="http://www.w3.org/2000/svg" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"><g id="小站" fill="#9daab6" stroke-width="1" fill-rule="evenodd"><path d="M1018.64495 531.297637C1027.27952 512.687401 1023.24618 489.87879 1007.20328 475.433694L802.095304 290.753647 802.095304 290.753647C782.394782 273.015217 752.044514 274.605807 734.306083 294.306329L734.306083 294.306329 734.306083 294.306329C716.567653 314.006852 718.158243 344.35712 737.858766 362.09555L904.138417 511.81442 736.858766 662.433694C717.158243 680.172125 715.567653 710.522392 733.306083 730.222915 751.044514 749.923438 781.394782 751.514028 801.095304 733.775598L1006.20328 549.09555C1011.84552 544.015251 1016.00229 537.90046 1018.64495 531.297643ZM119.947 511.390231 286.22665 361.671361C305.927173 343.932931 307.517763 313.582663 289.779333 293.88214L289.779333 293.88214 289.779333 293.88214C272.040903 274.181618 241.690635 272.591027 221.990112 290.329458L221.990112 290.329458 16.8821402 475.009505C.839236202 489.454601-3.19410198 512.263212 5.44046645 530.873448 8.08312579 537.476271 12.2398959 543.591061 17.8821402 548.671361L222.990112 733.351408C242.690635 751.089839 273.040903 749.499248 290.779333 729.798726 308.517763 710.098203 306.927173 679.747935 287.22665 662.009505L119.947 511.390231Z" id="Combined-Shape"></path></g></svg></div><div class="hide"><svg viewBox="0 0 1024 1024" fill="none" version="1.1" xmlns="http://www.w3.org/2000/svg" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"><g id="小站" fill="#9daab6" stroke-width="1" fill-rule="evenodd"><path d="M1018.64495 531.297637C1027.27952 512.687401 1023.24618 489.87879 1007.20328 475.433694L802.095304 290.753647C782.394782 273.015217 752.044514 274.605807 734.306083 294.306329 716.567653 314.006852 718.158243 344.35712 737.858766 362.09555L904.138417 511.81442 736.858766 662.433694C717.158243 680.172125 715.567653 710.522392 733.306083 730.222915 751.044514 749.923438 781.394782 751.514028 801.095304 733.775598L1006.20328 549.09555C1011.84552 544.015251 1016.00229 537.90046 1018.64495 531.297643ZM119.947 511.390231 286.22665 361.671361C305.927173 343.932931 307.517763 313.582663 289.779333 293.88214 272.040903 274.181618 241.690635 272.591027 221.990112 290.329458L16.8821402 475.009505C.839236202 489.454601-3.19410198 512.263212 5.44046645 530.873448 8.08312579 537.476271 12.2398959 543.591061 17.8821402 548.671361L222.990112 733.351408C242.690635 751.089839 273.040903 749.499248 290.779333 729.798726 308.517763 710.098203 306.927173 679.747935 287.22665 662.009505L119.947 511.390231ZM649.492098 134.243566C674.403037 143.310407 687.247217 170.85484 678.180377 195.765779L436.030115 861.068155C426.963275 885.979094 399.418842 898.823274 374.507902 889.756434 349.596963 880.689593 336.752783 853.14516 345.819623 828.234221L587.969885 162.931845 587.969885 162.931845C597.036725 138.020906 624.581158 125.176726 649.492098 134.243566Z" id="Combined-Shape"></path></g></svg></div></div><div class="copy" aria-label=""><svg preserveAspectRatio="xMidYMid meet" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" class="icon-7f6730be--text-3f89f380"><g><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></g></svg></div></div><pre data_role="codeBlock" class="language-bash"><span class="token function">export</span> DISPLAY<span class="token operator">=</span>192.168.1.11:0.0 <span class="token comment">#192.168.1.11为自己本地PC的IP地址</span>
</pre></div></li><li><p>设置SecureCRT,回话选项->连接->端口转发->远程/X11,选中“转发X11数据包”,并去除对“强制X11鉴权”的选择</p><p><img src="https://cdn.jsdelivr.net/gh/dxsm/cdn/images/loading.svg" alt="img" data-echo="https://cdn.jsdelivr.net/gh/dxsm/note@latest/assets/091538287614411.png"></p></li><li><p>在SecureCRT登录的Linux Terminal输入<code>gvim</code>就可以弹出GUI了</p></li></ol><div id="post-donate"><div class="donate_msg">生活不止眼前的苟且,还有诗和远方</div><button><span>打赏</span></button><div class="QR" style="display:none"><div class="alipay_qr"><img src="https://fastly.jsdelivr.net/gh/dxsm/cdn/images/alipay.png" alt="淘宝支付"><p>淘宝支付</p></div><div class="weixin_qr"><img src="https://fastly.jsdelivr.net/gh/dxsm/cdn/images/weixinpay.png" alt="微信支付"><p>微信支付</p></div></div></div><blockquote class="post-copyright"><p class="post-copyright-author"><strong>本文作者:</strong> 董续胜</p><p class="post-copyright-link"><strong>本文链接:</strong> <a href="https://dxsm.github.io/p/ju-yu-wang-yuan-cheng-lian-jie-vmware-de-linux.html" title="局域网远程连接vmware的linux">https://dxsm.github.io/p/ju-yu-wang-yuan-cheng-lian-jie-vmware-de-linux.html</a></p><p class="post-copyright-license"><strong>版权声明:</strong> 本博客所有文章除特别声明外,均采用<a href="https://creativecommons.org/licenses/by-nc-sa/3.0/" rel="external nofollow" target="_blank">CC BY-NC-SA 3.0</a>许可协议。转载请注明出处!</p></blockquote></div><section class="meta" id="footer-meta"><hr><div class="new-meta-box"><div class="new-meta-item date" itemprop="dateUpdated" datetime="2022-04-08T22:26:43+08:00"><a class="notlink"><i class="fa fa-pencil-alt" aria-hidden="true"></i> 2022-04-08</a></div><div class="new-meta-item meta-tags"><a class="tag" href="/tags/linux/"><i class="fa fa-hashtag" aria-hidden="true"></i> linux</a></div></div></section><div class="prev-next"><section class="prev"><span class="art-item-left"><h6><i class="fa fa-chevron-left" aria-hidden="true"></i> 上一页</h6><h4><a href="/p/spinalhdl-base-comb.html" rel="prev" title="SpinalHDL基础-组合逻辑">SpinalHDL基础-组合逻辑</a></h4><h6 class="tags"><a class="tag" href="/tags/SpinalHDL/"><i class="fa fa-hashtag fa-fw" aria-hidden="true"></i> SpinalHDL</a></h6></span></section><section class="next"><span class="art-item-right" aria-hidden="true"><h6>下一页 <i class="fa fa-chevron-right" aria-hidden="true"></i></h6><h4><a href="/p/jie-jue-linux-device-or-resource-busy-wen-ti.html" rel="prev" title="解决Linux Device or resource busy问题">解决Linux Device or resource busy问题</a></h4><h6 class="tags"><a class="tag" href="/tags/linux/"><i class="fa fa-hashtag fa-fw" aria-hidden="true"></i> linux</a></h6></span></section></div></section></article><br><article class="post white-box comments"><section class="article typo"><h4><i class="fa fa-comments fa-fw" aria-hidden="true"></i> 评论</h4><section id="comments"><div id="valine_container" class="valine_thread"><i class="fa fa-spinner fa-spin fa-fw"></i></div></section></section></article><script>window.subData={title:"局域网远程连接vmware的linux",tools:!0}</script></div><aside class="l_side"><section class="author"><div class="content pure"><div class="avatar"><img class="avatar" src="https://fastly.jsdelivr.net/gh/dxsm/cdn/images/loading.svg" data-echo="https://fastly.jsdelivr.net/gh/dxsm/cdn/images/avatar3.jpg"></div><div class="text"><p class="nickname">星雨夜澈</p><p><span class="descr">不忘初心,记录时光,走向成长</span></p></div><div class="social-wrapper"><a href="http://www.uestc.edu.cn/" title="2016年毕业于电子科技大学" class="social flat-btn" target="_blank" rel="external nofollow"><i class="social fa fa-university fa_fw" aria-hidden="true"></i></a><a href="http://gr.uestc.edu.cn/" title="硕士学历" class="social flat-btn" target="_blank" rel="external nofollow"><i class="social fa fa-graduation-cap fa_fw" aria-hidden="true"></i></a><a href="#" title="中国 上海" class="social flat-btn" target="_blank" rel="external nofollow"><i class="social fa fa-map-marker fa_fw" aria-hidden="true"></i></a><a href="#" title="QQ: 959229640" class="social flat-btn" target="_blank" rel="external nofollow"><i class="social fa fa-qq fa_fw" aria-hidden="true"></i></a><a href="mailto:[email protected]" title="[email protected]" class="social flat-btn" target="_blank" rel="external nofollow"><i class="social fa fa-envelope fa_fw" aria-hidden="true"></i></a></div></div></section><section class="plain"><header class="pure"><div><i class="fa fa-bullhorn font-animation annouce fa-fw" aria-hidden="true"></i> 公告</div></header><div class="content pure"><p>本站基本建设完成,喜欢的话可以安利给身边的朋友哦!最近已添加markdown在线工具</p></div></section><section class="toc-wrapper"><header class="pure"><div><i class="fa fa-list-ul fa-fw" aria-hidden="true"></i> 文章目录</div><div class="wrapper"><a class="s-toc rightBtn" rel="external nofollow noopener noreferrer" href="javascript:void(0)"><i class="fa fa-thumbtack fa-fw"></i></a></div></header><div class="content pure"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#yuan-cheng-linux-duan-pei-zhi"><span class="toc-text">远程linux端配置</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#ben-di-pc-duan-pei-zhi"><span class="toc-text">本地PC端配置</span></a></li></ol></div></section><section class="tagcloud"><header class="pure"><div><i class="fa fa-hashtag fa-fw" aria-hidden="true"></i> 热门标签</div><a class="rightBtn" rel="external nofollow noopener noreferrer" href="/tags/" title="tags/"><i class="fa fa-arrows-alt fa-fw"></i></a></header><div class="content pure"><a href="/tags/AHB/" style="font-size:14px;color:#999">AHB</a> <a href="/tags/AMBA/" style="font-size:16px;color:#8b8b8b">AMBA</a> <a href="/tags/ASIC/" style="font-size:24px;color:#555">ASIC</a> <a href="/tags/AXI/" style="font-size:14px;color:#999">AXI</a> <a href="/tags/Low-Power/" style="font-size:18px;color:#7e7e7e">Low Power</a> <a href="/tags/Python/" style="font-size:22px;color:#636363">Python</a> <a href="/tags/SOC/" style="font-size:18px;color:#7e7e7e">SOC</a> <a href="/tags/SpinalHDL/" style="font-size:24px;color:#555">SpinalHDL</a> <a href="/tags/UPF/" style="font-size:14px;color:#999">UPF</a> <a href="/tags/eda-tools/" style="font-size:16px;color:#8b8b8b">eda_tools</a> <a href="/tags/electron/" style="font-size:14px;color:#999">electron</a> <a href="/tags/electron-vue/" style="font-size:14px;color:#999">electron-vue</a> <a href="/tags/fifo/" style="font-size:14px;color:#999">fifo</a> <a href="/tags/git/" style="font-size:14px;color:#999">git</a> <a href="/tags/jtag/" style="font-size:14px;color:#999">jtag</a> <a href="/tags/linux/" style="font-size:22px;color:#636363">linux</a> <a href="/tags/markdown/" style="font-size:16px;color:#8b8b8b">markdown</a> <a href="/tags/systemverilog/" style="font-size:20px;color:#707070">systemverilog</a> <a href="/tags/testbench/" style="font-size:14px;color:#999">testbench</a> <a href="/tags/typora/" style="font-size:16px;color:#8b8b8b">typora</a> <a href="/tags/vim/" style="font-size:14px;color:#999">vim</a> <a href="/tags/vimrc/" style="font-size:14px;color:#999">vimrc</a> <a href="/tags/%E4%B9%A6%E7%B1%8D/" style="font-size:14px;color:#999">书籍</a> <a href="/tags/%E5%84%BF%E7%AB%A5%E6%95%99%E8%82%B2/" style="font-size:14px;color:#999">儿童教育</a> <a href="/tags/%E5%86%85%E5%AD%98%E7%AE%A1%E7%90%86/" style="font-size:14px;color:#999">内存管理</a> <a href="/tags/%E6%AD%A3%E5%88%99/" style="font-size:14px;color:#999">正则</a> <a href="/tags/%E6%B5%81%E4%BF%9D%E5%BA%8F/" style="font-size:14px;color:#999">流保序</a> <a href="/tags/%E8%AE%BE%E8%AE%A1%E6%8A%80%E5%B7%A7/" style="font-size:18px;color:#7e7e7e">设计技巧</a> <a href="/tags/%E8%B5%84%E6%BA%90%E4%BC%98%E5%8C%96/" style="font-size:16px;color:#8b8b8b">资源优化</a> <a href="/tags/%E9%9D%A2%E8%AF%95/" style="font-size:14px;color:#999">面试</a></div></section><section class="category"><header class="pure"><div><i class="fa fa-folder-open fa-fw" aria-hidden="true"></i> 所有分类</div><a class="rightBtn" rel="external nofollow noopener noreferrer" href="/categories/" title="categories/"><i class="fa fa-arrows-alt fa-fw"></i></a></header><div class="content pure"><ul class="entry"><li><a class="flat-box" title="/categories/ASIC%E6%B5%8B%E8%AF%95/" href="/categories/ASIC%E6%B5%8B%E8%AF%95/"><div class="name">ASIC测试</div><div class="badge">(1)</div></a></li><li><a class="flat-box" title="/categories/ASIC%E8%AE%BE%E8%AE%A1/" href="/categories/ASIC%E8%AE%BE%E8%AE%A1/"><div class="name">ASIC设计</div><div class="badge">(6)</div></a></li><li><a class="flat-box" title="/categories/ASIC%E9%AA%8C%E8%AF%81/" href="/categories/ASIC%E9%AA%8C%E8%AF%81/"><div class="name">ASIC验证</div><div class="badge">(5)</div></a></li><li><a class="flat-box" title="/categories/Python/" href="/categories/Python/"><div class="name">Python</div><div class="badge">(5)</div></a></li><li><a class="flat-box" title="/categories/SOC%E8%AE%BE%E8%AE%A1/" href="/categories/SOC%E8%AE%BE%E8%AE%A1/"><div class="name">SOC设计</div><div class="badge">(2)</div></a></li><li><a class="flat-box" title="/categories/SpinalHDL/" href="/categories/SpinalHDL/"><div class="name">SpinalHDL</div><div class="badge">(9)</div></a></li><li><a class="flat-box" title="/categories/UPF/" href="/categories/UPF/"><div class="name">UPF</div><div class="badge">(1)</div></a></li><li><a class="flat-box" title="/categories/eda-tools/" href="/categories/eda-tools/"><div class="name">eda_tools</div><div class="badge">(2)</div></a></li><li><a class="flat-box" title="/categories/electron/" href="/categories/electron/"><div class="name">electron</div><div class="badge">(1)</div></a></li><li><a class="flat-box" title="/categories/git/" href="/categories/git/"><div class="name">git</div><div class="badge">(1)</div></a></li><li><a class="flat-box" title="/categories/linux/" href="/categories/linux/"><div class="name">linux</div><div class="badge">(5)</div></a></li><li><a class="flat-box" title="/categories/markdown/" href="/categories/markdown/"><div class="name">markdown</div><div class="badge">(2)</div></a></li><li><a class="flat-box" title="/categories/typora/" href="/categories/typora/"><div class="name">typora</div><div class="badge">(2)</div></a></li><li><a class="flat-box" title="/categories/vim/" href="/categories/vim/"><div class="name">vim</div><div class="badge">(1)</div></a></li><li><a class="flat-box" title="/categories/%E4%BD%8E%E5%8A%9F%E8%80%97%E8%AE%BE%E8%AE%A1/" href="/categories/%E4%BD%8E%E5%8A%9F%E8%80%97%E8%AE%BE%E8%AE%A1/"><div class="name">低功耗设计</div><div class="badge">(2)</div></a></li><li><a class="flat-box" title="/categories/%E6%95%99%E8%82%B2/" href="/categories/%E6%95%99%E8%82%B2/"><div class="name">教育</div><div class="badge">(1)</div></a></li></ul></div></section></aside><script>setLoadingBarProgress(60)</script></div><a class="s-top fa fa-arrow-up fa-fw" href="javascript:void(0)"></a></div><footer id="footer" class="clearfix"><br><div><p>© 2019 <i class="fa fa-paper-plane font-animation"></i> 星雨夜澈</p></div></footer><script>setLoadingBarProgress(80)</script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script><script>var GOOGLE_CUSTOM_SEARCH_API_KEY="",GOOGLE_CUSTOM_SEARCH_ENGINE_ID="",ALGOLIA_API_KEY="",ALGOLIA_APP_ID="",ALGOLIA_INDEX_NAME="",AZURE_SERVICE_NAME="",AZURE_INDEX_NAME="",AZURE_QUERY_KEY="",BAIDU_API_ID="",SEARCH_SERVICE="hexo",ROOT="/";"/"!=ROOT.substring(ROOT.length-1)&&(ROOT+="/")</script><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/dxsm/cdn/lib/fancybox/jquery.fancybox.min.css"><script src="https://cdn.jsdelivr.net/gh/dxsm/cdn/lib/fancybox/jquery.fancybox.min.js"></script><script>$(function(){$("body").find(".post-wrapper,#post").find("img").each(function(){var t=document.createElement("a");$(t).attr("data-fancybox","gallery"),$(t).attr("href",$(this).attr("src")),$(this).attr("data-echo")&&$(t).attr("href",$(this).attr("data-echo")),$(this).wrap(t)})})</script><script src="https://fastly.jsdelivr.net/npm/[email protected]/dist/Valine.min.js"></script><script>var GUEST_INFO=["nick","mail","link"],meta="nick,mail,link".split(",").filter(function(i){return-1<GUEST_INFO.indexOf(i)}),REQUIRED_FIELDS=["nick","mail","link"],requiredFields="nick,mail".split(",").filter(function(i){return-1<REQUIRED_FIELDS.indexOf(i)}),valine=new Valine;function emoji(i,e,a){return i+"/"+i+"-"+e+"."+a}for(var emojiMaps={},i=1;i<=54;i++)emojiMaps["tieba-"+i]=emoji("tieba",i,"png");for(i=1;i<=101;i++)emojiMaps["qq-"+i]=emoji("qq",i,"gif");for(i=1;i<=116;i++)emojiMaps["aru-"+i]=emoji("aru",i,"gif");for(i=1;i<=125;i++)emojiMaps["twemoji-"+i]=emoji("twemoji",i,"png");for(i=1;i<=4;i++)emojiMaps["weibo-"+i]=emoji("weibo",i,"png");valine.init({el:"#valine_container",meta:meta,appId:"luTuCxxHAQDleYzjxn1tNY3F-gzGzoHsz",appKey:"vWAPOyrP9jT4t1yQle11Qhzk",placeholder:"快来评论吧~",pageSize:"10",avatar:"robohash",lang:"zh-cn",visitor:"true",highlight:"true",mathJax:"false",enableQQ:"true",requiredFields:requiredFields,emojiCDN:"https://cdn.jsdelivr.net/gh/xaoxuu/cdn-assets/emoji/valine/",emojiMaps:emojiMaps})</script><script src="https://fastly.jsdelivr.net/gh/dxsm/[email protected]/js/main.js"></script><script src="https://cdn.jsdelivr.net/gh/toddmotto/[email protected]/src/echo.js"></script><script>echo.init({offset:100,throttle:250,unload:!1,callback:function(t,o){}})</script><script>window.onload=function(){if(/debug=true/.test(window.location)||"true"==localStorage.getItem("active-eruda")){var e=document.createElement("script");e.src="//cdn.jsdelivr.net/npm/eruda",e.async=!0,document.body.appendChild(e),e.onload=function(){eruda.init()}}}</script><script>setLoadingBarProgress(100)</script></body></html>