LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 10-06-2008, 01:20 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
Problem running remote X applications on a Mac OS X 10.5.5 Intel system


Hi there --

One of our users is trying to connect to a remote Linux system from his Mac, and then run several X applications on that system. He opens up an X terminal, and first types in the following command:

Quote:
xhost +
He then connects via ssh to the remote system using the following command syntax:

Quote:
ssh -X -l <username> <remote system>
Once he is on the remote system, his command shell is tcsh, and the following command is entered:

Quote:
setenv DISPLAY <ip address of Mac>:0.0
When he tries to start xemacs, or any X application for that matter, he gets the following error message:

Quote:
X server not responding
Several other users have used the above procedure, and have been able to start the remote X applications without a problem.

Has anyone seen this, and know what the fix is to this problem? Thanks.
 
Old 10-07-2008, 09:06 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
When using the X tunnel via SSH, you do not need to set $DISPLAY on the X client. The tunnel should do that for you. It will usually be set to localhost:XX, where XX is some lowish integer value. Also, no need to use xhost, as it must already be accepting X traffic from the local host, otherwise the xterm would not have operated.
--- rod.
 
  


Reply



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
running remote X applications via Putty from a Windows XP system John Sorkin Linux - Newbie 1 08-23-2008 10:19 PM
Problem running remote X applications on Red Hat 7.3 kaplan71 Red Hat 3 03-12-2008 03:25 PM
running remote applications on my X server frankie_DJ Linux - Newbie 5 01-27-2006 02:07 AM
need help running remote X applications zero79 Debian 5 06-11-2005 09:55 PM
running linux applications in mac scng General 2 09-05-2004 11:01 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 03:31 PM.

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