[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: temporary allowing telnet to use x-windows

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 and, respectively.

User is, which is running an X session on display 0, and wants
to telnet to, run an X client from to


   (log in)
   $ export DISPLAY=
   $ xlogo & 

...xlogo should appear on user's *local* ( display.

...if I've misunderstood your post, please clarify your question.

One possible other interpretation is that you are trying to telnet
*from* to, 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

Attachment: pgpLfaXZYt6r2.pgp
Description: PGP signature

Reply to: