Fedora 27 - TigerVNC - No windows on remote screen

I installed TigerVNC on a Fedora 27 system but it appears I’m unable to properly use VNC. I am able to connect to the notebook without any problems, but I can’t open applications. Well, to be more precise I am able to open them, but the only appear on the notebook’s screen and not on my remote screen. (Even though I’ve clicked the button on the remote screen).

Currently, my xstartup file looks like this:

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title “$VNCDESKTOP Desktop” &
#x-window-manager &
gnome-session &

Any ideas on what I’m doing wrong?

Apparently Wayland was causing this issue, when I uncommented the line: WaylandEnable=false in etc/gdm/custom.conf it started to work as it is supposed to.
Any ideas on how to get it to work with Waylandenabled?

My understanding is that Wayland is not compatible with VNC because Wayland doesn’t support render pipeline capture. It’s the same reason OBS had (and technically still has) trouble with Wayland.

Long story short, this is a software problem, not configuration, and it’s unlikely to get fixed any time soon.