element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Pi Screen Display ?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 706 subscribers
  • Views 813 views
  • Users 0 members are here
  • raspberry_pi
Related

Pi Screen Display ?

e14 Contributor
e14 Contributor over 13 years ago

How easy is it to connect a Pi to a Laptop and use that Laptop's screen as the Pi's display unit ?

  • Sign in to reply
  • Cancel
  • shabaz
    shabaz over 13 years ago

    I've not tried it on a pi, but one reasonable way is to run an 'X Server' on your laptop.

    There are a few X servers available for free, but some are flaky. Maybe try the Cygwin one.

    Once the server is running (it sounds counter-intuitive, but the laptop client is actually

    running the X server) then the pi will be able to communicate to the laptop's X Server

    via the network connection.

     

    If you meant to do just a 'screen capture' style of thing, then you could use the

    composite analog video out with a 'capture card' type of thing, but this is not the same

    experience as an X server.

     

    If your use-case is to be able to see video-related content (e.g. images and video) from your

    pi on your laptop, then I'd suggest some alternate method, for example video streaming over

    the network.

     

    If the use-case is to be able to write software for the pi, then you don't really need to see the

    desktop of the pi. You could just write the code on your laptop, and use secure file transfer

    and secure shell to transfer it to the pi and execute it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 13 years ago in reply to shabaz

    You can also use VNC. I run my pi's headless, but on the odd occasion I want to see a screen I just start the vncserver.

     

    I ssh'd and and did

    sudo apt-get install tightvncserver

     

    followed the prompts,

     

    then did

     

    tightvncserver

     

    the first time you run it it will ask you to set a password - enter what you want, but remember it

     

    it will respond with something like

     

    New 'X' desktop is <your raspi hostname>:<display number>

     

    then on your vncclient

     

    tell it to connect to either

    <your raspi hostname>:<display number>

     

    if it says it can't find that, then just

    <your raspi hostname>

    but change the port to

    5900 + <display number>

    so if <display number> is 1

    so the port would be 5901 not the default 5900

     

    the password will be the password you entered when you started the server

     

    I hope this makes sense to you

     

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 13 years ago

    I really urge you to install an x11vnc server on your Pi, and not the tightvncserver package. The main reason is that probably as most of us you expect seeing on your remote PC the same screen that you see when sitting in front of the Pi (i.e. the HDMI screen = DISPLAY 0: ). X11vnc installs this "out of the box".

    After installing by >sudo apt-get update  and then >sudo apt-get install x11vnc by sure to run x11vnc once by >x11vnc -storepasswd.

    If you want to have it starting automatically when your X desktop comes up, you have to create an autostart directory in your hidden .config directory and add a file x11vnc.desktop :

    Here a file that shows this all and ***is working*** image

     

    Installing x11vnc on Raspberry Pi

    with autoload  in X at boot time

     

     

    file: x11vnc_RPi.doc
    version 1.0

    30 March 2013-03-31

     

     

    1. Why x11vnc ?

     

    X11vnc enables to access the default desktop image out of the box (i.e. the desktop is the same as that of the user pi sitting in front of the computer)

     

    1. Installing and configuring x11vnc

     

    1. sudo apt-get update   (just in case)

    2. sudo apt-get install x11vnc

    3. run once > x11vnc –storepasswd

                This creates a directory .vnc (in users /home/pi ) with the file passwd

    1. create a directory autostart in .config  (it it does not exist) and in /autostart the file x11vnc.desktop with the following lines


    [Desktop Entry]

    Encoding=UTF-8

    Type=Application

    Name=X11VNC

    Comment=starts x11vnc server with X
    Exec=x11vnc –forever

    StartupNotify=false

    Terminal=false

    Hidden=false

     

    1. reboot
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube