Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-10-2006, 03:56 AM   #1
LQ Newbie
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
xwindows to linux box

after firing up xwindows on a win2k laptop and doing a xhost + . Then i telnet to my redhat linux es box but am unable to run graphical applications.
The DISPLAY setting has been set.
The error i get is

emacs :Cannot connect to X server
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.

This is what i do before i get the error

[user@fred user]$xhost +barney
[user@fred user]$telnet barney
username: user
[user@barney user]$setenv DISPLAY fred:0.0
[user@barney user]$emacs

any ideas??
Old 02-10-2006, 04:59 AM   #2
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
I'm not sure if telnet can handle X forwarding, i know SSH can and it's much better than telnet

man ssh

found this on a really quick google -
Old 02-10-2006, 06:37 AM   #3
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
I agree with ethics.
On Win, you may want to use a popular SSH client like PuTTy. It supports X windows forwarding.

Opening a telnet connection isn't exactly the same as logging in to the machine (as if you were logging in from Linux box onto another).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting Slow Transfer Speed Between Linux Box and Windows Box timswim78 Linux - General 1 10-23-2005 12:45 PM
Linux box with eth0 to cable modem and eth1 to Windows box videojeff Linux - Networking 23 03-03-2005 08:58 PM
Password Message Box when accessing linux box from Window Machine mikeccs Linux - Networking 1 08-04-2004 06:47 AM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 05:49 PM
Xwindows on Linux box? xmdms Linux - Software 7 10-16-2003 06:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration