Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Graphical Console (beta)
PostPosted: Fri Aug 28, 2015 9:45 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Graphical Console (beta)

What is the Graphical Console?
Glish, the graphical console, allows you to view and interact with your virtual machine's graphical output.

We expose the output to you through the Glish service. Glish is out of band, meaning it doesn't go through your Linode's networking. It runs completely outside of your Linode. It's similar to Lish, except instead of connecting to your Linode's serial port and being text, Glish connects to your Linode's graphics port and displays, you guessed it, raster graphics.

What is it good for?
It gives a "computer monitor" to your Linode.

Under Linux, it behaves just like any other Linux box would that has a monitor attached. Your virtual terminals can be displayed on Glish (tty1, for example). Or, a graphical environment can be configured to use the on-board graphics, and you'd have a remote desktop.

When using weird OSs: you'll see inside of Glish what you would see on a real computer's monitor. So, that glorious Windows 3.1 installation screen awaits you...

How do I use it?
The "Launch Graphical Web Console" link on the bottom of your Linode's "Remote Access" subtab. You'll need something inside of your Linode actually making graphical output for you to see anything.

How do I make my Linode generate graphical output?
We're now passing "console=tty1" (in addition to ttyS0) when booting our kernels, so you will see boot messages on both Lish and Glish on your next reboot. We've also changed the Distro Helper to enable a getty on tty1. You should see a getty login prompt on both Lish and Glish, after your next reboot.

Other than that, you're free to use the graphic device for whatever you see fit. Glish supports mode and size switching, too.

Are there any limitations?
  • Glish works only with KVM Linodes. You can convert to KVM via the "Upgrade to KVM" button on the bottom right-hand side of your Linode's dashboard.
  • The bandwidth consumed by Glish is currently free, however it is rate-limited.

Beta feedback is always appreciated!

-Chris


Top
   
PostPosted: Fri Aug 28, 2015 9:52 am 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
How does this interact with StackScripts, where the script is running "on" the getty at boot? Will it run only on the ttyS0?

- Les


Top
   
PostPosted: Fri Aug 28, 2015 10:28 am 
Offline
Linode Staff
User avatar

Joined: Thu Sep 06, 2012 2:22 pm
Posts: 26
Location: New Jersey - Where the weak are killed and eaten.
akerl wrote:
How does this interact with StackScripts, where the script is running "on" the getty at boot? Will it run only on the ttyS0?

- Les


StackScript code has been updated to ensure that it doesn't run multiple times across multiple TTYs


Top
   
PostPosted: Fri Aug 28, 2015 10:30 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
In my opinion, it should retain the existing behavior of ONLY ever running on ttyS0.

I'll let the guys chime in on its current implementation, but I believe right now it's "first one wins".

-Chris


Top
   
PostPosted: Fri Aug 28, 2015 10:43 am 
Offline
Newbie

Joined: Mon May 11, 2015 10:39 am
Posts: 2
akerl wrote:
How does this interact with StackScripts, where the script is running "on" the getty at boot? Will it run only on the ttyS0?

- Les


The StackScripts should run, they should run only once. It usually runs on ttyS0 in our tests, but it can run on tty1 depending on how upstart/systemd/sysvinit runs.


Top
   
PostPosted: Fri Aug 28, 2015 10:56 am 
Offline
Linode Staff
User avatar

Joined: Sun Jun 21, 2015 8:03 pm
Posts: 7
Twitter: hacker_horse
To derail just slightly, GLish confirmed to work with FreeBSD, as well as Solaris, right out of the box! Go Glish! Go KVM! \o\ /o/ \o/

Image

Image

Now back to your regularly scheduled AWESOME! \o/

- Your friendly neighborhood Weird OSes On Linodes girl!

_________________
Linode Support is available 24/7 by opening a ticket at https://manager.linode.com/support
or calling +1-855-454-6633

Chat with other users at irc.oftc.net #linode

You can follow me on Twitter at @hacker_horse
Linode is on Twitter at @Linode

My Blog: http://cloudsdale.hacker.horse/~rainbow/blog/


Top
   
PostPosted: Fri Aug 28, 2015 10:58 am 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
abemassry wrote:
The StackScripts should run, they should run only once. It usually runs on ttyS0 in our tests, but it can run on tty1 depending on how upstart/systemd/sysvinit runs.


Can that be tweaked such that it explicitly runs on ttyS0/hvc0? I can imagine this works like plugging in a USB cable, where inevitably I look in the wrong spot first, and the wrong spot second, and then get it on the 3rd try.

- Les


Top
   
PostPosted: Fri Aug 28, 2015 11:29 am 
Offline
Newbie

Joined: Mon May 11, 2015 10:39 am
Posts: 2
akerl wrote:
abemassry wrote:
The StackScripts should run, they should run only once. It usually runs on ttyS0 in our tests, but it can run on tty1 depending on how upstart/systemd/sysvinit runs.


Can that be tweaked such that it explicitly runs on ttyS0/hvc0? I can imagine this works like plugging in a USB cable, where inevitably I look in the wrong spot first, and the wrong spot second, and then get it on the 3rd try.

- Les


It can be tweaked such that it explicitly runs on ttyS0/hvc0 and it is something that we can look into in the future. There may be a few things you can try in your StackScript to ensure that they run on ttyS0, I'm going to try them out and let you know.


Top
   
PostPosted: Fri Aug 28, 2015 1:01 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
I just logged in an saw the native Ubuntu Unity Desktop and logged into it successfully! You guys rock!!

Edit: The post on HN says it's using something called noVNC but this is still pretty cool: Ref: https://news.ycombinator.com/item?id=10136618


Last edited by jebblue on Fri Aug 28, 2015 2:51 pm, edited 1 time in total.

Top
   
PostPosted: Fri Aug 28, 2015 2:36 pm 
Offline

Joined: Fri Aug 28, 2015 2:33 pm
Posts: 1
Have you considered using some of guacamole? https://github.com/glyptodon/

I've never seen a better web tty emulator.

Image

it does full screen, resizing, multiple ttys in tabs, copy and paste etc.


Top
   
PostPosted: Sat Jan 02, 2016 12:26 am 
Offline

Joined: Sat Jan 02, 2016 12:01 am
Posts: 1
I am dying to get this working - I desperately need to utilize a graphical interface that isn't mine and runs on great hardware - because mine is about to be friend (lubuntu 32 bit) - I can't do anything I want on here - however with something a bit more powerful I could :-) - eg run docker to the moon. Anyway - I have attempted to get the glish console going via traditional means - deploying debian 8 - install a graphical desktop - reboot - add a non root user with sudo priveleges - adding ssh keys - with Debian installed xfce4 also tried lubuntu-desktop on ubuntu 14.04 - and every time I launch glish - I get the following - invalid session please launch from remote access tab - well I'm on the remote access tab or else I would not be clicking that link :-). So i try to backdoor it - connect to lish via my terminal and the startxfce4 from there - no go. when I saw this I was so happy - but atm - at a loss. anyone who has experienced similar issues, kindly let me know if you were able to work through them and exactly what you did to work through them. fyi - I've tried several vnc clients and rdp as well - nothing - on my mac i was able to accomplish this - but the mac died as this one will be doing shortly :-).


Top
   
PostPosted: Sat Jan 02, 2016 12:16 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
cornbread wrote:
Have you considered using some of guacamole? https://github.com/glyptodon/

I've never seen a better web tty emulator.

Image

it does full screen, resizing, multiple ttys in tabs, copy and paste etc.


Linode's UI has had console TTY for a long time. What the announcement is about is the ability to run graphical applications and you don't have to install anything or mess with any special configuration to get it too work (IIRC, it's been a while since I tried it).


Top
   
PostPosted: Sun Jan 03, 2016 10:04 pm 
Offline
Senior Member

Joined: Sat Oct 23, 2010 12:56 pm
Posts: 73
Website: http://www.ingber.com
Location: Oregon
I just tried Glish, from my Remote Access tab as instructed. I got a popup window with one line:

Invalid Session. Please try again from remote access tab

When I ssh into my shell I do see the tty1 getty:
-getty,6981 -8 38400 tty1
-getty,6984 -8 38400 ttyS0

_________________
http://www.ingber.com


Top
   
PostPosted: Tue Jan 05, 2016 2:10 pm 
Offline

Joined: Tue Jan 05, 2016 2:03 pm
Posts: 1
ingber wrote:
I just tried Glish, from my Remote Access tab as instructed. I got a popup window with one line:

Invalid Session. Please try again from remote access tab

Same problem here. The VM is running Ubuntu 14.04. It has GUI since I can run graphical apps remotely (eg ssh -X).

The "plain" Lish terminal works, and I do see the ttyS0 when I do who command. But I never see the ttySn for the Glish instance.

Since others have gotten this working, I'm presuming there's just some config setting missing?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group