Embedded Linux
  • Cover
  • Summary
  • About This Training
    • Objectives
    • Skills
    • Prerequisites
    • Requirements
  • Once Upon A Time ...
  • Embedded Linux
  • Build Systems
    • Yocto Board Support Package
      • Yocto
      • Compilation
        • Make
        • Bitbake
        • Script
      • Building Blocks
      • SDK
      • Extra Packages
      • Kernel
        • Patch
        • Building
        • Headers
      • Modules
        • Cross Compilation
        • Native
      • Filesystem
      • Flashing
    • Distributions
      • CentOS
      • Google Brillo
      • Jubilinux
      • Kali
      • Ostro
      • Ubilinux
      • Debian
  • Boot Loaders
    • U-Boot
  • Initialization
    • Upgrade
    • Boot Up
    • Dual Boot
    • Root Directory
    • Display Message
    • Modules
    • Filesystem
    • Memory
    • Backup
    • Recovery
    • Reboot
    • Processes
  • User Space
    • Virtual Network Computing
    • Text Editors
    • Services
    • Logs
    • Package Management Systems
      • Open Package Management
      • Python Package Index
      • Nicely Package Make
      • Advanced Packaging Tool
      • Manual
      • Conda
    • Libraries
      • Mraa
      • Upm
      • OpenCv
      • Temboo
      • Libiio
    • Frameworks
      • Cylon JS
      • Johnny Five
      • ROS
      • Gobot
      • Pixhawk
      • Artoo
      • Bower
      • Zetta
      • Miscellaneous
  • Subsystems
    • X File Systems
    • Pin Muxing
    • Virtual File System
    • Memory
    • Input
    • General Purpose Input Output
    • Serial
    • Bluetooth
      • Advanced Audio Distribution Profile
        • Bluez
        • Gstreamer
        • Alsa
      • Human Interface Device Game Controller
      • Serial Port Protocol
      • Arduino
    • WiFi
    • Audio
    • Camera
    • Block
    • Universal Serial Bus
      • Human Interface Device Mini Keyboard
      • Python USB
    • Inter Integrated Circuit
    • Inter Process Communication
    • Peripheral Component Interconnect
    • Clock
    • Modems
    • Networking
    • Power
    • Thermal
    • Graphics
    • LED
    • LIDAR
    • Printer
    • Serial Peripheral Interface
  • Application Development
    • C
    • C++
    • Cross Compile
    • Containers
    • Python
    • NodeJS
    • Cloud9
    • Data
    • Drone Code
    • Speech
      • Python
    • Radio Frequency
    • Bots
    • Artificial Intelligence
      • WitAi
      • MycroftAi
    • Games
    • Vision
      • Bar Codes
      • Google Cloud Vision API
    • Messaging
    • Entertainment
    • Home Assistants
    • Dashboards
    • IRC
    • Location
    • Facial Recognition
    • Software Defined Radio
    • REST
    • Notes
    • Security
    • HAM Radio
    • Automotive
    • Digital Signage
    • Photography
  • Debug
  • Wrap-Up
    • Online Training
    • Challenge
    • Tbd
  • SandBox
Powered by GitBook
On this page
  • VNC Server @ Edison X Desktop @ Ubilinux
  • VNC Server @ Edison Default Desktop
  • VNC Viewer @ Host
  1. User Space

Virtual Network Computing

In computing, Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network. Wikipedia

VNC Server @ Edison X Desktop @ Ubilinux

root@edison:~# apt-get install xfce4
root@edison:~# apt-get install vnc4server
root@edison:~# vnc4passwd 
Password:
Verify:
root@edison:~# vnc4server -geometry 800x600 -depth 24
xauth:  file /home/chip/.Xauthority does not exist
xauth: (stdin):1:  bad display name "chip:1" in "add" command

New 'edison:1 (edison)' desktop is edison:1

Creating default startup script /home/root/.vnc/xstartup
Starting applications specified in /home/root/.vnc/xstartup
Log file is /home/root/.vnc/edison:1.log

VNC Server @ Edison Default Desktop

    root@edison:~# vnc4server -kill :1
    Killing Xvnc4 process ID 18807
    root@edison:~# nano ~/.vnc/xstartup                         
    #!/bin/sh
    # Uncomment the following two lines for normal desktop:
    unset SESSION_MANAGER 
    #exec /etc/X11/xinit/xinitrc 
    startxfce4 &
    ...
    root@edison:~# vnc4server -geometry 800x600 -depth 24
    xauth: (stdin):1:  bad display name "edison:1" in "add" command

    New 'edison:1 (edison)' desktop is edison:1

    Starting applications specified in /home/root/.vnc/xstartup
    Log file is /home/root/.vnc/edison:1.log

VNC Viewer @ Host

root@jessie:/home/xe1gyq# apt-get install xvnc4viewer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
xvnc4viewer is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 109 not upgraded.
root@jessie:/home/xe1gyq# exit
exit
xe1gyq@jessie:~$ xvnc4viewer 192.168.1.77:1
PreviousUser SpaceNextText Editors

Last updated 7 years ago