Depends on how exactly you got
that shell running. If you have a username (root or some user) you might be able to run `startx` and get a GUI, but don't hold your breath!
Some files of interest:
/etc/securetty # sets which tty's root can login on (at least "console" should be uncommented if root can login on local console.
/etc/login.access # sets who's disallowed to login from where.
/etc/nologin # if exists, will inhibit non-root logins.
/etc/login.defs # a bunch of configuration fields pertaining to logins in general.
If you can't get the GUI, have a look in those files for starters, and see if you can determine if they are configured such that local logins are not allowed. Keep track of what you change, in case you accidentally create a security hole!!!