LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Error on Fedora 26 " Could not open X display" (https://www.linuxquestions.org/questions/fedora-35/error-on-fedora-26-could-not-open-x-display-4175625820/)

seddik 03-18-2018 04:12 PM

Error on Fedora 26 " Could not open X display"
 
Hi dear members,

Im trying to install vmware-worstation(14) , but when i will enter key licence like "sudo /usr/lib/vmware/bin/vmware-enter-serial" .
I have the error below :


No protocol specified

** (vmware-enter-serial:27277): WARNING **: Could not open X display
No protocol specified

(vmware-enter-serial:27277): Gtk-WARNING **: cannot open display: :0


And i have added Defaults env_keep=DISPLAY , into /etc/sudoers .


Does any one have ideas


Thanks a lot

Seddik

seddik 03-19-2018 02:36 PM

I have solved the probleme enter :
#xhost +local:root
And restarted the machine after adding Defaults env_keep=DISPLAY into /etc/sudoers

Regards,
Seddik


All times are GMT -5. The time now is 07:04 AM.