Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Putty+Xming在Windows端显示Linux图形化界面GUI #20

Open
itgoyo opened this issue Nov 5, 2017 · 0 comments
Open

Putty+Xming在Windows端显示Linux图形化界面GUI #20

itgoyo opened this issue Nov 5, 2017 · 0 comments

Comments

@itgoyo
Copy link
Owner

itgoyo commented Nov 5, 2017

一、Linux配置

#apt-get install openssh-server

二、Windows

下载并安装Xming客户端
http://sourceforge.net/projects/xming

完了之后出现sshd的字样表明服务器开启成功。

安装并启动, 无需配置
下载并安装putty
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe

三、配置Putty

首先获取Linux服务器的ip地址

在终端输入: ifconfig 即可查看。

填写配置信息

Putty中开启X11支持

Linux里边的ssh文件配置也要打开

要允许Linux主机上的SSH X转发,查看 /etc/ssh/sshd_config 文件,加入以下一行,

X11Forwrding yes

到此配置就结束了,想要测试是否成功的话,可以在终端输入:xclock

如果出现一个悬浮的时钟则表明配置成功了,或者你可以打开Linux上面的一张图片如果显示也代表成功了,命令如下

eog xxx.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant