Every Flavour Beans

“The time has come…to talk of many [technologies].” –Lewis Carroll(’The Walrus and the Carpenter’)
Development Tools. Web Frameworks. GNU/Linux. Nokia N800. Video Encoding.

November 21, 2007

Accessing GNU/Linux & Windows Desktop Remotely From Nokia N800 Using VNC Viewer

Filed under: GNU/Linux, N800 — tabrez @ 6:27 pm

It’s easy to control the desktop of your computer from a Nokia N800 Internet tablet. If the computer is running a GNU/Linux distribution, you can run a VNC server on that computer and then connect to it from N800 through an application like VNC Viewer. You can do the same if the computer is running either Windows or Mac OS operating system too, but they also support their own native remoting protocols - Windows supports RDP protocol and Mac supports ADP protocol - which are generally, though not in all cases, considered to be better options over VNC. You can learn more about the differences between VNC and other native protocols like RDP and ADP over the Internet.

If you decide that you want to use RDP to connect to a Windows machine, then read How to Access the Windows Desktop Remotely From Nokia N800 Using rDesktop.

Here is the summary of what we have to do in order to get VNC working: 1) install a VNC Server on the computer running Windows or GNU/Linux OS; 2) install VNC Viewer application on Nokia N800 Internet tablet; and 3) configure/run VNC Server and VNC Viewer to connect them together. So let’s get started.

Installing and configuring VNC Server on a Windows Computer

You can download and install any VNC server available for the Windows platform but I am going to use TightVNC server as the example here.

Our first step is to download the TightVNC server from its website. Either a) download the “setup.exe” version and install it by running it and going through the installation wizard, or b) simply download the “zip” version highlighted in the screenshot below, extract it in a directory and run “WinVNC.exe” from the extracted directory.

Download TightVNC Server for Windows

In the properties window that is shown when you run it, erase whatever is present in the password text fields and enter your own password (twice) in them, and then click OK. Make sure that you remember this password!

Run TightVNC Server on Windows

That completes the server side configuration.

Installing and configuring VNC Server on a GNU/Linux Computer

Most GNU/Linux distributions come with a VNC server pre-installed so this step is not required in most of the cases. If you are using the GNOME desktop, go to System -> Preferences -> Remote Desktop. In the opened dialog box, select the settings as shown in the screenshot below. Remember the password that you enter in this dialog box.

Configure Remote Desktop on GNOME in GNU/Linux

If you are using the KDE desktop, go to KDE (start button) -> Internet -> Krfb Desktop Sharing. You basically need to search for Krfb Desktop Application in whichever menu your distribution might have placed it. Click “Configure” and select the settings as shown in the screenshot below:

Configure Remote Desktop on KDE in GNU/Linux

If the above mentioned VNC Servers are not available on your GNU/Linux system, you can search your package manager or search one for your distribution over the web and install the one that you like. TightVNC server is one example that can be installed on almost all the platforms.

Installing VNC Viewer on Nokia N800

If the Maemo Extras repository is already added in your repository settings, you can install VNC Viewer from the Application Manager. If not(or you don’t know what repositories are), go to the website of VNC Viewer(from N800’s web browser) and click on the Single-click install file link for your tablet version(N770 or N800).

Install VNC Viewer client on Nokia N770/N800

It should then be downloaded and installed on your tablet(answer OK/Yes whenever you are prompted to).

Connecting to your computer remotely from Nokia N800

The first thing we need to do now is to find out the IP address of your computer. Open a terminal/command prompt and run “ifconfig” as root on GNU/Linux or “ipconfig” on a Windows machine. On Fedora you may have to run “/sbin/ifconfig”. Example output on a Gentoo machine:
Note IP address on GNU/Linux or Windows machine

Note the IP address of your computer from the above output. You can run the VNC Viewer application from the Extras application menu.

Run VNC Viewer on Nokia N770/N800 from Extras application menu

When you run it, it will ask you for the IP address of the computer you want to connect to. Enter the IP address as shown in the following screenshot(substitute the IP address of your computer):

Enter IP address of remote machine in VNC Viewer client on Nokia N770/N800

The format used to to connect to a GNU/Linux system is IP-Address:Display-number as shown in the screenshot i.e. 192.168.2.10:0; 0 is the display number here(the VNC Server will show you this display number; see the “Remote Desktop Preferences” screenshot above). To connect to a Windows machine, just enter the IP address like “192.168.2.10″(without the quotes). If all goes well you should be seeing the desktop of your computer displayed within the window of VNC Viewer on your tablet:

Desktop of Ubuntu displayed on Nokia N770/N800 in VNC Viewer client

Well done! Here are more examples of how the desktop of a computer looks on the N800 tablet:
Ubuntu on N800 in fullscreen mode
Gentoo on N800
Windows on N800
Kubuntu on N770

Additional Notes

When accessing the desktop of your computer from Nokia N800, you do not have the access to N800’s on-screen keyboard. You can use the the keyboard of your PC if yours is a wireless one, but obviously it needs to be in the range of your PC to work. If you have a bluetooth keyboard that you have paired with N800, then it’s party time for you!

VNC access is usually slow on Windows systems(that’s why we use RDP). You can take several steps to make the experience more satisfactory:

  1. Disable the background image on your XP/Vista machine or just configure VNC server to disable the background image whenever someone remotely connects to it.
  2. Configure TightVNC server to refresh only the window under focus or window under the mouse.
  3. Experiment with other VNC servers. Examples are RealVNC, UltraVNC.
  4. I have heard from my friends that installing DFMirage on their XP machines made the experience better. I couldn’t test it as it is not yet totally supported on Vista operating system. In an email response, DemoForge’s CEO informed me that the next version due in a week or so will support both 32-bit and 64-bit Vista editions.

Now you can control the file downloads, select the music to play, or whatever that you would like to manage remotely, from the comforts of your bed/sofa. There is a lot more that you can achieve through VNC remoting but I hope this primer will help in getting you started.


If you want to receive future posts by email, enter your email address here:

Related Posts:

  • Connecting To Nokia N800 From a Computer Using VNC
  • Accessing the Windows Desktop Remotely From Nokia N800 Using rDesktop
  • Different Ways of Taking Screenshots in Nokia N800
  • Microsoft’s Mobile PC Newsletter Features Linux-enabled Nokia N800
  • Accessing UPnP Streamed Media in Nokia N800 using MediaStreamer
  • Woohoo! Nokia N810 Internet Tablet is Here!
  • MH Shot Tool Can Now Take Delayed Screenshots of Nokia N800

  • 4 Comments »

    1. Hi, I’ve been having some trouble connecting to my computer through my n800. I did everything the top says and the n800 say’s it can’t find the server. Would it make a difference if i used the same internet as my computer? As in you know connecting to the same network?

      Quote

      Comment by Shoumik Pennathur — December 23, 2007 @ 9:24 am

    2. Yes Shoumik, to be able to access the computer desktop from N800, both of them(your PC and Nokia N800) must be connected to the same network. It won’t work if they are connected to different networks. It has nothing to do with Internet connections though, just should be connected to the same local network.

      Quote

      Comment by tabrez — December 23, 2007 @ 1:06 pm

    3. I am not able to execute exe files on my N800. Do we have any solution for that. Any help would be highly appreciated.

      Thanks in advance

      Quote

      Comment by Manmohan — January 17, 2008 @ 4:12 pm

    4. Hi Manmohan:

      What “exe” files are you talking about? Windows executables obviously won’t run on N800 and if you are talking about PC GNU/Linux binaries, then you can’t just copy them to N800 and run them. N800 has an ARM processor, so only those applications that are cross-compiled/ported to N800 architecture will run on it.

      You can find applications that run on N800 from the following pages:

      Applications for N800/OS2007
      Applications for N800/OS2008

      Quote

      Comment by tabrez — January 17, 2008 @ 7:28 pm

    RSS feed for comments on this post. TrackBack URI

    Leave a comment

    Subscribe without commenting


    Copyright (c) 2006, 2007 Tabrez Iqbal.
    Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. Verbatim copying and distribution of this entire article is permitted in any medium without royalty provided this notice is preserved. A copy of the license is included in the section entitled "GNU Free Documentation License".


    Powered by WordPress
    This website is hosted by Dreamhost