如何通过SSH在远程Linux服务器上启动TeamViewer?

How to start TeamViewer on remote Linux server through SSH? A quick try shows that the TeamViewer aborted:

如何通过SSH在远程Linux服务器上启动 TeamViewer? 快速尝试显示TeamViewer中止了:


$ teamviewer 

Init...
xprop:  unable to open display ''
CheckCPU: SSE2 support: yes
Checking setup...
Launching TeamViewer ...
Launching TeamViewer GUI ...
Aborted

It seems require a GUI. I am sure the X server on the remote Linux server is running.

似乎需要GUI。 我确定远程Linux服务器上的X服务器正在运行。

Any way to solve this?

有什么办法解决这个问题?

If you are sure the remote side’s X server is running (assume it’s the first one), then you may specify the DISPLAY environment variable so that TeamViewer can use it.

如果确定远程服务器的X服务器正在运行(假定它是第一个),则可以指定DISPLAY环境变量,以便TeamViewer可以使用它。


$ DISPLAY=:0 teamviewer

Init...
CheckCPU: SSE2 support: yes
Checking setup...
Launching TeamViewer ...
Launching TeamViewer GUI ...

Then TeamViewer will start. You can then connect to it if you knows the Partner ID and pass or the remote Linux’ TeamViewer is already registered to your account.

然后,TeamViewer将启动。 如果您知道合作伙伴ID并通过,或者远程Linux的TeamViewer已注册到您的帐户,则可以连接到它。

Please note that the TeamViewer window will jump out on your remote Linux’ screen.

请注意,TeamViewer窗口将在远程Linux的屏幕上跳出。

翻译自: https://www.systutorials.com/how-to-start-teamviewer-on-remote-linux-server-through-ssh/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值