On Wed, Aug 09, 2000 at 03:56:00AM +0000, john smith wrote: > I would like to know how to temporarily allow a telnet session (bec. we're > only on an intranet) to display the x-window. for example, a user telnets to > the server using windows then he wants his x-window to display temporarily > there..when he tries to startx, the x-server does not allow him to connect. > how can this be accomplished easily?
Lets try this: o User is on one machine in local network o Wants to connect to a second machine. I'm going to call these 10.1.0.1 and 10.1.0.2, respectively. User is 10.1.0.1, which is running an X session on display 0, and wants to telnet to 10.1.0.2, run an X client from 10.1.0.2 to 10.1.0.1. Do: telnet 10.1.0.2 (log in) $ export DISPLAY=10.1.0.1:0 $ xlogo & ...xlogo should appear on user's *local* (10.1.0.1) display. ...if I've misunderstood your post, please clarify your question. One possible other interpretation is that you are trying to telnet *from* 10.1.0.1 to 10.1.0.2, and want to start an X session *on the remote host* (note that this ordinarily isn't viewable to the user). Generally, the file /etc/X11/Xserver disallows non-root users from initiating an X session unless they're sitting at the console. See this file for further information (its about a dozen lines). -- Karsten M. Self <kmself@ix.netcom.com> http://www.netcom.com/~kmself Evangelist, Opensales, Inc. http://www.opensales.org What part of "Gestalt" don't you understand? Debian GNU/Linux rocks! http://gestalt-system.sourceforge.net/ K5: http://www.kuro5hin.org GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
pgpiom20ZfcIf.pgp
Description: PGP signature