不被防火墙拦截的远端访问工具 - Can I access Ubuntu from Windows remotely?

参考 https://askubuntu.com/questions/592537/can-i-access-ubuntu-from-windows-remotely/592544#592544

背景是公司里面多个site直接要远程访问实验室电脑,但vnc 被防火墙阻挡,申请端口又好累。。。

好吧。

尝试了rdp sunlogin , 在Ubuntu上安装折腾了好久。。。可能支持的并不好吧。

终于找到了X2go

安装简单,走ssh的协议,信息也安全,防火墙不会拦截。就它了。

安装步骤,

Install X2Go Server

Starting from an Ubuntu 18.04 desktop server environment, add the Ubuntu ppa and install the x2go server component and MATE desktop bindings.

sudo apt-add-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession
sudo apt-get install x2gomatebindings

Then install the lightweight xfce window manager.

sudo apt-get install xfce4 xfce4-terminal
sudo apt-get install gnome-icon-theme tango-icon-theme

X2Go Client

From an Ubuntu desktop that we want to use as a client, run:

sudo apt-add-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goclient

windows 安装文件

https://code.x2go.org/releases/binary-win32/x2goclient/releases/4.1.2.0-2018.06.22/

使用说明:https://uwaterloo.ca/science-computing/student-support/x2go-tutorial

 

x2Go Tutorial

X2go is a multiplatform ssh x-forwarding server which allows a single linux server to be accessed graphically by many users simultaneously. Science Computing currently uses this technology on a testing basis for research groups and professors.

Getting x2go

To get the x2go client on your computer, you can go to the official x2go website and follow the instructions, or you may follow the following links to directly get a compatable version (The following links are links to installers):

Windows x2go client Version 3.99.3.1-pre1 

Mac OSX x2go client Version 3.99.2.1

Linux users will need to follow the instructions posted on the x2go linux section.

Using x2go

The first time you run x2go after installing, a window will come up to enter information for a connection. Following the next steps will show you how to configure your client to work with Science Computing's x2go Servers.

  • First, enter the connection's name. This can be anything you want, but it should probably be the name of the server you're connecting to.
  • You can change the icon to something other than the adorable baby seal, but everybody loves baby seals, so it is heavily frowned upon to change this icon.
  • Your professor will provide you with the host name of the server. It will be something like "chem440-x.uwaterloo.ca"
  • Your login for these servers is your watIAM account. This is what you use for desire2learn and quest, so enter your watIAM username in the login.
  • For the port, put port 8022. Port 22 will also work, but not from off campus, so it's safer to just put 8022. Try 22 if 8022 not work.
  • Then, from the "Session Type" dropdown, select XFCE
  • Switch to the connection tab to edit some more stuff...
  • host : your computer's name or IP
  • login: user name 

 

  • In the connection tab, set the compression method to 4k-png. This will give you the most bang for your bandwidth. Do not use high-quality compression (such as 16m-jpeg), as many users require access to this system, and it's very unfair for you to hog it all.
  • Next, open the "Settings" tab. We're almost done

     

 

  • In the settings tab, set the display to fullscreen (It works in windowed mode, but it can get a bit buggy), and disable sound and printing. You can keep them enabled, but you seriously shouldn't need them.

​​​​​​​

 

  • After this, hit ok. You should be presented to the following (or very similar) screen:

 

  • Click on the little card you've created (or on the baby seal icon if you can't decide where to click), and simply enter your password. Congrats! You're in!
  • If anything went wrong during the process, you can click the little arrow in the bottom right hand corner of the card and edit the settings.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值