• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


  • Subject: Re: (no subject)
  • From: Jeremy Huddleston <email@hidden>
  • Date: Sun, 27 Jan 2008 15:03:18 -0800


On Jan 26, 2008, at 15:51, Roger Melly wrote:

Hello, I am trying to do something which ought to be quite simple but there doesn't seem to be an obvious way.

I want to run a remote session from a PC on MacOS X11 server and currently do this by running

	/usr/X11R6/bin/X -broadcast -once

in a terminal window. This is OK but the server fills both of the two displays. I would like to have it fill just one display or in fact ideally the server just to be a `normal' (non-maximised) window on the Mac display, and to have all the menu options that X11.app shows. It doesn't seem to be possible to launch X11.app with the - broadcast -once options, or to make /usr/X11R6/bin/X work like X11.app but either of those would achieve what I want.

Any ideas ?

You can do something like this (not tested or checked for typos):

--- begin argv0_x11_hack.c ---
#include <unistd.h>
int main(int argc, char **argv) {
	argv[0] = "/Applications/Utilities/X11.app/Contents/MacOS/X11";
	return execv("/usr/X11/bin/X", argv);
}
---

gcc -o x11_hack argv0_x11_hack.c
./x11_hack -broadcast -once

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

References: 
 >(no subject) (From: Roger Melly <email@hidden>)

  • Prev by Date: Re: Trying to revert X11 after 2.1.3 install
  • Next by Date: Re: Trying to revert X11 after 2.1.3 install
  • Previous by thread: (no subject)
  • Next by thread: Re: X11R6 -broadcast -once
  • Index(es):
    • Date
    • Thread