CentOS Minimal 7.3: Qt FATAL: QXcbConnection: Could not connect to display

Discussions related to using VirtualBox on Linux hosts.
TechGuyChris
Posts: 4
Joined: 26. Apr 2016, 03:37

Re: CentOS Minimal 7.3: Qt FATAL: QXcbConnection: Could not connect to display

Post by TechGuyChris »

Here you go I just ecountered this after install Oracle Linux 7.4 with minimal install. practically the same as CentOs Do the following:

yum update
yum install xauth

in the /etc/ssh/sshd_config the following seting needs to be set

X11Forwarding yes

in /etc/ssh/ssh_config, the following setting needs to be set

ForawardX11Trusted yes

Note: ForwardX11Trusted is usually set to yes by default.

After doing the above, reboot your server box. reconnect and you should be good to go.
You can also use a tool called mobraxterm if your going to be doing alot of x11 stuff. Its a more stable alternative to xming. Its basically putty with xming all in one.
You have to reboot your server after installing all package updates from the "yum update" command.

Hope this helps!
Post Reply