Installing a VNC server on a maemo Internet Tablet
Today, I’m going to give a talk about Vagalume in the “VIII Jornadas de Software Libre de GPUL 2008“, since Berto finally won’t be able to be there, as it was initially planned, so I’ll be charged with the responsibility of telling the people how cool Vagalume, Maemo and GNOME are in only 30 minutes… quite a big challenge for me, since I seldom can speak in a concise, short and effective way without going on and on.
So, yesterday I spent some time looking for an easy and effective way for showing people attending to the talk how cool this cute device (my N810) is… and thinking about the past I remembered when Andres gave a talk/workshop about the Maemo development platform, where he used an VNC server installed in the device to show the N810 “screen” to everyone in the room, just using an VNC client in the laptop connected to the proyector.
IIRC, AndrĂ©s compiled the VNC server for the device to get it working, but yesterday I found a much easier way to get it working, so here you are the receipt (I use too much this word in my blog, perhaps I should consider to become a cook… ):
- Download the pre-compiled .deb package for your device from this web.
- Copy the .deb file to your device and install it following one of the following methods:
- Install it with the Application installer from the Control Panel (N770).
- Install it with the Application Manager from the ‘Settings’ Menu (N800 / N810). It’s required to have the red-pill mode enabled. To know how to enable this “peculiar” mode, check this out.
- Open a root terminal in the device with a remote ssh connection and install it this way:
- Configure it to use a password with the default username available in the device (’user‘):
- Make sure you are running the terminal as ‘user’, by executing the command:
- Create a VNC password (recommended):
- This will store your password (encrypted) under /home/user/.vnc/passwd
- Start the server:
- Not using the password: from Menu -> Extras, click on x11vnc.
- Using the password (recommended):
- Open a terminal for ‘user’
- Execute the command:
- Connect to server (already running on the device, at port 5900):
- Using any VNC client connect to your device’s IP, using the following credentials if you started the server with –usepw:
- Username: user
- Password: (whatever you’ve set with –storepasswd)
dpkg -i x11vnc_0.9.3-1_armel.deb
su user
x11vnc -storepasswd
x11vnc –usepw
Of course, there are lots of options you can pass to x11vnc (see x11vnc –help) but these ones worked fine for me: I have an easy VNC server working with password authentication
And to finish this post, just a last advice: If you think you’re going to use always (like me) the VNC server with password authentication, it could be more nice for you to edit the /usr/bin/x11vnc.sh script so it also includes the –usepw. This way, you can always start the VNC server from Menu -> Extras, withouth having to open a terminal for it… although, to be honest, I still prefer a remote terminal for most of the times, because of the output I continously get through it… but hey! that’s just a very personal opinion!
Back from California
As my mate Berto has already commented on his blog, we’re back from California after attending to the Mobile Rules! ‘08 awards ceremony, and I’d like to say that we had a great time there, even though we didn’t win the prize… but being a finalist was already a very nice kind of price, don’t you think?
Moreover, maybe we didn’t get the acknowledgement of being the “Mobile Ruler ‘08″ under the Multimedia category, but we met a lot of people indeed, and we enjoyed a lot of the event, which was nicely arranged to allow all the participants to meet each other and to have a good dinner at the San Jose City Hall Rotunda (look at the picture to see me in front of the beautiful San Jose City Hall).
So, maybe the next time we could have more luck with Vagalume, but now it’s the present and, as Berto said in his last post, it’s time to get back to work and keep on getting Vagalume even better with some nice improvements we already have in mind and others that I’m sure are still to come.
PS: This was the first time I’ve been to the US West Coast, and I have to say that I loved California… such a lovely place, such a lovely place. I hope I could go back soon
Live report from DudesConf (3 a.m. in the morning)
Today was a nice day here in the DudesConf 07, full of interesting talks about debian and meeting new (and not so new) people from differents parts of the world who came just because one main reason: talk about the debian distro, its current state and about several related things, in general terms. (more info at http://www.dudesconf.org).
At first I thought I couldn’t attend this interesting event, but at last I could and I’m happy to do so, because it was an interesting day in which, even though I wasn’t able to pay as much attention as I wished, I learned several new things and met new people that could be difficult in other way apart from this one. And we even had a GPG signing party in which we shared our fingerprints and get our gpg keys signed by each other.
But, apart from the main reason of this conference, we had some interesting experiences after dinner, leaded by a “queimada”, and a session of playing “Frets On Fire” videogame which was a really fun and funny situation: everyone staring at someone who played an “electric guitar” with a keyboard while something like a guitar-karaoke was reproduced in the projector used for the talks.
Here you are some photos of this last “experience”:
Update [21:32]: I’ve added another photo of some igalians (Chema, Calvaris, Berto, Javi and me) with Steve Langasek, one of the Debian etch release managers:
See you next time guys!