打开xmanager的passive程序,托盘区一个X图标
然后如下
Last login: Thu Sep 27 15:27:12 2018 from 10.0.3.2
hadoop@dblab-VirtualBox:~$ export DISPLAY=10.0.3.2:0.0
hadoop@dblab-VirtualBox:~$ xhost +
access control disabled, clients can connect from any host
hadoop@dblab-VirtualBox:~$ xclock
Warning: Missing charsets in String to FontSet conversion
hadoop@dblab-VirtualBox:~$ cd /usr/local
hadoop@dblab-VirtualBox:/usr/local$ ls
anaconda3 eclipse flume hadoop hive kafka man sbin scala spark
bin etc games hbase include lib maven sbt share src
hadoop@dblab-VirtualBox:/usr/local$ cd eclipse
hadoop@dblab-VirtualBox:/usr/local/eclipse$ ls
artifacts.xml configuration eclipse eclipse.ini features icon.xpm META-INF p2 plugins readme
hadoop@dblab-VirtualBox:/usr/local/eclipse$ ./eclipse
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
打开后如图