The client is offline due to RuneScape update. You may see instance errors but this is due to the update and not actual instance errors. This should be resolved soon. Join our Discord for more information.

client not opening on Ubuntu server



  • Hello!

    I've tried to install RSPeer on a Ubuntu VPS but I am currently running into a few problems.
    I have successfully installed Java Oracle

    java -version
    java version "1.8.0_201"
    Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
    Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
    

    When I start RSPeer with this command ./rspeer-linux.sh [mykey]
    I can see the instance on the BotManagement.
    Also inside the terminal I can see that it has connected as it should:

    Loading... please wait.
    Attempting to connect to RSPeer servers...
    Running Launcher v0.05
    Successfully connected to RSPeer servers.
    Do not close this window if you would like to access this computer to run RSPeer clients on.
    To run clients, visit https://bot.rspeer.org and find the launcher with the proper host name.
    Ip Address: [MyVPSIP]
    Host Name: [MyHostName]
    Link Key: [MyKey]

    Whenever I want to quick start a script however I am getting errors in the terminal.
    On the RSPeer Bot Management I can't find anything weird in the logs.

    Error on terminal:

    Spawning process: /root/.rspeer/1.35.jar -Xmx384m -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true -Xss2m
    Attempting to connect to RSPeer servers.
    
    Successfully connected to RSPeer servers... starting.
    
    java.lang.reflect.InvocationTargetException
    
    	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
    	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
    	at org.rspeer.Bootstrap.lambda$start$0(ip:58)
    	at org.rspeer.api_services.31.1.IIIiIiiiIiIII(ay:27)
    	at io.socket.emitter.Emitter.emit(Emitter.java:117)
    	at io.socket.client.Socket.access$601(Socket.java:24)
    	at io.socket.client.Socket$5.run(Socket.java:186)
    	at io.socket.thread.EventThread.exec(EventThread.java:55)
    	at io.socket.client.Socket.emit(Socket.java:182)
    	at io.socket.client.Socket.onconnect(Socket.java:389)
    	at io.socket.client.Socket.onpacket(Socket.java:283)
    	at io.socket.client.Socket.access$100(Socket.java:24)
    	at io.socket.client.Socket$2$2.call(Socket.java:120)
    	at io.socket.emitter.Emitter.emit(Emitter.java:117)
    	at io.socket.client.Manager.ondecoded(Manager.java:427)
    	at io.socket.client.Manager.access$1600(Manager.java:30)
    	at io.socket.client.Manager$7.call(Manager.java:403)
    	at io.socket.parser.IOParser$Decoder.add(IOParser.java:105)
    	at io.socket.client.Manager.ondata(Manager.java:419)
    	at io.socket.client.Manager.access$1000(Manager.java:30)
    	at io.socket.client.Manager$2.call(Manager.java:370)
    	at io.socket.emitter.Emitter.emit(Emitter.java:117)
    	at io.socket.engineio.client.Socket.onPacket(Socket.java:551)
    	at io.socket.engineio.client.Socket.access$1000(Socket.java:36)
    	at io.socket.engineio.client.Socket$5.call(Socket.java:335)
    	at io.socket.emitter.Emitter.emit(Emitter.java:117)
    	at io.socket.engineio.client.Transport.onPacket(Transport.java:126)
    	at io.socket.engineio.client.transports.Polling.access$700(Polling.java:18)
    	at io.socket.engineio.client.transports.Polling$2.call(Polling.java:127)
    	at io.socket.engineio.parser.Parser.decodePayload(Parser.java:241)
    	at io.socket.engineio.client.transports.Polling._onData(Polling.java:135)
    
    	at io.socket.engineio.client.transports.Polling.onData(Polling.java:102)
    	at io.socket.engineio.client.transports.PollingXHR$5$1.run(PollingXHR.java:125)
    	at io.socket.thread.EventThread$2.run(EventThread.java:80)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    Caused by: java.lang.ExceptionInInitializerError
    	at org.pushingpixels.neon.NeonCortex.getPlatform(NeonCortex.java:65)
    	at org.pushingpixels.neon.NeonCortex.getDefaultFontPolicy(NeonCortex.java:97)
    	at org.pushingpixels.substance.api.SubstanceCortex$GlobalScope.getFontPolicy(SubstanceCortex.java:522)
    	at org.pushingpixels.substance.api.SubstanceCortex$GlobalScope.setSkin(SubstanceCortex.java:199)
    	at org.pushingpixels.substance.api.SubstanceLookAndFeel.initialize(SubstanceLookAndFeel.java:239)
    	at javax.swing.UIManager.setLookAndFeel(UIManager.java:538)
    	at org.rspeer.ui.31.IIIiIiiiIiIII(me:181)
    	at org.rspeer.RSPeer.start(qr:6)
    	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
    	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    	at java.awt.EventQueue.access$500(EventQueue.java:97)
    	at java.awt.EventQueue$3.run(EventQueue.java:709)
    	at java.awt.EventQueue$3.run(EventQueue.java:703)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    Caused by: java.awt.HeadlessException: 
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    	at sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:226)
    	at org.pushingpixels.neon.internal.contrib.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:200)
    	at org.pushingpixels.neon.internal.contrib.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:143)
    	... 22 more
    
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    
    	at org.rspeer.01.31.2.IIIiIiiiIiIII(cj:121)
    	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    	at java.awt.EventQueue.access$500(EventQueue.java:97)
    	at java.awt.EventQueue$3.run(EventQueue.java:709)
    	at java.awt.EventQueue$3.run(EventQueue.java:703)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    
    {"RsUsername":"[Rsusername]","RsPassword":"[RsPassword]","World":-1,"ScriptName":"OneClickMasterFarmer","IsRepoScript":true,"ScriptArgs":"-nogui","UseProxy":true,"ProxyPort":"[port]","ProxyIp":"[proxyIP]","ProxyUser":"[proxyusername]","ProxyPass":"[proxypass]","Config":{"LowCpuMode":false,"SuperLowCpuMode":false,"EngineTickDelay":0,"DisableModelRendering":false,"DisableSceneRendering":false}}
    
    java.lang.NullPointerException
    
    	at org.rspeer.RSPeer.crawl(qr:88)
    	at org.rspeer.Bootstrap.injectAndLoad(ip:91)
    	at org.rspeer.01.1.IIIiIiiiIiIII(rn:138)
    	at org.rspeer.01.1.IiiiiiiiiiiIi(rn:50)
    	at org.rspeer.01.31.2.IIIiIiiiIiIII(cj:70)
    	at org.rspeer.01.1.IIIiIiiiIiIII(rn:58)
    	at org.rspeer.01.1.iIIIiiiiiiIiI(rn:166)
    	at org.rspeer.01.31.50.IIIiIiiiIiIII(jg:54)
    	at org.rspeer.01.31.50.IiiiiiiiiiiIi(jg:10)
    	at org.rspeer.01.1.iIIIiiiiiiIII(rn:119)
    	at org.rspeer.Bootstrap.lambda$start$0(ip:123)
    	at org.rspeer.api_services.31.1.IIIiIiiiIiIII(ay:27)
    	at io.socket.emitter.Emitter.emit(Emitter.java:117)
    	at io.socket.client.Socket.access$601(Socket.java:24)
    	at io.socket.client.Socket$5.run(Socket.java:186)
    	at io.socket.thread.EventThread.exec(EventThread.java:55)
    	at io.socket.client.Socket.emit(Socket.java:182)
    	at io.socket.client.Socket.onconnect(Socket.java:389)
    	at io.socket.client.Socket.onpacket(Socket.java:283)
    	at io.socket.client.Socket.access$100(Socket.java:24)
    	at io.socket.client.Socket$2$2.call(Socket.java:120)
    	at io.socket.emitter.Emitter.emit(Emitter.java:117)
    	at io.socket.client.Manager.ondecoded(Manager.java:427)
    	at io.socket.client.Manager.access$1600(Manager.java:30)
    	at io.socket.client.Manager$7.call(Manager.java:403)
    	at io.socket.parser.IOParser$Decoder.add(IOParser.java:105)
    	at io.socket.client.Manager.ondata(Manager.java:419)
    	at io.socket.client.Manager.access$1000(Manager.java:30)
    	at io.socket.client.Manager$2.call(Manager.java:370)
    	at io.socket.emitter.Emitter.emit(Emitter.java:117)
    	at io.socket.engineio.client.Socket.onPacket(Socket.java:551)
    	at io.socket.engineio.client.Socket.access$1000(Socket.java:36)
    	at io.socket.engineio.client.Socket$5.call(Socket.java:335)
    	at io.socket.emitter.Emitter.emit(Emitter.java:117)
    	at io.socket.engineio.client.Transport.onPacket(Transport.java:126)
    
    	at io.socket.engineio.client.transports.Polling.access$700(Polling.java:18)
    	at io.socket.engineio.client.transports.Polling$2.call(Polling.java:127)
    	at io.socket.engineio.parser.Parser.decodePayload(Parser.java:241)
    	at io.socket.engineio.client.transports.Polling._onData(Polling.java:135)
    	at io.socket.engineio.client.transports.Polling.onData(Polling.java:102)
    	at io.socket.engineio.client.transports.PollingXHR$5$1.run(PollingXHR.java:125)
    
    	at io.socket.thread.EventThread$2.run(EventThread.java:80)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    
    java.lang.NullPointerException
    
    	at org.rspeer.01.1.IIIiIiiiIiIII(rn:81)
    	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    	at java.awt.EventQueue.access$500(EventQueue.java:97)
    	at java.awt.EventQueue$3.run(EventQueue.java:709)
    	at java.awt.EventQueue$3.run(EventQueue.java:703)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    
    

    Meantime on the BotManagement log:

    {"RsUsername":"[Rsusername]","RsPassword":"[rspassword]","World":-1,"ScriptName":"OneClickMasterFarmer","IsRepoScript":true,"ScriptArgs":"-nogui","UseProxy":true,"ProxyPort":"[proxyport]","ProxyIp":"[proxyip]","ProxyUser":"[username]","ProxyPass":"[password]","Config":{"LowCpuMode":false,"SuperLowCpuMode":false,"EngineTickDelay":0,"DisableModelRendering":false,"DisableSceneRendering":false}}
    
    2/9/2019, 4:19:00 PM
    
    Successfully connected to RSPeer servers... starting.
    
    2/9/2019, 4:18:58 PM
    
    Attempting to connect to RSPeer servers.
    
    2/9/2019, 4:18:57 PM
    
    Spawning process: /root/.rspeer/1.35.jar -Xmx384m -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true -Xss2m
    
    

  • Director

    @Stayfresh You have to make sure you start the .sh file whie VNC'ed into the GUI on your ubuntu server. It will not work over SSH since that does have an x11 display.

    As shown here in the exception:

    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    	at sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:226)
    	at org.pushingpixels.neon.internal.contrib.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:200)
    	at org.pushingpixels.neon.internal.contrib.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:143)
    	... 22 more
    

    Basically this means it is trying to load up a runescape client over SSH, which obviously won't work.

    To make it work:

    1. Exit the current running launcher.
    2. VNC into your server and run the .sh file on the linux gui via the terminal.
    3. Profit

 

52
Online

14.3k
Users

1.3k
Topics

17.6k
Posts