diff --git a/mtr-gtk-pkexec-wrapper.sh b/mtr-gtk-pkexec-wrapper.sh index c61ee7721ee078a74d113c007970f81c0c952df3..b95ebc7abaf88367fca1e6e21774f29c38f1bf02 100644 --- a/mtr-gtk-pkexec-wrapper.sh +++ b/mtr-gtk-pkexec-wrapper.sh @@ -7,4 +7,4 @@ if [ "$XDG_SESSION_TYPE" = wayland ]; then exit 1 fi -/usr/bin/pkexec /usr/bin/xmtr.bin +/usr/bin/pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/bin/xmtr.bin diff --git a/mtr.spec b/mtr.spec index 67da87eae6671c78eec68f76cba974ffdb95c444..60d0a4f49171299cddf01d1f264489dae86c2678 100644 --- a/mtr.spec +++ b/mtr.spec @@ -2,7 +2,7 @@ Name: mtr Version: 0.95 -Release: 1 +Release: 2 Epoch: 2 Summary: Ping and Traceroute Network Diagnostic Tool License: GPLv2 and BSD @@ -89,6 +89,12 @@ make test %{_mandir}/man8/* %changelog +* Mon Oct 24 2022 xingwei - 2:0.95-2 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:modify fix xmtr cannot start in Xface4 environment + * Tue Jun 28 2022 YukariChiba - 2:0.95-1 - Upgrade version to 0.95 diff --git a/net-xmtr.desktop b/net-xmtr.desktop index 5177bd13e3e1c122aa947b1512d7b31532ccadd6..a5570fab1c8cd13b801723c3d97b9b6baa9beb60 100644 --- a/net-xmtr.desktop +++ b/net-xmtr.desktop @@ -3,7 +3,7 @@ Name=Traceroute Type=Application Comment=Traces packets between two network hosts Exec=xmtr -Terminal=true +Terminal=false Icon=mtr_icon.xpm Encoding=UTF-8 X-Desktop-File-Install-Version=0.2