steven@linux-ov9v:~> startxxauth: creating new authority file /home/steven/.serverauth.6193Fatal server error:Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again.Please consult the The X.Org Foundation support at http://wiki.x.org for help. No protocol specifiedgiving up. xinit: Resource temporarily unavailable (errno 11): unable to connect to X server xinit: No such process (errno 3): Server error.
steven@linux-ov9v:~> sudo suroot's password:linux-ov9v:/home/steven # cd /home/steven/bin/arduino-0022linux-ov9v:/home/steven/bin/arduino-0022 # ./arduinoException in thread "main" java.lang.ExceptionInInitializerError at processing.app.Base.main(Base.java:112)Caused by: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:231) at processing.core.PApplet.<clinit>(Unknown Source) ... 1 more
xhost +localhostxhost +root
DESCRIPTION The xhost program is used to add and delete host names or user names to the list allowed to make connections to the X server. In the case of hosts, this provides a rudimentary form of privacy control and secu- rity. It is only sufficient for a workstation (single user) environ- ment, although it does limit the worst abuses. Environments which require more sophisticated measures should implement the user-based mechanism or use the hooks in the protocol for passing other authenti- cation data to the server.