Scriptation Posted December 6, 2015 Share Posted December 6, 2015 Im using a vps with centos 6 and whenever i run osbot I get an error on the login screen saying cannot connect to osbot and stable version is 0.0.0. Also tried to run oldschool rs in firefox and didnt load. I did use the comand "yum install java" to install the java Link to comment Share on other sites More sharing options...
Lemons Posted December 6, 2015 Share Posted December 6, 2015 Talk to the VPS supplier, if you wanna get technical try pinging some websites (in terminal "ping google.com") and see if you get any connections. This would probably be best brought up in a support ticket with your VPS provider, we can't do much here about it. 1 Link to comment Share on other sites More sharing options...
Scriptation Posted December 6, 2015 Author Share Posted December 6, 2015 (edited) Talk to the VPS supplier, if you wanna get technical try pinging some websites (in terminal "ping google.com") and see if you get any connections. This would probably be best brought up in a support ticket with your VPS provider, we can't do much here about it. ive done that and it works, like its pinging it everything on mozzilla also works and the osbot on my computer works..? Edited December 6, 2015 by Scriptation Link to comment Share on other sites More sharing options...
KEVzilla Posted December 6, 2015 Share Posted December 6, 2015 (edited) Did you run it in terminal? (java -jar osbot.jar) If so see if the terminal has any errors. Edited December 6, 2015 by KEVzilla Link to comment Share on other sites More sharing options...
Scriptation Posted December 6, 2015 Author Share Posted December 6, 2015 jus ttried.. yet this error. [root@Scriptation ~]# java -jar osbot.jar Exception in thread "main" java.lang.ExceptionInInitializerError at org.pushingpixels.substance.internal.contrib.jgoodies.looks.common.ShadowPopupFactory.install(ShadowPopupFactory.java:115) at org.pushingpixels.substance.api.SubstanceLookAndFeel.initialize(SubstanceLookAndFeel.java:1781) at javax.swing.UIManager.setLookAndFeel(UIManager.java:538) at org.pushingpixels.substance.api.SubstanceLookAndFeel.setSkin(SubstanceLookAndFeel.java:2163) at org.pushingpixels.substance.api.SubstanceLookAndFeel.access$000(SubstanceLookAndFeel.java:92) at org.pushingpixels.substance.api.SubstanceLookAndFeel$3.run(SubstanceLookAndFeel.java:2136) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 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:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) 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.lafwidget.utils.LookUtils.isLowResolution(LookUtils.java:435) at org.pushingpixels.lafwidget.utils.LookUtils.<clinit>(LookUtils.java:233) ... 20 more [root@Scriptation ~]# Did you run it in terminal? (java -jar osbot.jar) If so see if the terminal has any errors. jus ttried.. yet this error. [root@Scriptation ~]# java -jar osbot.jar Exception in thread "main" java.lang.ExceptionInInitializerError at org.pushingpixels.substance.internal.contrib.jgoodies.looks.common.ShadowPopupFactory.install(ShadowPopupFactory.java:115) at org.pushingpixels.substance.api.SubstanceLookAndFeel.initialize(SubstanceLookAndFeel.java:1781) at javax.swing.UIManager.setLookAndFeel(UIManager.java:538) at org.pushingpixels.substance.api.SubstanceLookAndFeel.setSkin(SubstanceLookAndFeel.java:2163) at org.pushingpixels.substance.api.SubstanceLookAndFeel.access$000(SubstanceLookAndFeel.java:92) at org.pushingpixels.substance.api.SubstanceLookAndFeel$3.run(SubstanceLookAndFeel.java:2136) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 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:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) 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.lafwidget.utils.LookUtils.isLowResolution(LookUtils.java:435) at org.pushingpixels.lafwidget.utils.LookUtils.<clinit>(LookUtils.java:233) ... 20 more [root@Scriptation ~]# Link to comment Share on other sites More sharing options...
Lemons Posted December 6, 2015 Share Posted December 6, 2015 jus ttried.. yet this error. [root@Scriptation ~]# java -jar osbot.jar Exception in thread "main" java.lang.ExceptionInInitializerError at org.pushingpixels.substance.internal.contrib.jgoodies.looks.common.ShadowPopupFactory.install(ShadowPopupFactory.java:115) at org.pushingpixels.substance.api.SubstanceLookAndFeel.initialize(SubstanceLookAndFeel.java:1781) at javax.swing.UIManager.setLookAndFeel(UIManager.java:538) at org.pushingpixels.substance.api.SubstanceLookAndFeel.setSkin(SubstanceLookAndFeel.java:2163) at org.pushingpixels.substance.api.SubstanceLookAndFeel.access$000(SubstanceLookAndFeel.java:92) at org.pushingpixels.substance.api.SubstanceLookAndFeel$3.run(SubstanceLookAndFeel.java:2136) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 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:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) 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.lafwidget.utils.LookUtils.isLowResolution(LookUtils.java:435) at org.pushingpixels.lafwidget.utils.LookUtils.<clinit>(LookUtils.java:233) ... 20 more [root@Scriptation ~]# jus ttried.. yet this error. [root@Scriptation ~]# java -jar osbot.jar Exception in thread "main" java.lang.ExceptionInInitializerError at org.pushingpixels.substance.internal.contrib.jgoodies.looks.common.ShadowPopupFactory.install(ShadowPopupFactory.java:115) at org.pushingpixels.substance.api.SubstanceLookAndFeel.initialize(SubstanceLookAndFeel.java:1781) at javax.swing.UIManager.setLookAndFeel(UIManager.java:538) at org.pushingpixels.substance.api.SubstanceLookAndFeel.setSkin(SubstanceLookAndFeel.java:2163) at org.pushingpixels.substance.api.SubstanceLookAndFeel.access$000(SubstanceLookAndFeel.java:92) at org.pushingpixels.substance.api.SubstanceLookAndFeel$3.run(SubstanceLookAndFeel.java:2136) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 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:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) 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.lafwidget.utils.LookUtils.isLowResolution(LookUtils.java:435) at org.pushingpixels.lafwidget.utils.LookUtils.<clinit>(LookUtils.java:233) ... 20 more [root@Scriptation ~]# You need to run the jar from an X11 session, aka you need to setup a whole desktop environment or run it from a "emulated terminal" within a desktop environment. This will just be called a normal "Terminal" or "X11 Terminal" or "Something Terminal". Link to comment Share on other sites More sharing options...
Scriptation Posted December 6, 2015 Author Share Posted December 6, 2015 You need to run the jar from an X11 session, aka you need to setup a whole desktop environment or run it from a "emulated terminal" within a desktop environment. This will just be called a normal "Terminal" or "X11 Terminal" or "Something Terminal". how would i do that, sorry im not used to linux Link to comment Share on other sites More sharing options...
Lemons Posted December 6, 2015 Share Posted December 6, 2015 how would i do that, sorry im not used to linux Can you VNC into the machine and get a desktop, or is this a basic CentOS 6 install? CentOS 6 does not come with a desktop environment on a VPS by default, and you'll have to manually install it. I am not well versed in CentOS 6 so I cannot help. Who is the VPS provider, or if you don't want to share are they just "VPS" or "Botting VPS"? Link to comment Share on other sites More sharing options...
Scriptation Posted December 6, 2015 Author Share Posted December 6, 2015 Can you VNC into the machine and get a desktop, or is this a basic CentOS 6 install? CentOS 6 does not come with a desktop environment on a VPS by default, and you'll have to manually install it. I am not well versed in CentOS 6 so I cannot help. Who is the VPS provider, or if you don't want to share are they just "VPS" or "Botting VPS"? Im just fresh installing a new version of ubuntu 14.04 because it messed up -.- im following this guide 1. Download putty. 2. Open putty and input your server's IP address. 3. Type in the following (case sensitive): apt-get updateNow wail till it updates and then type in: sudo apt-get install ubuntu-desktop --no-install-recommendsAgain, wait till it's done and after that type in: sudo apt-get install xrdpThen type in: /etc/init.d/xrdp status // we check the status of the server/etc/init.d/xrdp start // we start the server Now we need to install XFCE desktop.. So type in: sudo apt-get update // we update the repo againsudo apt-get install xfce4 // we install XFCE4 Now after we installed everything we need to let know XFCE that we will be using it's desktop instead of ubuntu or gnome. So TYPE IN : echo xfce4-session >~/.xsession And then last step... Type in: sudo service xrdp restartNow to connect to your ubuntu, you don't really need any UltraVNC or anything like that. Just go to search on your windows and type in remote desktop, launch that little program and type in the IP of your server in the computer name field. It should now properly connect, type in your username (usually root) and password (whatever you setup on your vps as root) AND that's it! You are ready to bot, just remember to download JAVA!!! (sudo apt-get install java). Once you are in remote desktop now open terminal window and type in: sudo apt-get install default-jresudo apt -get install firefoxThis will install java and firefox for you.. Now you can download the bot...When you download the bot make sure you make it exe. so you move the bot file to the /root directory and then go to terminal and type in: chmod +x Advertising other bots isn't allowed..jarafter that you can go and launch the bot and BOT... remember to select java 1.7.0 on Advertising other bots isn't allowed. client!! IF you are using XRDP and want to reconnect you to the same session you MUST follow these short steps! 1. Login to your xfce desktop 2. Go to /etc/xrdp/xrdp.ini ( Should be in the file system somewhere ) 3. Look for "xrdp7" and at the bottom add this: [xrdp8]name=Reconnect lib=libvnc.so username=ask password=ask ip=127.0.0.1 port=5910 4. Save this file & exit your remote desktop. 5. Login to xrdp with module "RECONNECT" and ta da, job is done:) (everytime now you want to connect to your existing session you need to use RECONNECT module. Link to comment Share on other sites More sharing options...
Lemons Posted December 6, 2015 Share Posted December 6, 2015 Im just fresh installing a new version of ubuntu 14.04 because it messed up -.- im following this guide 1. Download putty. 2. Open putty and input your server's IP address. 3. Type in the following (case sensitive): apt-get updateNow wail till it updates and then type in: sudo apt-get install ubuntu-desktop --no-install-recommendsAgain, wait till it's done and after that type in: sudo apt-get install xrdpThen type in: /etc/init.d/xrdp status // we check the status of the server/etc/init.d/xrdp start // we start the server Now we need to install XFCE desktop.. So type in: sudo apt-get update // we update the repo againsudo apt-get install xfce4 // we install XFCE4 Now after we installed everything we need to let know XFCE that we will be using it's desktop instead of ubuntu or gnome. So TYPE IN : echo xfce4-session >~/.xsession And then last step... Type in: sudo service xrdp restartNow to connect to your ubuntu, you don't really need any UltraVNC or anything like that. Just go to search on your windows and type in remote desktop, launch that little program and type in the IP of your server in the computer name field. It should now properly connect, type in your username (usually root) and password (whatever you setup on your vps as root) AND that's it! You are ready to bot, just remember to download JAVA!!! (sudo apt-get install java). Once you are in remote desktop now open terminal window and type in: sudo apt-get install default-jresudo apt -get install firefoxThis will install java and firefox for you.. Now you can download the bot...When you download the bot make sure you make it exe. so you move the bot file to the /root directory and then go to terminal and type in: chmod +x Advertising other bots isn't allowed..jarafter that you can go and launch the bot and BOT... remember to select java 1.7.0 on Advertising other bots isn't allowed. client!! IF you are using XRDP and want to reconnect you to the same session you MUST follow these short steps! 1. Login to your xfce desktop 2. Go to /etc/xrdp/xrdp.ini ( Should be in the file system somewhere ) 3. Look for "xrdp7" and at the bottom add this: [xrdp8]name=Reconnect lib=libvnc.so username=ask password=ask ip=127.0.0.1 port=5910 4. Save this file & exit your remote desktop. 5. Login to xrdp with module "RECONNECT" and ta da, job is done:) (everytime now you want to connect to your existing session you need to use RECONNECT module. Just run this instead: bash <(curl -sL http://git.io/vWPiu) You can view the whole script source here https://gist.github.com/Lem0ns/52ccbf8d5038e8f2f446#file-osbot-ubuntu-quickstart-sh Link to comment Share on other sites More sharing options...
Scriptation Posted December 6, 2015 Author Share Posted December 6, 2015 Just run this instead: bash <(curl -sL http://git.io/vWPiu) You can view the whole script source here https://gist.github.com/Lem0ns/52ccbf8d5038e8f2f446#file-osbot-ubuntu-quickstart-sh just copy that into putty after fresh install? Link to comment Share on other sites More sharing options...
Lemons Posted December 6, 2015 Share Posted December 6, 2015 just copy that into putty after fresh install? Yep, it will ask you for a username/password for the user account for the desktop environment, and then a password for the VNC password. Once installed connect to: your-ip:5901 Link to comment Share on other sites More sharing options...
Scriptation Posted December 6, 2015 Author Share Posted December 6, 2015 Yep, it will ask you for a username/password for the user account for the desktop environment, and then a password for the VNC password. Once installed connect to: your-ip:5901 i copied it and got an error saying bash wasnt recognised? Link to comment Share on other sites More sharing options...
Lemons Posted December 6, 2015 Share Posted December 6, 2015 (edited) i copied it and got an error saying bash wasnt recognised? if bash isn't recognized the ubuntu install sounds pretty fubar lol. Not sure how to fix that oO. Edit: Try this: apt-get install bash Edited December 6, 2015 by Lemons Link to comment Share on other sites More sharing options...
Impensus Posted December 6, 2015 Share Posted December 6, 2015 Use okabes vps noob guide and use it with debian 7, works flawlessly for me Link to comment Share on other sites More sharing options...