!37 fix xmtr cannot start in xface4 environment

From: @XWwalker 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
This commit is contained in:
openeuler-ci-bot 2022-10-24 03:39:52 +00:00 committed by Gitee
commit 3d35c1ff81
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 9 additions and 3 deletions

View File

@ -7,4 +7,4 @@ if [ "$XDG_SESSION_TYPE" = wayland ]; then
exit 1 exit 1
fi fi
/usr/bin/pkexec /usr/bin/xmtr.bin /usr/bin/pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/bin/xmtr.bin

View File

@ -2,7 +2,7 @@
Name: mtr Name: mtr
Version: 0.95 Version: 0.95
Release: 1 Release: 2
Epoch: 2 Epoch: 2
Summary: Ping and Traceroute Network Diagnostic Tool Summary: Ping and Traceroute Network Diagnostic Tool
License: GPLv2 and BSD License: GPLv2 and BSD
@ -89,6 +89,12 @@ make test
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Mon Oct 24 2022 xingwei <xingwei14@h-partners.com> - 2:0.95-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:modify fix xmtr cannot start in Xface4 environment
* Tue Jun 28 2022 YukariChiba <i@0x7f.cc> - 2:0.95-1 * Tue Jun 28 2022 YukariChiba <i@0x7f.cc> - 2:0.95-1
- Upgrade version to 0.95 - Upgrade version to 0.95

View File

@ -3,7 +3,7 @@ Name=Traceroute
Type=Application Type=Application
Comment=Traces packets between two network hosts Comment=Traces packets between two network hosts
Exec=xmtr Exec=xmtr
Terminal=true Terminal=false
Icon=mtr_icon.xpm Icon=mtr_icon.xpm
Encoding=UTF-8 Encoding=UTF-8
X-Desktop-File-Install-Version=0.2 X-Desktop-File-Install-Version=0.2