On Wed, Jun 28, 2000 at 11:20:14AM +0200, Patrick Erler wrote:
-> hallo MANDRAKE!
-> 
-> i access my router with X from my pc. for this, i start xdm at the
-> router. when i do this, at the router itself starts an x-session with
-> graphical login and stuff... i don't see this, because the router has
-> neither a monitor nor a keyboard... so, this xsession at the router
-> itself is unnecessary and uses CPU cycles which i would like to use
-> for something else..
-> 
-> so the question, how can i start the X-server (or client, how you
-> like it ;) at the router in serve-mode only?
-> 
-> or do i get something completely wrong here?

If you want remote access only, you don't need to run any software on the
router. Instead, you need to set the router's DISPLAY environment variable
to point to your desktop machine. Something like:

export DISPLAY=charlesc:0.0

(where charlesc is the hostname of my desktop)

Then, on your desktop, you have to allow the router to display there:

xhost router

(where router is the router's hostname).

I do this all by script, btw.

If you use ssh, it may tunnel the X data for you; check the docs for your
version of ssh.

Terminology: the server is the software that runs the display, keyboard,
rodent, etc. The client is the program being displayed, etc. Remeber that
in client-server terminology, the server is providing a service to the
client, in this case a GUI display.

VNC will not solve your problem as described above. It hrequires an X
server running on the client machine (your router), where resetting the
display variable and using ssh do not.

-- 

                -- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

PGP signature

Reply via email to