Skip to Content
Linux Desktop Hacks
book

Linux Desktop Hacks

by Nicholas Petreley, Jono Bacon
March 2005
Beginner to intermediate
342 pages
15h 55m
English
O'Reilly Media, Inc.
Content preview from Linux Desktop Hacks
Run Your Desktop over the Internet #31
Chapter 4, Related to X
|
103
HACK
View Your Desktop in a Web Browser
One intriguing feature of the VNC server is that it includes a small web
server that exports the VNC desktop to a browser using a special Java
applet. To access your VNC server, connect to port
5801 with a Java-enabled
web browser. This port number is appended to the hostname/IP address in
the same way as a normal web resource:
http://foo.com:5801
This port number actually maps to the VNC display you are running. If
you are running display number
1, use port 5801; display number 2 is port
5802, etc.
Some distributions, notably Debian, package the Java applet
separately from the VNC server package.
When you are running any server on the Internet, you should take steps to
ensure that it is protected with a firewall. A firewall keeps all unwanted traf-
fic away from your server. If you are running a firewall already, you should
ensure that ports 5800-5805 are available for use. If you want to be extra
secure, only open port 5801 for use and make sure you always run off desk-
top number 1. Another option is to encrypt your VNC connection with an
SSH tunnel
[Hack #32].
HACK
#31
Run Your Desktop over the Internet Hack #31
You can access your desktop system and run graphics applications from
remote systems at close to full speed, even over dial-up connections.
You might want to access a desktop computer remotely ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Linux Multimedia Hacks

Linux Multimedia Hacks

Kyle Rankin
Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones
CentOS Quick Start Guide

CentOS Quick Start Guide

Shiwang Kalkhanda

Publisher Resources

ISBN: 0596009119Catalog PageErrata