鏍戣帗娲 TightVNC杩滄帶绋嬪簭(杞浇)-鏍戣帗娲 Raspberry PI-閰峰痉缃 - CoDeSys杞欢鏁欑▼涓嬭浇,CoDeSys宸ユ帶璧勮闂ㄦ埛
Heesn-HSC6150
鏌ョ湅: 7539|鍥炲: 20

鏍戣帗娲 TightVNC杩滄帶绋嬪簭(杞浇)

  [澶嶅埗閾炬帴]
  • TA鐨勬瘡鏃ュ績鎯
    鎿︽睏
    2019-8-13 14:13
  • 绛惧埌澶╂暟: 32 澶

    [LV.5]甯镐綇灞呮皯I

    鍙戣〃浜 2016-2-3 15:51:18 | 鏄剧ず鍏ㄩ儴妤煎眰 |闃呰妯″紡
    鍩虹绡- vnc杩炵嚎
    • 鍓嶈█
    鍒╃敤浣犲師鏉ョ殑鐢佃剳钀ゅ箷涓庢粦榧犻敭鐩樻潵鐜╂爲鑾撴淳锛屼技涔庢槸寰堢渷閽辩殑濂界偣瀛愶紝瑕佹庝箞鎵嶈兘鍋氬埌鍛?钘夌敱涓绉嶅彨鍋氳繙绔仴鎺ц櫄鎷熸闈㈢殑鏂规硶璁㏑aspberry鐨勬闈㈠氨鏄綘鐩墠鐢佃剳鐨勬闈紝鏄笉鏄釜寰堝疄鐢ㄧ殑鍔熻兘鍛?濡傛涓鏉ュ鏋滄湁澶氫釜Raspberry瑕佷竴璧蜂娇鐢ㄥ氨鍙互钘夌敱缃戣矾璺敱鍣紝涓茶捣鏈夌嚎鍖哄煙缃戣矾锛屾垨鏄忚繃鏃犵嚎缃戣矾锛(褰撶劧鏄湁瀹夎濂芥棤绾跨綉鍗$殑鎯呭舰涓)锛岀櫥鍏ョ鐞哛aspberry鐨刲inux绯荤粺鑰屾搷浣滄椂鍙渷鍘绘坊鍔犲鎺ョ‖浣( 婊戦紶閿洏钀ゅ箷绛 )锛岃繖鍔熻兘涔熶技涔庢槸缃戣矾IT绠$悊鍛樻渶鐖变箣涓銆 鐜板湪鎺ㄨ崘甯歌鐨刅NC杞綋鐗堟湰锛屽彨鍋歵ightvncserver锛屾敮鎻磖aspberry瀹夎涔熸湁鏀彺windows鐩稿搴旂殑鐗堟湰銆

                                                                                            QQ鍥剧墖20160203160746.png

    • 1.1 Raspberry Pi浼烘湇鍣ㄧ-瀹夎姝ラ

    纭畾鍦ㄥ彲浠ヨ繛缃戠殑宸ヤ綔鐜涓嬪畨瑁呭浠讹紝
    鍦ㄦ枃瀛楁ā寮忎笅閿叆


    sudo apt-get install tightvncserver


    浼氳嚜鍔ㄤ笅杞芥墍闇鐨勫浠躲 (绾︾瓑寰5-10鍒嗛挓)
    • 1.2 Raspberry Pi浼烘湇鍣ㄧ-鏌ヨ缃戣矾浣嶅潃

    瑕佹墽琛宺aspberry pi鐨勮繙绔闈紝鍋囪鐜╁宸插厛鐭ラ亾raspberry pi鎵鐢ㄧ殑IP浣嶅潃锛屽湪linux绯荤粺涓婃煡璇P鏂规硶寰堢畝鍗曪紝
    鍙杈撳叆鎸囦护
    ifconfig
    涔嬪悗鐜╁鍙互鐪嬪埌钀ゅ箷鏄剧ず锛屽浘鐗囦腑绾㈡澶勪负IP浣嶅潃192.168.1.103
    璇锋敞鎰忓疄闄呬笂鐨処P浣嶅潃闇鐢辩帺瀹惰嚜琛屾煡璇㈠緱鐭ワ紝姝ゅ涓哄叾涓竴涓緥瀛愯鏄 銆

    333.jpg

    • 1.3 Raspberry Pi浼烘湇鍣ㄧ-璁惧畾骞跺姞鍏ュ紑鏈哄惎鍔


    鍦ㄦ枃瀛楁ā寮忎笅锛屽埄鐢╪ano鏂囧瓧缂栬緫鍣ㄥ缓绔嬩竴涓惎鍔ㄦ。锛屾。鍚峵ightvncserver



    sudo nano /etc/init.d/tightvncserver


    澶嶅埗浠ヤ笅鐨勫唴瀹瑰埌鏂囧瓧缂栬緫鍣ㄤ腑锛屼娇鐢ㄨ呭悕绉伴璁句负pi

    ### BEGIN INIT INFO
    # Provides: tightvnc
    # Required-Start: $remote_fs $syslog
    # Required-Stop: $remote_fs $syslog
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: Start VNC Server as a service
    # Description: Start VNC Server as a service.
    ### END INIT INFO
    #!/bin/sh
    # /etc/init.d/tightvncserver
    # Customised by Stewart Watkiss

    # Set the VNCUSER variable to the name of the user to start tightvncserver under
    VNCUSER='pi'
    eval cd ~$VNCUSER
    case "$1" in
    start)
       su $VNCUSER -c '/usr/bin/tightvncserver :1'
       echo "Starting TightVNC server for $VNCUSER "
       ;;
    stop)
       pkill Xtightvnc
       echo "Tightvncserver stopped"
       ;;
    *)
       echo "Usage: /etc/init.d/tightvncserver {start|stop}"
       exit 1
       ;;
    esac
    exit 0
    #


    瀹屾垚鍚庯紝绂诲紑璇锋寜涓媍trl+x瀛樻。鍚嶇‘瀹氬悗绂诲紑銆


    鍐嶆寜涓媏nter纭绂诲紑銆

    鎺ヤ笅鏉ュ湪鏂囧瓧妯″紡涓嬫敼鍙樻妗f鐨勬潈闄
    sudo chmod 755 /etc/init.d/tightvncserver


    鍔犲叆寮鏈虹▼搴
    sudo update-rc.d tightvncserver defaults

    • 1.3 Raspberry Pi浼烘湇鍣ㄧ-璁惧畾瀹夊叏瀵嗙爜

              tightvncserver

    鍙湁鍦ㄩ娆℃墽琛屾椂锛岄渶瑕佽瀹氱櫥鍏ュ畨鍏ㄥ瘑鐮侊紝 PiOS棰勮鐨 Vnc鐨勭櫥鍏ュ瘑鐮佹槸12345678 (璇疯浣忚繖涓猇NC鐧诲叆瀵嗙爜!!)
    鐜╁闇杈撳叆涓ゆ纭銆
    鎺ョ潃杈撳叆娴忚鏉冮檺鐨勫瘑鐮乿iew-only锛屾澶勫涓嶉渶瑕佽鐩存帴鎸塶鐪佺暐璁惧畾銆
    password: ************
    verify: ************                   
    涔嬪悗鐜╁鍙互鐪嬪埌钀ゅ箷鏄剧ず
    New 'X' desktop is raspberrypi :1
    鍏朵腑瑕佺壒鍒敞鎰忕殑鏄啋鍙蜂箣鍚庣殑鏁板瓧x浠h〃(姝ゅ鏄1)杩滅vnc鐧诲叆閫氳鍩590x鐨勪唬鍙(姝ゅ棰勮鍊兼槸5901)


    • 2.1杩滅瀹㈡埛绔-瀹夎TightVNC Viewer姝ラ

    鐜╁鐨勫彟涓鍙扮數鑴戜笅杞藉厤璐圭殑瀹夎绋嬪紡TightVNC Viewer銆
    瀹冨彲浠ユ敮鎻磜indows骞冲彴涓庢墍鏈夊彲浠ユ墽琛宩ava绋嬪紡鐨勫钩鍙伴兘鍙互瀹夎鍠!! 鐪熷己鍠!!
    鐜╁鍙渶瀹夎TightVNC Viewer 杩欎竴濂楀伐鍏疯蒋浣撳嵆鍙娇鐢ㄣ

    0.jpg


    • 2.2杩滅瀹㈡埛绔-鎵ц TightVNC Viewer

    瀹夎瀹屾瘯锛寃indows妗岄潰浼氬鍑"鐪肩潧"鍥剧ず锛岃绉诲姩婊戦紶鐐归夋墽琛屻

    1.jpg

    瑙嗙獥TightVNC Viewer锛屾澶勭殑IP 鏍忎綅涓婏紝璇峰~鍏ュ垰鍒歊aspberry Pi 鐢╥fconfig鏌ヨ鍒扮殑IP 浣嶅潃銆
    姝ゅ渚嬪锛192.168.1.103 鎺ョ潃鍐嶅悗闈㈠姞涓婁竴涓啋鍙凤細鍚庨潰鎺ョ潃鍥涗綅鏁板瓧涓簐nc閫氳鍩犻璁惧5901銆

    2.jpg


    鎺ョ潃浼氬紑鍚彟涓瑙嗙獥锛屾鏃堕渶瑕佽緭鍏aspberry pi鐨剉nc鐧诲叆瀵嗙爜锛孭iOS棰勮Vnc鐨勭櫥鍏ュ瘑鐮佹槸12345678
    姝ゅ椤绘敞鎰忥紝闈瀕inux绯荤粺甯愬彿鐧诲叆瀵嗙爜锛岃屾槸璁惧畾tightvnc鐨勮瀹氬瘑鐮!!

    1.5.jpg


    YA瀹屾垚!!
    鐜╁宸茬粡鑳界敱鍙︿竴鍙扮數鑴憌indws 7绯荤粺鐨勮悿骞曠洿鎺鐪嬪埌 (鐧诲叆)浜嗗彟涓涓猂aspberry Pi鐨凩inux绯荤粺銆

    8.jpg




    鎵撹祻榧撳姳涓涓嬶紒
    +10
    鍥炲

    浣跨敤閬撳叿 涓炬姤

    璇ョ敤鎴蜂粠鏈鍒

    鍙戣〃浜 2016-3-23 21:44:35 | 鏄剧ず鍏ㄩ儴妤煎眰
    璋㈣阿妤间富
    鎵撹祻榧撳姳涓涓嬶紒
    +10

    璇ョ敤鎴蜂粠鏈鍒

    鍙戣〃浜 2016-6-22 14:34:10 | 鏄剧ず鍏ㄩ儴妤煎眰
    瀛︿範浣跨敤codesys
    鎵撹祻榧撳姳涓涓嬶紒
    +10
  • TA鐨勬瘡鏃ュ績鎯

    2017-12-3 12:45
  • 绛惧埌澶╂暟: 2 澶

    [LV.1]鍒濇潵涔嶅埌

    鍙戣〃浜 2016-8-11 19:19:37 | 鏄剧ず鍏ㄩ儴妤煎眰
    缁胯壊姹夊寲鐗堢殑锛屾ゼ涓诲ソ寮哄ぇ銆傛ゼ涓绘槸绠$悊鍛樺悧锛
    鎵撹祻榧撳姳涓涓嬶紒
    +10

    璇ョ敤鎴蜂粠鏈鍒

    鍙戣〃浜 2016-8-17 15:19:43 | 鏄剧ず鍏ㄩ儴妤煎眰
    璋㈣阿妤间富锛丱(鈭鈭)O~
    鎵撹祻榧撳姳涓涓嬶紒
    +10

    璇ョ敤鎴蜂粠鏈鍒

    鍙戣〃浜 2016-8-19 19:52:15 | 鏄剧ず鍏ㄩ儴妤煎眰
    寰堜笉閿欙紒锛 鐪佷簡甯DMI鐨勬樉绀哄櫒~

    鍏跺疄绾补鎷縍ASPBERRY PI3褰揅ODESYS SOFTPLC鏉ョ敤锛岀煡閬揑P鍦板潃灏卞ソ浜唦锛氾級
    鎵撹祻榧撳姳涓涓嬶紒
    +10
  • TA鐨勬瘡鏃ュ績鎯
    寮蹇
    2019-9-7 11:36
  • 绛惧埌澶╂暟: 3 澶

    [LV.2]鍋跺皵鐪嬬湅I

    鍙戣〃浜 2017-5-3 21:36:22 | 鏄剧ず鍏ㄩ儴妤煎眰
    姝e湪瀛︿範锛屾壘鐐硅祫鏂欑湅鐪
    鎵撹祻榧撳姳涓涓嬶紒
    +10
  • TA鐨勬瘡鏃ュ績鎯
    寮蹇
    2017-11-13 19:13
  • 绛惧埌澶╂暟: 1 澶

    [LV.1]鍒濇潵涔嶅埌

    鍙戣〃浜 2017-11-13 21:11:57 | 鏄剧ず鍏ㄩ儴妤煎眰
    璋㈣阿锛屼笅杞界湅鐪
    鎵撹祻榧撳姳涓涓嬶紒
    +10
    鎮ㄩ渶瑕佺櫥褰曞悗鎵嶅彲浠ュ洖甯 鐧诲綍 | 绔嬪嵆娉ㄥ唽 鏂版氮寰崥鐧婚檰

    鏈増绉垎瑙勫垯

    椤堕儴qrcode搴曢儴
    鍏虫敞閰峰痉缃戣闃呭彿锛岃幏鍙栨洿澶氳祫璁紒

    QQ|灏忛粦灞|鎵嬫満鐗|Archiver|閰峰痉璁哄潧 ( 鑻廔CP澶16065247鍙-1 )|缃戠珯鍦板浘

    GMT+8, 2021-6-23 00:25 , Processed in 0.232109 second(s), 108 queries .

    閰峰痉缃

    © 2001-2013 Hicodesys. 鎶鏈敮鎸 by 閰峰痉缃

    蹇熷洖澶 杩斿洖椤堕儴 杩斿洖鍒楄〃