On my Fedora (Fedora 22 Workstation) system, I recently installed Eclipse (sudo dnf install eclipse-platform). However, I am unable to launch Eclipse without using sudo. I would prefer not to have to use sudo to launch Eclipse. I have already tried reinstalling it.Output if I use the command eclipse:(Eclipse:2709): GLib-GObject-WARNING **: The property GtkMisc:ypad is deprecated and shouldn't be used anymore. It will be removed in a future version.The above message does not show up if I use sudo eclipse.I also tried gksu-polkit eclipse and got this output:/usr/bin/xauth:  file /home/<my_username>/.Xauthority does not exist/usr/bin/xauth:  file /home/<my_username>/.Xauthority does not existGtk-Message: GtkDialog mapped without a transient parent. This is discouraged.In addition, when I run gksu-polkit eclipse, I get an Eclipse error window that says:The Eclipse executable launcher was unable to find its companion shared library.I hope you can help,  and thank you in advance!
Eclipse does not launch without sudo
fedora;sudo;eclipse
I finally got this to work (sort of).I was running my Fedora machine on a GNOME Desktop Environment which was using the Wayland window system. When I switched to X, it ended up working.