Xpra使用入门

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

内容简介:版权声明:本文为博主原创文章,未经博主允许不得转载。 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使用入门》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

Modeling the Internet and the Web

Modeling the Internet and the Web

Pierre Baldi、Paolo Frasconi、Padhraic Smyth / Wiley / 2003-7-7 / USD 115.00

Modeling the Internet and the Web covers the most important aspects of modeling the Web using a modern mathematical and probabilistic treatment. It focuses on the information and application layers, a......一起来看看 《Modeling the Internet and the Web》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

SHA 加密
SHA 加密

SHA 加密工具