X11 (xorg) issues in Fedora 29

asked 2018-11-14 19:55:56 -0500

theroark gravatar image

After the upgrade to Fedora 29, I'm having problems with certain programs that, I believe, use the X Server. I should note that I log in using the xorg option (not Wayland), and I can verify this through:

1) echo $WAYLAND_DISPLAY --> no return 2) loginctl show-session $(loginctl|grep $(whoami) |awk '{print $1}') -p Type --> returns "Type=x11"

For example, I use Synkron for syncing backups. But when trying to run it via /usr/bin/synkron in the CLI, I get this back: "synkron: cannot connect to x server".

Similarly, when I try to use xev to see my key commands, I get back: "xev: unable to open display ' '".

And when I enter xlsclients into the CLI, it returns "xlsclients: unable to open display """.

The same goes for every tool that starts with x in /usr/bin; essentially, I can't launch any x-related apps.

How do I fix this?

edit retag flag offensive close merge delete

Comments

Does it work under Wayland? Do you have the localhost line in /etc/hosts ? What terminal do you use? It could be that some shell variable is old and should be erased. Create a brand new user and try from there.

ed209 gravatar imageed209 ( 2018-11-14 20:23:45 -0500 )edit

I have not tried it under Wayland, as I find it unusable. I am using gnome-terminal, but the .desktop file for Synkron also does not work. I will try a new user and Wayland. The /etc/hosts/ file contains: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6. Will report back.

theroark gravatar imagetheroark ( 2018-11-15 10:23:05 -0500 )edit