Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jul 13, 2010 3:23 pm 
Offline
Newbie

Joined: Tue Jul 13, 2010 3:02 pm
Posts: 4
OK, call me crazy. I think my new iPad is infecting my brain.

I'm excited about the idea of using my new iPad as a thin client for an Ubuntu desktop running on Linode. Why? Because it's there. No, I can't think of any practical use cases. That's not the point.

People with iPads are enthusiastically using a VNC client called iTeleport to control their home desktops remotely. This suffers from two problems: a) the home computer GUIs are sized for desktop screens, not iPads, and b) the responsiveness is limited by the home Internet connection.

We can improve both issues by running a GUI designed for netbooks (Ubuntu Netbook Edition) and by controlling a computer hosted in a data center (Linode) instead of at home.

So I'm thinking something along the lines of setting up a Linode with Ubuntu Server, installing Ubuntu Netbook Edition (with "sudo aptitude install ubuntu-netbook" perhaps?), installing a VNC server running over SSH, buying iTeleport for my iPad, and then BAM:

I'll have Ubuntu Netbook Edition on my iPad whenever I've got Internet connectivity.


What do you guys think?

David

P.S. I checked for an NX client for the iPad and didn't see one.


Top
   
PostPosted: Tue Jul 13, 2010 3:57 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Ubiquitous wrote:
No, I can't think of any practical use cases.

With the bar set that low, how can you fail?


Top
   
 Post subject:
PostPosted: Tue Jul 13, 2010 4:32 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
From a "Lets just try it for the hell of it" perspective it sounds cool, I imagine you can do it.


Top
   
PostPosted: Tue Jul 13, 2010 4:45 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
vonskippy wrote:
With the bar set that low, how can you fail?


The only way to try to fail is to fail to try!

My UNR netbook is currently using 1331 MB of RAM, but if I close Firefox, that goes down to 1052 MB. If I kill blueproximity (which I suspect may have a memory leak), I'm down to 325 MB.

I wouldn't recommend blueproximity on a Linode, but hey, 325 MB << 512 MB. Try it and see. Sucky part will be X11 over WAN, but you know that already.


Top
   
 Post subject:
PostPosted: Wed Jul 14, 2010 12:48 am 
Offline
Newbie

Joined: Tue Jul 13, 2010 3:02 pm
Posts: 4
Thanks for the encouragement. I failed.

I followed the Linux: Headless Ubuntu with VNC howto and got stuck when gdm attempts to launch the default X server:

Quote:
(II) LoadModule: "vesa"
(II) Loading /usr/lib/xorg/modules/drivers//vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 2.2.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0
(II) VESA: driver for VESA chipsets: vesa
(WW) Falling back to old probe method for vesa
(EE) No devices detected.

It looks like the howto is adding a VNC X server alongside the default, and telling the default to use the "vesa" driver, but that driver doesn't seem to work in Linode.

I can't figure out how to get gdm to ignore the default X server and use only the Xvnc X server.

Sigh,
David


Top
   
 Post subject:
PostPosted: Wed Jul 14, 2010 12:40 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
The iPad is a 1024x768 display, which is what most GUIs are designed for. Windows/Gnome/KDE/etc should all work fine on that size of display, so running a netbook distro isn't really needed...


Top
   
 Post subject:
PostPosted: Wed Jul 14, 2010 3:15 pm 
Offline
Newbie

Joined: Tue Jul 13, 2010 3:02 pm
Posts: 4
Guspaz wrote:
The iPad is a 1024x768 display, which is what most GUIs are designed for. Windows/Gnome/KDE/etc should all work fine on that size of display, so running a netbook distro isn't really needed...

True, but that's not why I choose the netbook distro. I want it for these features:
  • Go Home Applet - A gnome-panel applet that, when clicked upon, displays the desktop. Used in a netbook-based desktop, the desktop-window will normally be the launcher. Go Home Applet also works in conjunction with the netbook-remix-launcher whereby dragging and dropping a file/url/application to the go-home-applet will automatically add it to the launcher's favorites section.
  • Maximus - A desktop daemon which will automatically maximise and, optionally, un-decorate windows. Has support for exclusion lists and will work with any EWMH-spec compliant window-manager.
  • Ubuntu Netbook Remix Launcher - An easy-to-use program/places/favourites launcher which resides on the desktop, replacing the main-menu.
  • Window Picker Applet - A gnome-panel applet that displays open windows as icons on the panel, and has integrated window title-bar functionality. Optimised for use on netbook-size screens.
I think they'll give a better GUI experience on the iPad.

I made some progress since yesterday. I was able to tell GDM to use Xvfb instead of the normal X server so that it would stop complaining about the lack of video hardware on the Linode. I had to downgrade GDM from 2.28 to 2.20 first, however, because 2.28 removed the ability to customize it in this way:

Code:
# aptitude install gdm-2.20
# sed -i s,/usr/X11R6/bin/X,/usr/bin/Xvfb, /etc/gdm/gdm.conf
# sed -i s,VTAllocation=true,VTAllocation=false, /etc/gdm/gdm.conf

Now I can log in via VNC but immediately afterward the netbook-launcher crashes, making the GUI unusable:

Quote:
Jul 14 19:50:06 localhost kernel: netbook-launche[16057]: segfault at 404 ip b6d82326 sp bfa9232c error 4 in libGL.so.1.2[b6d80000+5000]


Last edited by Ubiquitous on Mon Aug 09, 2010 8:11 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Wed Jul 14, 2010 5:30 pm 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
Look for the 100% software OpenGL implementation... I think you want libgl1-mesa-swx11(-686).


Top
   
 Post subject:
PostPosted: Wed Jul 14, 2010 6:26 pm 
Offline
Newbie

Joined: Tue Jul 13, 2010 3:02 pm
Posts: 4
rsk wrote:
Look for the 100% software OpenGL implementation... I think you want libgl1-mesa-swx11(-686).

That fixed it, thank you!

It works! Woo hoo!

:D :D :D


Top
   
 Post subject:
PostPosted: Wed Jul 14, 2010 6:33 pm 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
Niiiice. Now, please pay close attention to just how huge CPU hog it is. ;)


Top
   
 Post subject:
PostPosted: Thu Jul 15, 2010 9:54 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
It's too bad there's no NX client for iOS. It's a heck of a lot faster than VNC.


Top
   
 Post subject:
PostPosted: Fri Jul 16, 2010 6:34 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
Guspaz wrote:
It's too bad there's no NX client for iOS. It's a heck of a lot faster than VNC.


I was very surprised at that, having used VNC for years. It is most excellent, and running a Linode GUI via NX is supersweet.

James


Top
   
 Post subject:
PostPosted: Fri Jul 16, 2010 10:01 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
It has to do with the nature of VNC. It's really more like a streaming video solution than anything else; a typical VNC server will poll random scanlines of the display to determine if anything has changed, and if something has changed, it sends the section of the image that has changed to the client.

Protocols like Microsoft's RDP or NoMachines' NX work on a lower level; they're integrated with the underlying UI API, so they don't need to send everything in images, they don't have to work so hard to figure out if the image on-screen changed, and they're less wasteful since they send less data that hasn't changed.

The advantage of VNC, though, is that it's very easy to implement, and it can work on pretty much any platform. That's why there are VNC servers for virtually every operating system you can think of.

For its part, NX itself doesn't handle any of the actual UI stuff directly. It wraps around XDMCP (the X Display Manager Control Protocol) and tries to optimize it. It does this by compression and caching; the caching allows it to eliminate most round-trips, which produces an enormous speed increase over simple X forwarding.


Top
   
 Post subject:
PostPosted: Fri Aug 06, 2010 12:38 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
NX version 4 will have a web accessible client, which will work on any javascript enabled browser including ipads etc


Top
   
 Post subject:
PostPosted: Fri Aug 06, 2010 10:20 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Presumably requiring HTML5 support (things like canvas)...

There are already such things for VNC. They are very slow on desktops. Further hurting them for mobile use is the fact that iOS is still using a really crappy javascript engine; as far as I know, the only mobile browser using a next-gen Javascript engine is Android as of froyo (2.2). And no mobile browser has hardware acceleration for canvases (IE9 and Firefox do on the desktop).

There are some things that web apps are goof for, some things that they will become good for, and some things that they are bad for. I think web-based NX/VNC/RDP/etc clients fall into the middle category; the underlying architecture to support them is there (it works), but it's not sufficiently advanced (it's too slow). But I think it will get there, eventually.


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


Who is online

Users browsing this forum: No registered users and 2 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