Ubuntu /Window下 X2Go 安装&连接&同步/上传文件夹:复制、粘贴、桌面共享

Ubuntu/Window下X2Go安装&连接&同步/上传文件夹(一次性成功)

--------------------------------------------------------------------

X2Go 的优点:

双向粘贴板:安装,就可使用。

文件夹共享:在某些 linux发行版上,由于依赖包问题,解决起来麻烦。

在 错误新题提示:在服务器端,为隐藏文件;在客户端,Shoe details 勾选可显示。

debian 11官版 OK。mclinux 21 ( Debian 11 的阉割衍生版本) NG。

桌面共享:注意与远程桌面的区别

用途:

虚拟机/宿主机:采用网络方式交换文件,速度慢。

虚拟机的网卡,需要设置为桥接模式,这样才能获得 ip地址:192.168.xxx.xxx,用于网络连接。

Installation: X2Go Desktop Sharing

  https://wiki.x2go.org/doku.php/doc:installation:desktop-sharing

---------------------------------

 X2Go 共享文件夹 失败的原因,可能是下面的问题:棘手System has not been booted with systemd as init system (PID 1). Can‘t operate_ken2232的博客-CSDN博客

现象:debian 11官版 OK。mclinux 21 ( Debian 11 的阉割衍生版本) NG。

这是怎么回事呢?

如果你是在 windows 中通过 WSL 使用的 Ubuntu,默认情况下系统使用的是 SysV 而不是 systemd(?意思是:ubuntu 到底会采用SysV,还是 systemd,这要根据具体的安装环境来自动选择默认的配置?)

当你使用 systemctl 命令(适用于有 systemd init 的系统)的时候,系统自然会报错。

=======================================

Using the X2Go Desktop Sharing Feature : 桌面共享

1. 首先,该要登陆的用户,要有桌面,才能共享。

服务器端,首先需要运行 x2godesktopsharing ( /usr/bin/x2godesktopsharing )。也可以设置位 自动。

2. 客户端:

  doc:usage:desktop-sharing [X2Go - everywhere@home]

 Preparing the session:

    Create a new session with “session | new session…”.
    Assign a session name.
    As 'host name' give the name of the machine, the session you want to connect to, is running on.
    As 'user name' give your account on the remote machine.
    As 'session type' choose 'connection to local desktop'.
    Recommended: choose “full screen” on the settings tab. Otherwise, everything can become too small to read.
    Press 'OK' to save the session.

Setting up File Sharing in X2GoClient :文件共享

  doc:howto:x2goclient-file-sharing [X2Go - everywhere@home]

目前的 X2Go 还是用 Qt4开发的;而 debian 11的官方仓库,已经找不到 Qt4了。

因此,在有些 debian的衍生版本上安装 X2Go,很可能出现某些功能的异常。 比如:文件共享

  wiki:development:deb-buildguide [X2Go - everywhere@home]

Get the build and development dependencies

Install the following packages for development (Debian/Ubuntu based distro):

Note: Some packages are optional.

sudo apt-get install build-essential qt4-default qt4-designer qtcreator qtcreator-doc \
                     qt4-demos qt4-doc qt4-dev-tools libqt4-dev git \
                     libldap2-dev libssh-dev libxpm-dev libcups2-dev \
                     debhelper doxygen man2html-base xutils-dev libpixman-1-dev\
                     devscripts quilt libxcomposite-dev libxrandr-dev\
                     libxtst-dev libxinerama-dev libxrender-dev pkg-config expat\
                     libxmltok1-dev libxml2-dev libxfont-dev

All up-to-date dependencies you can get with dpkg-checkbuilddeps command.

Installing X2Go

  https://wiki.x2go.org/doku.php/doc:installation:start

server

Debian 官方仓库里已经有现成的。

Add our X2Go Debian Repository.

sudo apt-get install x2goserver x2goserver-xsession

  https://wiki.x2go.org/doku.php/doc:installation:start

Installing X2Go

X2Go consists of several components. Most of them have to be installed server-side.

Clients

The clients of X2Go need to be installed on machines that shall access remote machines running X2Go Server.

Server and Components

The core of every remote machine providing access via X2Go is the X2Go Server. All other components are add-on products for X2Go Servers and can optionally be installed (or left out).

================

安装远程连接Ubuntu Server 的图形界面——x2go远程连接桌面

  https://blog.csdn.net/image_fzx/article/details/82799113

Ubuntu/Window下X2Go安装&连接&同步/上传文件夹(一次性成功)

Ubuntu/Window下X2Go安装&连接&同步/上传文件夹(一次性成功)

    一 Window下载安装X2Go Client
    二 在ubuntu上安装X2Go
    三 Window用X2go远程连接服务器
    四 用X2go同步/上传Window文件到服务器Ubuntu上

一 Window下载安装X2Go Client

X2Go下载地址
————————————————
版权声明:本文为CSDN博主「凌青羽」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_35759272/article/details/108976695

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值