Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 339735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:33:03+00:00 2026-05-12T10:33:03+00:00

Question now asked on SU . I have a Windows XP laptop, and I

  • 0

Question now asked on SU.

I have a Windows XP laptop, and I can run the Cygwin X11 server on there (script startxwin.bat, IIRC). I also use a remote machine – it happens to be a Solaris 10 SPARC machine, about 1800 miles away – that can be called xclient.subdom2.example.com for the purposes of this question.

For better or worse – mostly worse – I use xhost +xclient.subdom2.example.com on the laptop to allow anyone who uses the remote machine to display their X client on my machine. Fortunately, I’m the only person who uses the Solaris machine on a regular basis and the corporate security is stringent enough that I can live with the security risks.

From the XP laptop, I then remotely connect to the X client machine, and set environment variable DISPLAY=xplaptop.subdom1.example.com:0.0 and can run X client programs on the remote machine and see the display happily, if a little slowly on occasion, on the XP laptop. (Depending on the length of the DHCP name assigned to the laptop, I’ve occasionally had to resort to an IPv4 address instead of the machine’s FQDN.)

I also have an Apple MacBook Pro, and I want to replicate the functionality of the XP laptop on it. Unfortunately, I have not yet been able to work out what magic incantation is needed to get the X11 server to run satisfactorily on it. It appears that simply clicking on the X11 server in /Applications/Utilities is not sufficient. Running the xhost command again (with DISPLAY=macpro.subdom1.example.com:0.0) doesn’t seem to do the trick.

Can you suggest what the incantations needed are? Or suggest pointers to where the answer is spelled out in words of one or two syllables?


Also – and very much in the bonus question category – how readily and well does the X11 server react to changes in networking (between corporate direct wired DHCP connection and wireless Airport at home with connection to corporate via a VPN)? Is it a ‘restart in the new environment’ issue, or will it manage to detect the changes automatically?


I would also consider other ways of achieving about the same result – such as VNC or Mac equivalents – if they are easier to set up. I believe that VNC is installed on the Solaris box; it can be if it is not.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T10:33:03+00:00Added an answer on May 12, 2026 at 10:33 am

    As mentioned by KFro, using ssh forwarding (the -X flag) is much easier than dealing with xhost. It also happens to be secure, which you claim you network is, but well, it’s your data. The ssh-forwarding just making your application see the X client and server appear to be on the same machine, and everything just works.

    If you want to go the xhost route, first make sure you have the latest version of XQuartz (Apple’s X Server installed). You can get it from http://xquartz.macosforge.org/trac/wiki and I’d recommend it regardless.

    It lets you do lots of nice configuration things like clipboard synchronization, keymaps, and window focus without having to poke around inside of OS X’s innards. With the newer versions (or atleast the most recent) you have a security tab which lets you allow connections from network clients. I believe you still have to do the xhost voodoo, but it provides the nice checkbox which lets X is listen to it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a continuation question from a previous question I have asked I now
Following on from this question I now have code that can attach to a
Variants of this question have been asked several times now here, but my question
I asked this question a while back but now I'm looking to implement an
Now I have seen this question in another forum but it didn't had an
This question is related to this initial question asked a little while ago. Now,
I have previously solved a similar problem in this question , where I asked
This stems from a previous question I asked regarding code metrics. I have been
I have asked the same question before, but did not get what I want.
Other folks have asked about using SQL and NoSQL together, and subsequently whether there's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.