Re: Keeping X programs running without an X server



On Fri, 29 Dec 2006 20:55:46 +0100, Peter Lebbing staggered into the
Black Sun and said:
Dances With Crows wrote:
Peter Lebbing <peter@xxxxxxxxxxxxxxxxx> wrote:
Is there some program which, for example, functions as a sort of
proxy between the X clients and an X server, where you can detach
There is at least one attempt to do that; it's called xmove. It has
a bunch of warts, though: A) it doesn't work properly on amd64 B) it
requires that your X server is listening for TCP C) it's not exactly
user-friendly, and its error messages can be misleading.
Great, thanks for the answer! Played around a bit with it even though
the headless system is at my home and I'm not, and the connection goes
over an ADSL modem, but it looked very promising. A small test (with
BitTornado, one of the programs I would like to have running this way)
showed that it worked in principle.

Here's a brief guide to getting xmove and xmovectrl up on your system,
for those who may want the functionality it offers:

0. Make sure that the machines that you want to run xmove on have
started X *without* -nolisten tcp.
1. If you want to run xmove on an amd64, compile xmove and xmovectrl on
an x86, then use 32-bit emulation on your amd64. xmove will compile
on amd64 but it won't work properly.
2. Start xmove on machine1.
3. On machine1, export DISPLAY=:1. All X clients started with that
DISPLAY are under xmove's control.
4. export DISPLAY=localhost:1 , otherwise xmovectrl will fail with
"gethostbyname failed: success". Sigh.
5. Get a list of clients with xmovectrl -list. Move clients with
xmovectrl -move $HOST $CLIENT_NUMBER. Note that if you reverse HOST
and CLIENT_NUMBER, the client you tried to move will go off into
never-never land. (This is probably a bug somewhere.)

....the docs say you can suspend an X client with xmovectrl -move
-suspend $CLIENT_NUMBER. I haven't played around with this much yet.
I don't know what firewalls/NAT might do to xmove's forwarding just yet
either (probably nothing very good.) Ah well, HTH,

--
"We should have a policy against using personal resources for company
business." "The Company didn't pay for these pants, so I'm taking
them off at the door!" --J. Moore and A. DeBoer, the Monastery
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.



Relevant Pages

  • Re: Switching programs X session
    ... The theory is that you build xmove, ... creates a pseudo-X server that can be redirected to a real X display. ... Then you start your X clients on this pseudo-server, ... have to have your real X server listening for TCP for xmove to work as ...
    (comp.os.linux.x)
  • RE: Users Cant Access Documents on Server
    ... Thanks for using the SBS newsgroup. ... As well as we know, if a workstation would not access network shares, then ... Leave the Default Gateway of the internal NIC blank of the server box. ... Clients That Require SMB Signing ...
    (microsoft.public.windows.server.sbs)
  • Re: Users Cant Access Documents on Server
    ... my computer to the network on the server. ... Connection Wizard none of the computers were listed. ... The Mac clients can not communicate with the server box. ... > Error Messages When You Open or Copy Network Files on Windows XP SP1 ...
    (microsoft.public.windows.server.sbs)
  • Re: [SLE] SMTP authentication
    ... So eventhough my local SMTP server dials up to the internet with a certain username and password, that same username and password would not be used as authentication between my local SMTP server and the ISP's one, should it be used as a relay? ... either defer all outgoing mails until you connect to the internet, then flush out all the mails in the queue. ... Your local server would use an external program like fetchmail to poll the mailserver of your ISP, download the mails and feed them to Postfix. ... The test does NOT say "All clients must be in mynetworks, ...
    (SuSE)
  • RE: VPN Clients Not Registering in AD DNS
    ... via VPN, the DNS records of the VPN clients are unable to be registered. ... Windows 2003 server? ... please let me know whether the clients get the IP ...
    (microsoft.public.windows.server.sbs)