Should I Use VNC Or X Protocol To Control A Linux Application From ...

Sorry, we no longer support your browser Please upgrade to Microsoft Edge, Google Chrome, or Firefox. Learn more about our browser support.
    1. Home
    2. Questions
    3. Tags
    4. Users
    5. Jobs
    6. Companies
    7. Unanswered
  1. Teams

    Ask questions, find answers and collaborate at work with Stack Overflow for Teams.

    Try Teams for free Explore Teams
  2. Teams
  3. Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams Should I use VNC or X protocol to control a Linux application from Windows? Ask Question Asked 12 years, 10 months ago Modified 1 year, 9 months ago Viewed 11k times 7

I need to use an RubyMine IDE running on a Linux machine from a Windows desktop. I want to make that remote Linux application window to behave as close as possible to a normal local Windows application. As far as I understand, my two options are:

  1. Use VNC to bring the whole Linux desktop to my Windows machine.

  2. Use X server on Windows as a server for a X client running on Linux.

My questions:

  1. For a full-screen (1920x1080) application use, over <1ms ping gigabit network, will any of the above solutions feel like a local application? E.g. no perceptible lag, normal mouse behavior, snappy window repaints, etc.

  2. Which of the above is more "integrated" into Windows desktop? E.g. will my mouse wheel work, can I use cut&paste between Windows and Linux app?

  3. Any other serious reason why I should prefer one over the other?

Share Improve this question Follow asked Feb 28, 2012 at 21:52 haimg's user avatar haimghaimg 23k17 gold badges82 silver badges117 bronze badges Add a comment |

4 Answers 4

Sorted by: Reset to default Highest score (default) Date modified (newest first) Date created (oldest first) 3

Based on the request for making it work as is you were runing as an App in windows, it sounds like X is the best choice. VNC is a nice simple remote protocol, but it always seems to choke on some condition that makes it less than ideal for serious use. Another comment, is that many anti-virus packages like to complain about some components in VNC, typically reporting the view capture software as trojans. They'r not, but if you are in a strict enterprise environmennt, X is more tolerated than VNC.

Share Improve this answer Follow answered Feb 29, 2012 at 2:32 jdh's user avatar jdhjdh 7,11018 silver badges22 bronze badges 1
  • not many people run anti-virus on Unices, and if X is an alternative, I guess the host is running Unix... – Janus Troelsen Commented Nov 5, 2012 at 20:52
Add a comment | 3

From my experience and what I learned, X11 requires many more back and forth packets through internet, while each is small. VNC is the opposite: less packets but larger size.

Given this people really need to choose which protocol to use based on the latency/bandwidth of their connection. I'd say in general VNC appears more responsive, and in your case (<1ms ping gigabit network), both would work well!

Share Improve this answer Follow edited Feb 20, 2016 at 1:35 answered Feb 19, 2016 at 0:41 Samuel Li's user avatar Samuel LiSamuel Li 1513 bronze badges Add a comment | 1

I will go definitely over VNC. There are lots of options for Windows, you could try the free version of RealVNC.

I would say that VNC has been into Windows for a longer time with a longed user base and its a more tried and tested solution. You won't notice almost any lag, I use it to work on a remote desktop in Internet and while some lag is noticeable it's something completely doable (with a 1Mb ADSL).

Share Improve this answer Follow answered Feb 28, 2012 at 22:06 Ignacio Soler Garcia's user avatar Ignacio Soler GarciaIgnacio Soler Garcia 2,0855 gold badges21 silver badges28 bronze badges 2
  • Well since I personally have used X server on Windows in Windows 95 days (before VNC was invented), I would argue about "...been into Windows for a longer time". VNC is a new kid on a block here, X is 1980s technology. – haimg Commented Feb 28, 2012 at 22:21
  • Well, you're right. I should have said only that has a much bigger user base and there are lots of options to choose from. You're really right, X was before. VNC is 1999 technology. – Ignacio Soler Garcia Commented Feb 28, 2012 at 22:31
Add a comment | 1

I have had great results using the NoMachine NX client on the Windows PC coupled with the NX Free Edition server on the Linux machine. NoMachine has commercial versions of the server but the free edition has proven to be more than enough for my needs and the client is always free.

In terms of lag and usability, I've found that it is much faster and more responsive than other alternatives like VNC, even over slower internet connections. The connection is also secured over SSH - if not by default, it can be enabled. This is a major advantage in my opinion since it is easy to enable and use.

Share Improve this answer Follow edited Apr 6, 2023 at 10:55 Toni Homedes i Saun's user avatar Toni Homedes i Saun 1256 bronze badges answered Feb 28, 2012 at 23:03 waywardone's user avatar waywardonewaywardone 612 bronze badges 1
  • Both links say: The page you are looking for no longer exists or you have entered an incorrect URL – Tom Hale Commented Jan 14, 2017 at 11:07
Add a comment |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .

  • The Overflow Blog
  • Developers want more, more, more: the 2024 results from Stack Overflow’s...
  • How AI apps are like Google Search
  • Featured on Meta
  • The December 2024 Community Asks Sprint has been moved to March 2025 (and...
  • Stack Overflow Jobs is expanding to more countries
4 Copy/Paste (Clipboard like) functionality from a VNC desktop 9 Using VNC to Control PC behind NAT 1 VNC-like remote control over home network 0 Application streaming using VNC 2 Tuning local Remote Desktop parameters 0 X11 Forwarding or X11 Forwarding like solution between two Windows Machines instead of RDP? 10 XWindows manager/Desktop environment: How can I move a window from another screen to the current screen without seeing the window on the other screen? 0 No taskbar in remote desktop, how to solve and/or how to open cmd without taskbar?

Hot Network Questions

  • What is the physical significance of the PSD and what is its practical benefit versus just look at the magnitude of the DFT?
  • Odd-looking coordinate system
  • What are the options for beamercolorbox?
  • Gather on first list, apply to second list
  • Can game companies detect pirated games and sue if the user obtained the games using legitimate ways in other platforms?
  • Is it possible to get symbolic integral for this?
  • Most distant visible object in the daytime sky - Venus?
  • Tax year for gold bullion sold in one year but paid out in the next
  • Human population and the loss of "purpose"
  • Career in Applied Mathematics: Importance of a Bachelor's in Mathematics vs in another STEM field
  • Are there any languages without adpositions?
  • Is copper anti-seize good for aluminium?
  • Why don't bicycles have the rear sprocket OUTSIDE of the frame spacing? (Single speed)
  • Basic, general lexer for a programming language
  • Why is "white noise" generated from uniform distribution sometimes autocorrelated?
  • What "accident" in The Mill on the Floss is Robbie referencing in Cunningham's Day?
  • Most commonly played openings for a draw at GM level (2500+Elo)
  • Glideslope antenna structure and alignment
  • Kids' book where a girl trades her heart for a heart made of lead
  • Is this position possible to have been made legally?
  • Why did my pancake stick to my pan?
  • Orly airport Metro ticket information
  • In 1 Cor. 14:18, is the Apostle Paul referring to his learned, earthly languages when he says, "I speak in tongues more than you all"?
  • If my mount were to attune to a headband of intellect, could I teach it common (to full understand and work with me as an Intelligent creature)?
more hot questions Question feed Subscribe to RSS Question feed

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Từ khóa » Xorg Vs Vnc