http://stevejenkins.com/blog/2010/11/how-to-set-up-vnc-from-windows-to-fedora-14-over-the-internet/
http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/
- for Windows and Linux: tightvnc
- for MacOS: chicken (vnc viewer + vine server)
http://www.maclife.com/article/howtos/control_your_mac_pc
Tips #1: "service vncserver start" fails
set password as vnc user name (#su user)
$cd ~
then as a root user restart vncserver
$vncpasswd
Tips #2: add the following line to vncserver file
VNCSERVERS=”1:user”‘ >> /etc/sysconfig/vncservers
Tips #3:
add port number e.g. 10.10.10.10:xxx (for tightvnc)
Tips #4:
don't forget firewall
TightVNC will also accept the combinations "CTRL+ESC" or "CTRL+ALT+SHIFT+F" to exit full screen mode.
x11vnc
To display :0, x11vnc is required.
Write the following script on your home directory.
#!/bin/bash
x11vnc -noshm -many -background -rfbauth ~/.vnc/passwd -display :0
then, chmod +x run-x11vnc.sh
access to desktop:0 via tightvnc + 5900 mode
--- to run this script at startup,
> gnome-session-properties
then Add /usr/me/run-x11vnc.sh
#! /bin/bash x11vnc -xkb -noshm -many -background -rfbauth ~/.vnc/passwd -display :0
done !!!
NX / freeNX server/client
http://www.kernelhardware.org/fedora-11-x86_64-setup-freenx-server/
NX-resolution issue
I faced the exact same problem when connecting from Mac 10.8 to Ubuntu 10.04 via NX, and I used xrandr to fix it.
Xrandr, or X Resize, Rotate and Reflect Extension (RandR)[2] is an X Window System extension, which allows clients to dynamically change X screens, so as to resize, rotate and reflect the root window of a screen.
Follow these steps:
Xrandr, or X Resize, Rotate and Reflect Extension (RandR)[2] is an X Window System extension, which allows clients to dynamically change X screens, so as to resize, rotate and reflect the root window of a screen.
Follow these steps:
- On your Ubuntu machine, run xrandr:
$ xrandr
~$ xrandr SZ: Pixels Physical Refresh 0 1024 x 768 ( 347mm x 260mm ) 60
1 160 x 120 ( 54mm x 41mm ) 60
2 320 x 240 ( 108mm x 81mm ) 60
3 640 x 480 ( 217mm x 163mm ) 60
4 800 x 600 ( 271mm x 203mm ) 60
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none
This gives you a list of all the available resolutions supported by your Ubuntu computer. - If you want to add a new resolution, say 1680 X 1050, add it:
$ $ cvt 1680 1050
This outputs:
~$ cvt 1680 1050
1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync - Now you need to create a modeline
$ xrandr --newmode <Modeline>
Replace <Modeline> with the modeline of the previous output:
$ xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync - That's it. Now when you run xrandr again, you would see that the newly added resolution in the list:
~$ xrandr SZ: Pixels Physical Refresh 0 1024 x 768 ( 347mm x 260mm ) 60
1 160 x 120 ( 54mm x 41mm ) 60
2 320 x 240 ( 108mm x 81mm ) 60
3 640 x 480 ( 217mm x 163mm ) 60
4 800 x 600 ( 271mm x 203mm ) 60
5 1680 x 1050 ( 569mm x 356mm ) 60
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none - Establish a new NX connection to your Ubuntu--use the KDE/Gnome and it picks up the highest available resolution from that list supported by your client.