Andrew Lowe writes:

>       I have the situation where I have to connect to a remote, it's still
> in my office but X will be running across the network, Sun server so
> that I can run a CAD system. In the past I've done this from Windows
> using telnet and an X emulator, exporting the DISPLAY variable etc, but
> now I want to be able to do this from the linux box. I've tried what
> I've done under Windows in the past but the Sun machine can't find my X
> server, even though I'm in a graphical X window when I type the
> commands to initiate the remote X session.

If the Sun has ssh running, use ssh -X or -Y to connect.

If not, or if this would be too much overhead and slows things down, 
telnet is okay. You probably have your local X server runing with 
the "-nolisten tcp" option which prevents access over port 6000 to your 
server, probably due to security reasons. Check with "ps ax | grep 
[/]usr/bin/X". Or try "telnet localhost 6000", if you get a "connection 
refused", you have to enable tcp listening.

To do so with KDM as display manager, comment the line 
        #ServerArgsLocal=-nolisten tcp
in your /usr/kde/3.5/share/config/kdm/kdmrc and restart ("/etc/init.d/xdm 
restart") after logging out of KDE.

        Alex
-- 
[EMAIL PROTECTED] mailing list

Reply via email to