内容简介:版权声明:本文为博主原创文章,未经博主允许不得转载。 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使用入门》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
XML Hacks
Michael Fitzgerald / O'Reilly Media, Inc. / 2004-07-27 / USD 24.95
Developers and system administrators alike are uncovering the true power of XML, the Extensible Markup Language that enables data to be sent over the Internet from one computer platform to another or ......一起来看看 《XML Hacks》 这本书的介绍吧!