Unable to view Remote Session via XDMCP using Xming/xcxsrv in rhel 7.4

Posted on

Whenever I start a remote session, I get a black screen. If I disconnect my session, I see a message stating the number of clients connected. I have yum installed gnome-desktop, X11, fonts and Server with GUI. I have also added the following below in my custom.conf and rebooted my system. I have restarted the gdm service. I can access single application, but I can't establish a remote session. I don't have this problem when using XRDP. Has anyone encounter this problem.

[xdmcp]
Enable=true

[security]
DisallowTCP=false
AllowRemoteRoot=true

Here's my log from messages:

Aug 23 23:26:28 testvm journal: Failed to create backend: Unable to open display
Aug 23 23:27:12 testvm org.gnome.Shell.desktop: Xlib: extension "DPMS" missing on display
Aug 23 23:27:12 testvm org.gnome.Shell.desktop: Xlib: extension "DPMS" missing on display .
Aug 23 23:29:55 testvm journal: gsd-media-keys: Fatal IO error 104 (Connection reset by peer) on X server
Aug 23 23:29:55 testvm org.a11y.atspi.Registry: XIO: fatal IO error 104 (Connection reset by peer) on X server
Aug 23 23:29:55 testvm journal: gsd-clipboard: Fatal IO error 104 (Connection reset by peer) on X server
Aug 23 23:29:55 testvm journal: gsd-wacom: Fatal IO error 104 (Connection reset by peer) on X server
Aug 23 23:29:55 testvm journal: gsd-keyboard: Fatal IO error 104 (Connection reset by peer) on X server
Aug 23 23:29:55 testvm journal: gsd-xsettings: Fatal IO error 104 (Connection reset by peer) on X server
Aug 23 23:29:55 testvm journal: gsd-power: Fatal IO error 104 (Connection reset by peer) on X server
Aug 23 23:29:55 testvm journal: gnome-shell: Fatal IO error 0 (Success) on X server
Aug 23 23:30:19 testvm org.gnome.Shell.desktop: Xlib: extension "DPMS" missing on display
Aug 23 23:30:19 testvm org.gnome.Shell.desktop: Xlib: extension "DPMS" missing on display
Aug 23 23:43:08 testvm journal: gnome-shell: Fatal IO error 0 (Success) on X server
Aug 23 23:43:08 testvm journal: gsd-xsettings: Fatal IO error 104 (Connection reset by peer) on X server
Aug 23 23:43:08 testvm journal: Failed to create backend: Unable to open display
Aug 23 23:43:08 testvm journal: gsd-keyboard: Fatal IO error 11 (Resource temporarily unavailable) on X server
Aug 23 23:43:08 testvm journal: gsd-power: Fatal IO error 11 (Resource temporarily unavailable) on X server
Aug 23 23:43:08 testvm journal: gsd-wacom: Fatal IO error 11 (Resource temporarily unavailable) on X server
Aug 23 23:43:08 testvm journal: gsd-color: Fatal IO error 11 (Resource temporarily unavailable) on X server
Aug 23 23:43:08 testvm journal: gsd-media-keys: Fatal IO error 11 (Resource temporarily unavailable) on X server
Aug 23 23:43:08 testvm journal: gsd-clipboard: Fatal IO error 11 (Resource temporarily unavailable) on X server