Difference between revisions of "VNC"
From Amahi Wiki
| Line 20: | Line 20: | ||
= Server = | = Server = | ||
| − | To start the server in your HDA, you type this at the command line | + | To start the server in your HDA, you need the vnc-server rpm package: |
| + | |||
| + | <pre> | ||
| + | yum -y install vnc-server | ||
| + | </pre> | ||
| + | |||
| + | When that is installed, type this at the command line | ||
vncserver | vncserver | ||
| − | The first time | + | The first time it runs it will ask for setting up a password. You can also specify a size, which I typically do a hair smaller than the desktop I plan to use it from. Example for 1280x1024: |
vncserver -geometry 1250x1000 | vncserver -geometry 1250x1000 | ||
More detailed instructions are available [http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/ here]. | More detailed instructions are available [http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/ here]. | ||
| + | |||
| + | = Full Gnome Desktop = | ||
| + | |||
| + | In order to run the full gnome desktop in vnc, you have to edit the file | ||
| + | |||
| + | .vnc/xstartup | ||
| + | |||
| + | and make sure it has this: | ||
| + | |||
| + | <pre> | ||
| + | # Uncomment the following two lines for normal desktop: | ||
| + | unset SESSION_MANAGER | ||
| + | exec /etc/X11/xinit/xinitrc | ||
| + | </pre> | ||
Revision as of 19:28, 26 November 2008
Contents
Using VNC to use a remote desktop in the HDA
Using VNC is useful if:
- You would like a Linux desktop to the HDA
- You would like to use a GUI to configure printer(s)
- You enjoy using the Linux desktop
What you need
- A server
- A client
Client
- For Windows
- For MAC
- For Linux, you have the vncviewer package, available in most, if not all distros
Server
To start the server in your HDA, you need the vnc-server rpm package:
yum -y install vnc-server
When that is installed, type this at the command line
vncserver
The first time it runs it will ask for setting up a password. You can also specify a size, which I typically do a hair smaller than the desktop I plan to use it from. Example for 1280x1024:
vncserver -geometry 1250x1000
More detailed instructions are available here.
Full Gnome Desktop
In order to run the full gnome desktop in vnc, you have to edit the file
.vnc/xstartup
and make sure it has this:
# Uncomment the following two lines for normal desktop: unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc
