-->

GoogleSearch



Scientist. Husband. Daddy. --- TOLLE. LEGE
외부자료의 인용에 있어 대한민국 저작권법(28조)과 U.S. Copyright Act (17 USC. §107)에 정의된 "저작권물의 공정한 이용원칙 | the U.S. fair use doctrine" 을 따릅니다. 저작권(© 최광민)이 명시된 모든 글과 번역문들에 대해 (1) 복제-배포, (2) 임의수정 및 자의적 본문 발췌, (3) 무단배포를 위한 화면캡처를 금하며, (4) 인용 시 URL 주소 만을 사용할 수 있습니다. [후원 | 운영] [대문으로] [방명록] [옛 방명록] [티스토리 (백업)]

이 블로그 검색

Remote Desktop: VNC _ NX for Linux / Mac

라벨:







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:
  1. 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.
  2. 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
  3. 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
  4. 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
  5. 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.
 







    라벨:





    Scientist. Husband. Daddy. --- TOLLE. LEGE
    외부자료의 인용에 있어 대한민국 저작권법(28조)과 U.S. Copyright Act (17 USC. §107)에 정의된 "저작권물의 공정한 이용원칙 | the U.S. fair use doctrine" 을 따릅니다. 저작권(© 최광민)이 명시된 모든 글과 번역문들에 대해 (1) 복제-배포, (2) 임의수정 및 자의적 본문 발췌, (3) 무단배포를 위한 화면캡처를 금하며, (4) 인용 시 URL 주소 만을 사용할 수 있습니다. [후원 | 운영] [대문으로] [방명록] [옛 방명록] [티스토리 (백업)] [신시내티]

    -