프로그램 사용/VNC2011. 12. 31. 19:49
tsclient는 윈도우즈의 mstsc와 거의 유사한 디자인의 원격제어 프로그램이다.
vnc 프토토콜은 기본적으로 추가되어 있지 않지만 목록상에는 존재한다.


xtightvncviewer  패키지를 추가하면 목록에 추가되고,
xtightvncviewer 라는 명령어를 사용하여 직접 연결할 수도 있지만
gnome 사용중에 프로그램 목록에 추가되지는 않는다.

$ sudo apt-get install xtightvncviewer

[링크 : https://help.ubuntu.com/community/VNC/Clients]
[링크 : http://queleimporta.com/using-vnc-with-terminal-server-client-on-ubuntu/]  


'프로그램 사용 > VNC' 카테고리의 다른 글

VNC web 버전?  (0) 2014.12.11
VNC 5.0.5  (0) 2013.09.04
UVNC - Ultra VNC  (2) 2010.11.26
우분투 9.10 원격설정하기(vino server on Ubuntu 9.10)  (0) 2009.12.30
Fedora Core 6에 VNC 설치하기  (0) 2009.07.22
Posted by 구차니
프로그램 사용/Putty2011. 6. 21. 09:06
맨날 헷갈리는데.. 이넘의 Local / Remote 개념이란 -_-

아무튼, 아래와 같이 putty에서 Local 로 설정을 하고
Local의 5900번 포트를 localhost의 5900번(여기서 localhost는 putty가 실행한 pc)
그리고 Add를 누르면 게임끝~!


vnc에서는 이제 귀차니즘 100% 발동하여 localhost만 쳐주면 된다.


Posted by 구차니
프로그램 사용/VNC2010. 11. 26. 13:34
개인적으로는 realVNC만 사용했는데,
VISTA / Win7에서는 Service Mode가 작동하지 않는 문제로 인해서 UVNC로 환승중이다 -_-

설치시에 VISTA/Win7 관련 다운로드는 전부 체크해주면
별다른 설정없이(물론 방화벽은 뚫어줘야겠지만) 작동이 된다.





하지만, 듀얼 모니터의 경우 메인모니터만 나오고
아래와 같이 보조 모니터가 왼쪽에 있는 경우 좌표가 엉겨 마우스가 못 움직이고, 메인 화면이 나오는 불상사가 발생!
아직 해결책은 발견하지 못했다.(머.. 일시적인 해결책은 싱글 모니터로 써라 정도?)


장점 : VISTA/Win7에서 Service mode 가능함
         File 전송가능(하지만 드래그로 바로 보낼수는 없음)

단점 : 이녀석도 아직은.. 듀얼모니터 지원을 제대로 못함

'프로그램 사용 > VNC' 카테고리의 다른 글

VNC 5.0.5  (0) 2013.09.04
tsclient에 VNC 추가하기  (0) 2011.12.31
우분투 9.10 원격설정하기(vino server on Ubuntu 9.10)  (0) 2009.12.30
Fedora Core 6에 VNC 설치하기  (0) 2009.07.22
tightVNC 서버사용기  (0) 2009.04.02
Posted by 구차니
Linux/Ubuntu2010. 10. 28. 15:50
"연결을 받아들이도록 자동 네트워크 설정" 을 선택하면 VNC 접속시 암호를 물어보지 않게 설정이 된다.


Posted by 구차니
프로그램 사용/VNC2009. 12. 30. 21:16
시스템 - 기본설정 메뉴에서
"원격 데스크탑"과 "시작 응용 프로그램" 을 설정한다.

원격 데스크탑에서는, 공유에서 두가지 체크
보안에서 암호 입력과 자동 네트워크 설정 체크
취향에 따라 알림 영역에 아이콘 표시를 해주거나 하지 않으면 된다.

하지만, 위에까지만 해서는 자동으로 원격 데스크탑이 시작되지 않으므로
시작 프로그램 기본 설정에서 원격 데스크탑을 체크 해주어야 한다.

[링크 : http://minimonk.tistory.com/397]

'프로그램 사용 > VNC' 카테고리의 다른 글

tsclient에 VNC 추가하기  (0) 2011.12.31
UVNC - Ultra VNC  (2) 2010.11.26
Fedora Core 6에 VNC 설치하기  (0) 2009.07.22
tightVNC 서버사용기  (0) 2009.04.02
tightVNC / realVNC  (0) 2009.03.13
Posted by 구차니
프로그램 사용/VNC2009. 7. 22. 14:42
서버설정은 크게 6단계로 나뉜다.

1. rpm이나 소스로 vnc를 설치한다.(자세한 내용은 생략)
2. /etc/sysconfig/vncserver의 내용을 수정한다.
# The VNCSERVERS variable is a list of display:user pairs.
 #
 # Uncomment the lines below to start a VNC server on display :2
 # as my 'myusername' (adjust this to your own).  You will also
 # need to set a VNC password; run 'man vncpasswd' to see how
 # to do that.
 #
 # DO NOT RUN THIS SERVICE if your local area network is
 # untrusted!  For a secure way of using VNC, see
 # <URL:http://www.uk.research.att.com/archive/vnc/sshvnc.html>.
 
 # Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
 
 # Use "-nohttpd" to prevent web-based VNC clients connecting.
 
 # Use "-localhost" to prevent remote VNC clients connecting except when
 # doing so through a secure tunnel.  See the "-via" option in the
 # `man vncviewer' manual page.
 
 # VNCSERVERS="2:myusername"
 # VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"

FC6에서는 localhost:0.0 은 gdm에서 사용하고 있으므로, 1번 이후로 설정을 해준다.
예를들어 testuser 라는 아이디로 1번 디스플레이 1024x768 해상도로 접속을 하도록 하려면 아래와 같이 추가를 해준다.
VNCSERVERS="1:testuser"
VNCSERVERARGS[1]="-geometry 1024x768 -nohttpd"

3. vncpasswd로 사용자 비밀번호를 설정한다. 물론 확인을 위해 두번 입력 해야 한다.
   이 부분을 하지 않고 vncserver를 구동시키면, 아무런 에러 없이 FAILED 만 출력된다.
$ vncpasswd
Password:
Verify:

4. 기본으로 설정되는 윈도우 매니저는 twm으로, gdm에 익숙해진 일반유저로서는 교체해주는 것이 좋다.
   위의 설정에 해준 아이디의 홈디렉토리에서 .vnc/ 디렉토리에 xstartup이라는 스크립트를 교체 해준다.
   xstatup 파일은 /etc/X11/xinit/xinitrc을 xstartup으로 이름 바꾸어 복사해주면 된다.


# more xstartup
#!/bin/sh
# Copyright (C) 1999 - 2005 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Authors:
#       Mike A. Harris <mharris@redhat.com>

# Mandatorily source xinitrc-common, which is common code shared between the
# Xsession and xinitrc scripts which has been factored out to avoid duplication
. /etc/X11/xinit/xinitrc-common

# The user may have their own clients they want to run.  If they don't,
# fall back to system defaults.
if [ -f $HOME/.Xclients ]; then
    exec $SSH_AGENT $DBUS_LAUNCH $HOME/.Xclients || \
    exec $SSH_AGENT $HOME/.Xclients
elif [ -f /etc/X11/xinit/Xclients ]; then
    exec $SSH_AGENT $DBUS_LAUNCH /etc/X11/xinit/Xclients || \
    exec $SSH_AGENT /etc/X11/xinit/Xclients
else
    # Failsafe settings.  Although we should never get here
    # (we provide fallbacks in Xclients as well) it can't hurt.
    [ -x /usr/bin/xsetroot ] && /usr/bin/xsetroot -solid '#222E45'
    [ -x /usr/bin/xclock ] && /usr/bin/xclock -geometry 100x100-5+5 &
    [ -x /usr/bin/xterm ] && xterm -geometry 80x50-50+150 &
    [ -x /usr/bin/twm ] && /usr/bin/twm
fi

5. 방화벽을 해제하거나, 포트를 풀어준다.(자세한 내용은 생략)
    포트는 5900번이 기본으로 디스플레이 포트를 더해준다.
    예를들어 3번 display 번호를 사용하면 5900 + 3 = 5903 번의 포트를 열어주어야 한다.

6. vnc 서버를 구동한다.(자세한 내용은 생략)
    service vncserver start
    service vncserver restart

'프로그램 사용 > VNC' 카테고리의 다른 글

tsclient에 VNC 추가하기  (0) 2011.12.31
UVNC - Ultra VNC  (2) 2010.11.26
우분투 9.10 원격설정하기(vino server on Ubuntu 9.10)  (0) 2009.12.30
tightVNC 서버사용기  (0) 2009.04.02
tightVNC / realVNC  (0) 2009.03.13
Posted by 구차니
Linux/Ubuntu2009. 4. 30. 15:03
페도라에서는 /etc/sysconfig/vncserver에 설정파일이 있었는데
ubuntu에서는 이 파일이 존재 하지 않고 vnc가 구동이 되길래 어떤걸로 구동이 되나 궁금해서
프로세스를 찾아 보니 vino-server라는 것이 존재했다.

일단 이녀석을 찾아 보니.. 2005년 KDLP문서에도 발견되는거 봐선... 오래전부터 있어왔던것 같다.
Gnome에 통합된 VNC라고 한다.

[링크 : http://kldp.org/node/55005]

그리고 앞의 문서에서 내가 5900 외에 다른 포트로 사용했는데, 원래 의도한 방법과는 너무 다르게 사용한것 같다.
원래 의도는 VNC가 가지는 보안상의 헛점으로 인해 ssh tunnelling을 이용하여 localhost:0으로 접속을 하도록
한것인데, 이게 귀찮아서 그냥 바로 VNC로 접속하도록 설정을 하고 쓰고 있다.

[링크 : http://www.linuxquestions.org/questions/linux-desktop-74/how-to-configure-vino-server-561753/]

vino-server를 콘솔에서 직접 명령어로 제어하는 것에 대한 문서이다

I suppose the settings in /etc/gdm/gdm.conf-custom override those in /etc/gdm/gdm.conf
You are perfectable capable of setting each value in the
/home/<userhomedir>/.gconf/desktop/gnome/remote_access/%gconf.xml file manually using the gconftool-2 command.
[링크 : http://ubuntuforums.org/showthread.php?t=266981]



가장 왼쪽패널이 Vino-server 패널의 아이콘
vino-server로 vnc 접속시 나타나는 메시지.

[vino-server 공식? : http://vino.klik.atekon.de/]

'Linux > Ubuntu' 카테고리의 다른 글

우분투에는 iptable 대신 ufw가 있다!  (2) 2009.05.07
ubuntu에 cvs / svn 설치하기  (0) 2009.04.30
삼바 설치하기  (0) 2009.04.29
ubuntu 9.04로 업그레이드  (0) 2009.04.28
gnome-avrdude 컴파일하기  (6) 2009.04.27
Posted by 구차니
Linux/Ubuntu2009. 4. 25. 00:42
X11이 가동중이라면(다르게 말해서 Gnome이나 KDE 등이 실행중이라면, 혹은 runlevel이 5라면)
localhost:0.0 은 사용중이므로 사용할 수가 없다.
(그러니까 기본값인 5900은 실질적으로 X윈도우가 기본 구동되는 우분투에서는 사용할 수 없다.)


그런 이유로 다른 포트로 설정을 해주어야 하는데..
시스템 > 기본 설정 > 원격 데스크탑 설정을 눌러주면 아래와 같이 실행된다.

공유에서 다른 사용자가 데스크탑을 볼 수 있도록 합니다.
다른 사용자가 데스크탑을 제어할 수 있도록 합니다. 를 체크해준 후
아래의 확인을 하도록 물어보기는 끄고, 사용자가 이 암호를 입력하여야 합니다 를 체크하고 암호를 입력해줍니다.


그리고 고급 탭에서는
보조 포트 사용을 해준다음, 5901이나 5902등, 5900번을 피해서 사용하시면 되겠습니다.
로컬 연결만 허용은, SSH 터널링 등을 통해서 안전하게 사용하기 위해서 사용하는 것으로
그냥 vnc로 바로 접속하기 위해서는 체크를 꺼주어야 합니다.


'Linux > Ubuntu' 카테고리의 다른 글

gnome-avrdude 컴파일하기  (6) 2009.04.27
ubuntu와 fedora의 비교  (0) 2009.04.26
kscope on Ubuntu 8.10  (0) 2009.04.24
우분투 설치중  (6) 2009.04.24
ubuntu 8.10 설치 실패.. 아놔 CD 관리 ㅠ.ㅠ  (2) 2009.04.23
Posted by 구차니
프로그램 사용/VNC2009. 3. 13. 15:03
일단 둘다 동일한 VNC이긴하다.
tightVNC는 realVNC 기반의 GPL 라이센스를 따르고 있고
realVNC는 free버전이 존재한다.



오늘 잠시 VNC 서버에 tightVNC로 접속해본 느낌은, real VNC free 버전에 비해서 화면 갱신이 매우 빠르다는 점이다.
자세한 내용은 tightVNC 서버를 설치 후 테스트를 해봐야 알 수 있을것 같다.

일단 tightVNC는 GPL 라이센스이므로 모든 기능을 100% 지원/공개 하기 때문에
real VNC 공개버전과 비교를 하자면, 파일 전송이 가능하다는 장점이 있다.

TightVNC Features

Here is a brief list of TightVNC features absent in the standard VNC.

  • File transfers in versions for Windows. You can updload files from your local machine to the TightVNC Server, and download files from the server to your computer.
  • Support for video mirror driver (Windows 2000 and above). TightVNC Server can use DFMirage mirror driver to detect screen updates and grab pixel data in a very efficient way, saving processor cycles for other applications.
  • Scaling of the remote desktop (viewer for Windows and Java viewer). You can view the remote desktop in whole on a screen of smaller size, or you can zoom in the picture to see the remote screen in more details.
  • Efficient "Tight" encoding with optional JPEG compression. New Tight encoding is optimized for slow and medium-speed connections and thus generates much less traffic as compared to traditional VNC encodings. Unlike other encodings, Tight encoding is configurable via compression levels and JPEG image quality setting.
  • Enhanced Web browser access. TightVNC includes a greatly improved Java viewer with full support for Tight encoding, 24-bit color mode, and more. The Java viewer applet can be accessed via built-in HTTP server like in the standard VNC.
  • Support for two passwords, full-control and read-only. The server allows or disallows remote keyboard and mouse events depending on which password was used for authentication.
  • Automatic SSH tunneling on Unix. The Unix version of TightVNC Viewer can tunnel connections via SSH automatically using local SSH/OpenSSH client installation.
  • And more. TightVNC includes a number of other improvements, performance optimizations and bugfixes, see change logs for more information.

50% 축소해서 본 tightVNC의 remote화면

간추린요약 - tightVNC가 나은 점
1. tightVNC가 realVNC에 비해서 접속속도 및 화면갱신속도가 상당히 빠르다
    (테스트 조건 realVNC 서버/윈도우 realVNC 서버)
2. 화면 scaling을 지원한다
3. 파일 전송을 지원한다고 한다(VNC free edition 대비, 테스트 해보지 못했음)

리눅스 서버로의 접속은 실질적인 화면갱신속도 차이는 거의 없지만, tightVNC 쪽이 접속속도가 빨랐다.

[tightVNC : http://www.tightvnc.com/]
[realVNC : http://realvnc.com/]

'프로그램 사용 > VNC' 카테고리의 다른 글

tsclient에 VNC 추가하기  (0) 2011.12.31
UVNC - Ultra VNC  (2) 2010.11.26
우분투 9.10 원격설정하기(vino server on Ubuntu 9.10)  (0) 2009.12.30
Fedora Core 6에 VNC 설치하기  (0) 2009.07.22
tightVNC 서버사용기  (0) 2009.04.02
Posted by 구차니