The issue is probably because the packettracer package needs QT_QPA_PLATFORM environmental variable to be set to xcb for xwayland . It has been recommended here Wayland on Arch Linux ,that you set it to
export QT_QPA_PLATFORM="wayland,xcb"
So that if wayland support is not found it falls back to xorg. If you use uwsm you can add this to your .config/uwsm/env file and it should now be able to run packettracer. Alternatively you can open a terminal and run the above line and if you launch packettracer from the shell it should work for the duration of that shell.
Pinned Comments
runnytu commented on 2020-01-04 16:58 (UTC) (edited on 2020-01-04 16:59 (UTC) by runnytu)
To install all versions of packettracer except 7.2.2, follow this guidelines: 1. Download the snapshot from this AUR. 2. Tar -zxf the packettracer.tar.gz snapshot (it creates the dir packettracer/ with the PKGBUILD on it). 3. Download the latest packettracer tarball from your Netacad account and copy it into the packettracer/ dir. 4. Create the package with the command makepkg (it creates a packettracer.pkg.tar.xz). 5. Install the package with either makepkg -i or sudo pacman -U packettracer.pkg.tar.xz.
Packettracer 7.2.2 are auto installable via run file, download it from netacad webpage and run it, you don't need this package.