Ubuntu installed Hadoop under MAC system uses GEDIT to display: GTK warning * *:, Earnest

Alibaba cloud Q & A 2022-02-13 07:14:45 阅读数:817

ubuntu installed hadoop mac uses

MAC Under the system ubuntu loading hadoop Use gedit Show :Gtk-WARNING **:cannot open display How to solve image.png




Take the answer 1:

Hello! , Can't connect to display, Guess your hadoop In the virtual machine ,gedit This need X Our software can't open the graphical interface . The simple solution is to change the editor (vim、nano、emacs), use vim Edit environment variables export $DISPLAY=:0.0, Restart the virtual machine and see .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130714441765.html