Minecraft over RDP

OK ,so the Minecraft client is an opengl application, but it will not get past the logon screen unless it can detect some OpenGL hardware - problem is if you RDP, all you get left with is software rendering. Minecraft will barf.

So why would you want to run Minecraft in an RDP session? you wouldnt' but in my case I simply want to test my internet connectivity to my MC server at home.

<# returns a collection of session objects for local computer #>
function GetSessions()
{
    $sessions = query session
    1..($sessions.count -1) | % {
        $temp = "" | Select Computer,SessionName, Username, Id, State, Type, Device
                        $temp.Computer = $c
                        $temp.SessionName = $sessions[$_].Substring(1,18).Trim()
                        $temp.Username = $sessions[$_].Substring(19,20).Trim()
                        $temp.Id = $sessions[$_].Substring(39,9).Trim()
                        $temp.State = $sessions[$_].Substring(48,8).Trim()
                        $temp.Type = $sessions[$_].Substring(56,12).Trim()
                        $temp.Device = $sessions[$_].Substring(68).Trim()
        $temp
    }
}

$sessions = GetSessions
$sessions | ft
$id = ($sessions | ?{$_.username -eq $env:username}).id
& tscon $id /dest:console
start-sleep -s 5
&java "-Xms512m" "-Xmx1024m" "-cp" "$($env:APPDATA)\.minecraft\bin\minecraft.jar;$($env:APPDATA)\.minecraft\bin\*" "-Djava.library.path=`"$($env:APPDATA)\.minecraft\bin\natives`"" "net.minecraft.client.Minecraft" "zaphodikus" "******" "10.10.10.0:1494"

where zaphodikus is the username and ***** is the password 10.10.10.0:1494 is the server address and port number.

OK ,so what are we really doing?

Setting up minecraft server, so here are some more tips : http://henrik08.wordpress.com/2011/06/29/play-minecraft-through-a-socks-proxy-windows/ on setting up a socks proxy. A what? Socks, as in sockets.

Comments