How to install TeamViewer on Linux without graphical user interface

This article describes installation and configuration of TeamViewer on headless Linux systems (e.g. servers)

  • possibly without a screen attached
  • possibly without an X server running
  • possibly via ssh
  • possibly for unattended access

Basic installation is the same as described in How to install TeamViewer on Linux.

Xorg without a screen

Note: By default, Xorg will not start if no screen is detected. You can prevent this by creating a Xorg configuration with a dummy screen definition.

Framebuffer console without Xorg

TeamViewer can be used to access machines without a graphical desktop environment (Xorg, Wayland). TeamViewer lets you connect to the foreground console (as indicated by fgconsole). In other words, the VT (virtual terminal) which is currently visible on the screen – or would be visible if a screen was attached.

Note: The console must be a framebuffer console. If the file /dev/fb0 does not exist, you might have to adapt your kernel configuration or kernel boot parameters.

Connections to the console are exclusive. If an X server is running, incoming connections will go to the active X session.

Note: If no X server is installed or used, dependencies to Qt can technically be ignored. Instead of forcing the package manager to ignore them, you may use the TAR package.

Unattended access: command line configuration

When installing on the console or via ssh, the UI is not available to see the TeamViewer ID, set a password or to assign the device to your TeamViewer account. However, the same functionality is also available on the command line.

teamviewer help       # list all available commands
teamviewer info       # show TeamViewer ID
teamviewer passwd     # set password
teamviewer setup      # assign device to account

If you assign a device to your account, you don't need to set a password. Just follow the setup assistent and your done. The device will then show up in your Computers & Contacts.

 An example installation and setup would look like this:

$ apt install ./teamviewer*.deb
$ teamviewer setup
Please enter your e-mail: mail@example.org
Please enter your password: ******
You have successfully added this computer to your Computers & Contacts.

Related topics

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
要在Linux上安装TeamViewer,您可以按照以下步骤进行操作: 1. 首先,打开TeamViewer官方网站(https://www.teamviewer.com)并转到下载页面。 2. 在下载页面上,选择适用于您的Linux发行版的TeamViewer版本。TeamViewer支持各种不同的Linux发行版,如Ubuntu、Debian、Fedora、OpenSUSE等。 3. 选择适用于您的系统架构的安装包。根据您的系统是32位还是64位,选择相应的安装包。 4. 下载完安装包后,打开终端。 5. 使用cd命令导航到您下载安装包的目录。例如,如果您将安装包下载到“Downloads”文件夹中,可以使用以下命令进入该目录: ``` cd Downloads ``` 6. 接下来,使用以下命令将安装包解压缩: ``` tar -xzf teamviewer_<version>_amd64.tar.gz ``` 注意:请将 `<version>` 替换为您下载的实际版本号。 7. 解压缩后,使用以下命令进入解压缩后的目录: ``` cd teamviewer_<version> ``` 注意:同样,请将 `<version>` 替换为解压缩后的目录名。 8. 最后,执行以下命令以安装TeamViewer: ``` sudo ./teamviewer_setup ``` 9. 按照提示完成安装过程,并根据需要提供管理员密码。 10. 安装完成后,您可以在应用程序菜单中找到TeamViewer,并通过它进行远程连接。 这就是在Linux上安装TeamViewer的基本步骤。请注意,具体步骤可能会因Linux发行版的不同而有所差异。在执行上述步骤时,请根据您使用的发行版进行适当的调整。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

aijava1

请我喝咖啡!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值