Hello,
i'm running a homeserver with debian 7 and without a desktop environment, i only use it via ssh.
The most programs like uTorrent and Minecraftserver are available guiless and are useable via ssh or webinterface.
I used vnc for jDownloader which is not able to work without a GUI.
(When it's running i use the webinterface to control it, i need vnc only to start.)
Is it possible to start Minecraft without a real desktop environment too?
I tried vnc, i can use the launcher normally, i can login, i can download a minecraft version,
but when i start it's loading and after e few seconds i get the error: "org.lwjgl.LWJGLException: Could not choose visual"
Seems like it could not find a display, anybody knows a trick, maybe a JVM Argument to define vnc as display?
Any suggestions?
Greetings Ray
PS.: Here the script i use to start the Minecraft Launcher with VNC
(i edited a script i found on the internet to start jdownloader without a desktop environment)
#!/bin/bash
#Version 0.4 - Ray
# 0.1: first test
# 0.2: added resolution
# 0.3: added java programm
# 0.4: added memory
#directory
PDIR=/home/minecraft/
#display number
VNCSERVER_NUMBER=2
#resolution
DRESOLUTION=1280x720
#java memory (use m for megabyte and g for gigabyte)
MEMORY=512m
#java program
PROGRAM=KN_Launcher.jar
#vnc number
vncserver :$VNCSERVER_NUMBER -geometry $DRESOLUTION
#start vnc
export DISPLAY=localhost:$VNCSERVER_NUMBER
#start java program
java -Xmx$MEMORY -jar $PDIR/$PROGRAM &
Hello,
i'm running a homeserver with debian 7 and without a desktop environment, i only use it via ssh.
The most programs like uTorrent and Minecraftserver are available guiless and are useable via ssh or webinterface.
I used vnc for jDownloader which is not able to work without a GUI.
(When it's running i use the webinterface to control it, i need vnc only to start.)
Is it possible to start Minecraft without a real desktop environment too?
I tried vnc, i can use the launcher normally, i can login, i can download a minecraft version,
but when i start it's loading and after e few seconds i get the error: "org.lwjgl.LWJGLException: Could not choose visual"
Seems like it could not find a display, anybody knows a trick, maybe a JVM Argument to define vnc as display?
Any suggestions?
Greetings Ray
PS.: Here the script i use to start the Minecraft Launcher with VNC
(i edited a script i found on the internet to start jdownloader without a desktop environment)
#!/bin/bash
#Version 0.4 - Ray
# 0.1: first test
# 0.2: added resolution
# 0.3: added java programm
# 0.4: added memory
#directory
PDIR=/home/minecraft/
#display number
VNCSERVER_NUMBER=2
#resolution
DRESOLUTION=1280x720
#java memory (use m for megabyte and g for gigabyte)
MEMORY=512m
#java program
PROGRAM=KN_Launcher.jar
#vnc number
vncserver :$VNCSERVER_NUMBER -geometry $DRESOLUTION
#start vnc
export DISPLAY=localhost:$VNCSERVER_NUMBER
#start java program
java -Xmx$MEMORY -jar $PDIR/$PROGRAM &
U don't use the standalone server if u have to login.
sorry for missunderstanding, my english isnt that good and i use most times the wrong words to explain.
The most programs like uTorrent and Minecraftserver are available guiless and are useable via ssh or webinterface.
Im already using a Minecraftserver without any Problems, it runs perfectly on the most of my root servers since years....
what i want to know, if it's possible to start the client on the server as a "bot" without a desktop environment.
i'm running a mod and i want it to be 24/7 on my server, my desktop pc consumes too much power, but my server is always online so that should be no problem.
like i said, at the moment i'm able to start the launcher, do some settings, downloads and stuff, but when i try to start i get this error after a few seconds: "org.lwjgl.LWJGLException: Could not choose visual"
I don't think that this is possible, Main part of the Minecraft Client is the Graphic engine.
If u use Bukkit its maybe possible that u Mod is available as an plugin.
(Or a Plugin that do nearly the same as u Mod)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumi'm running a homeserver with debian 7 and without a desktop environment, i only use it via ssh.
The most programs like uTorrent and Minecraftserver are available guiless and are useable via ssh or webinterface.
I used vnc for jDownloader which is not able to work without a GUI.
(When it's running i use the webinterface to control it, i need vnc only to start.)
Is it possible to start Minecraft without a real desktop environment too?
I tried vnc, i can use the launcher normally, i can login, i can download a minecraft version,
but when i start it's loading and after e few seconds i get the error: "org.lwjgl.LWJGLException: Could not choose visual"
Seems like it could not find a display, anybody knows a trick, maybe a JVM Argument to define vnc as display?
Any suggestions?
Greetings Ray
PS.: Here the script i use to start the Minecraft Launcher with VNC
(i edited a script i found on the internet to start jdownloader without a desktop environment)
U don't use the standalone server if u have to login.
The Server: https://s3.amazonaws.com/Minecraft.Download/versions/1.7.9/minecraft_server.1.7.9.jar
A Tutorial how to start: http://minecraft.gamepedia.com/Setting_up_a_server
For u is the needet part the end of this starting command line:
java.exe -Xms1048M -Xmx2048M -jar minecraft_server.jar nogui
("nogui" do the trick.)
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumIm already using a Minecraftserver without any Problems, it runs perfectly on the most of my root servers since years....
what i want to know, if it's possible to start the client on the server as a "bot" without a desktop environment.
i'm running a mod and i want it to be 24/7 on my server, my desktop pc consumes too much power, but my server is always online so that should be no problem.
like i said, at the moment i'm able to start the launcher, do some settings, downloads and stuff, but when i try to start i get this error after a few seconds: "org.lwjgl.LWJGLException: Could not choose visual"
If u use Bukkit its maybe possible that u Mod is available as an plugin.
(Or a Plugin that do nearly the same as u Mod)