Xming图形转发

文章介绍了如何在Linux上安装Xming,通过Xlaunch进行配置。接着,它展示了安装和启用Nginx以及创建一个简单的网页的过程。当尝试运行Firefox时,由于缺少DISPLAY环境变量,文章提到了设置该变量以在远程主机上显示Firefox的方法。
摘要由CSDN通过智能技术生成

Xming介绍

Xming 的主要功能是通过在​​Linux​​平台上通过​​交叉编译​​的方法,实现了跨越操作系统对X GUI的表现。

1. Xming安装

全部下一步安装完。
点击Xlaunch

crt连接

#安装firefox
[root@gby ~]# yum -y install nginx
[root@gby ~]# echo "gby cs" >/usr/share/nginx/html/index.html 
[root@gby ~]# systemctl enable --now nginx
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /usr/lib/systemd/system/nginx.service.
[root@gby ~]# systemctl disable --now firewalld
Removed "/etc/systemd/system/multi-user.target.wants/firewalld.service".
Removed "/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service".
[root@gby ~]# curl 127.0.0.1
gby cs
[root@gby ~]# yum -y install firefox
[root@gby ~]# firefox 
Error: no DISPLAY environment variable specified
[root@gby ~]# export DISPLAY=192.168.1.22:0.0 #winip+右下脚提示
[root@gby ~]# firefox

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

xtgby

你的鼓励将是我创作的最大动力

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

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

打赏作者

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

抵扣说明:

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

余额充值