Xpra使用入门

栏目: 服务器 · 发布时间: 5年前

内容简介:版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/kongxx/article/details/91503656

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/kongxx/article/details/91503656

Xpra 是一个开源的跨平台远程显示服务器和客户端工具,可以用来转发图形应用和桌面。这里以 CentOS7 系统为例,演示一下怎样使用 Xpra 转发图形应用和桌面。

# cd /etc/yum.repos.d/
# wget -c https://xpra.org/repos/CentOS/xpra.repo
# yum install xpra

其它版本的 Xpra 可以参考 https://xpra.org

运行图形应用

在当前机器上运行一个图形应用

# xpra start ssh/localhost --exit-with-children=yes --start-child=gedit

# 以桌面形式运行应用程序
# xpra start-desktop ssh/localhost --exit-with-children=yes --start-child=gedit

在远程机器上运行一个图形应用

# xpra start ssh/<user>@<host> --exit-with-children=yes --start-child=gedit

运行桌面

首先安装一个轻量级的桌面环境

# yum install epel-release
# yum groupinstall Xfce

启动桌面

# xpra start-desktop ssh/localhost --exit-with-children=yes --start-child=xfce4-session

以上所述就是小编给大家介绍的《Xpra使用入门》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Convergence Culture

Convergence Culture

Henry Jenkins / NYU Press / 2006-08-01 / USD 30.00

"Convergence Culture" maps a new territory: where old and new media intersect, where grassroots and corporate media collide, where the power of the media producer, and the power of the consumer intera......一起来看看 《Convergence Culture》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换