Using recycled bits, Duncan L.Strang said:
% suse Linux 5.2
%
% I sit here on my Win95 PC and run the built in telnet client and
% telnet into my user account on the Linux box in the corner of the
% room.(TCP/IP in case there's any other way?)
%
% There is no indication that anything is happening at the other end
% apart from a short period of disk access. The console(the screen)
% display remains set at the login prompt, in fact if the screen is
% blank the login process doesn't even wake it up.
That is correct. Don't confuse telnet with a remote control app
like PC Anywhere.
% However.
%
% When I get the Linux prompt in the telnet window I can apparently
% do anything I like as a user INCLUDING running XWindows (is it right
% to call fvwm XWindows???).
Not quite correct. fvwm is a window manager that runs on top of X Window.
% Anyway, whatever happens when I type startx from the command line-
% when I am logged in to the linux box and sitting at the terminal-
% also happens when I type startx from the telnet delivered prompt
% (seems reasonable to me) BUT, the remote computer starts fvwm and
% displays to the console screen giving a 'window' to my account !!.
% Obviously this is a bad(feable) idea.
Is your window on the remote (Linux) box sitting at a command prompt
or a login prompt?
% Perhaps you shouldn't run startx from a telnet prompt, but that never
% stops anyone from doing it!
%
% I guess this would be controlled from some (telnet) configuration
% file somewhere. However I'm having trouble finding out about this as
% the documentation is a bit technical for me. (e.g slave and master
% sides of a virtual terminal) %%%-{
If you want to support remote X, you should run XDM on you Linux box.
XDM is designed to support this sort of activity.
% The output of man telnetd in the Win95 telnet window is all over the
% place.
%
% If I disconnect the telnet session the wm closes down and you're
% back at the plain old login prompt.
% The thing is the login prompt is exactly the same as it was before
% starting fvwm.
% The screen doesn't even appear to have been refreshed !!!!
I'm guessing that startx flipped over to VC7 or whichever console
X uses when it starts, and the exiting X sends you back to VC1,
or wherever it was before X started.
% Is there a configuration file somewhere that I can play with ??
% For example, how would I set some of the available 'features'
% (that's probably not the right word but it's as near as I can get).
I've never used X in the way you've described, but perhaps there are
one of more configuration parameters you can set. I'll leave it to
the real gurus here to answer that.
--
Kurt Wall
Informix on Linux FAQ - http://www.xmission.com/~kwall/iolfaq.html
Spanish Translation - http://www.xmission.com/~kwall/iolfaqsp.html