Michal Ziak Posted May 26, 2019 Posted May 26, 2019 Hi guys, I finally pushed my bot on my debian VPS, however, there is one issue i cannot deal with, using this command: # java -jar "BOT.jar" -debug 5005 -login ######:###### -bot ######:######:0000 -script myfancyscript:true -allow norandoms,lowcpu,lowresource,nointerface,norender -world 474 -proxy xxxxxxxxxx:xxxx Output was: We were unable to login automatically!-You must update Web Walking through the Boot UI. Debug enabled on port 5005 Starting local script with name:myfancyscript Clearing all randoms from OSBot Starting OSBot in low cpu mode Starting OSBot with no interfaces, inherits lowresource Starting OSBot in no render mode But i have no possibilities to run bot through any gui. Is there any possibility to walk around this one?
Night Posted May 27, 2019 Posted May 27, 2019 You can install a VNC server for a virtual desktop view to update the local webwalker files.
Michal Ziak Posted May 27, 2019 Author Posted May 27, 2019 (edited) Okay, finally installed VNC and started webwalk ... however i came to next error, where I am kind of lost. Quote Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65) at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82) at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:132) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at java.awt.Toolkit$2.run(Toolkit.java:860) at java.awt.Toolkit$2.run(Toolkit.java:855) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854) at javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:611) at org.osbot.BotApplication.iIiIIiiIiiii(lab:14) at org.osbot.Boot.main(qs:201) Update: for those who will face similar issue, you need to set enviromental variable DISPLAY to some output which you send to null (for example export DISPLAY=:10). Edited May 28, 2019 by Michal Ziak