LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-06-2006, 12:57 AM   #1
ppanyam
Member
 
Registered: Oct 2004
Location: India
Distribution: Redhat
Posts: 88

Rep: Reputation: 15
Can not open Remote Graphical Display on Linux WS


We have 2 PCs running Red Hat Linux and several SGI workstations. When we try to open the Graphical Display of SGI workstations on Linux machines, we get a error message "Cannot open Display <machine>:0".

we run "xhost +" command first.
run "setenv DISPLAY <machine>:0.0"

Even then we are unable to display remote machines' graphics on linux machines.
 
Old 01-06-2006, 02:01 AM   #2
puffinman
Member
 
Registered: Jan 2005
Location: Atlanta, GA
Distribution: Gentoo, Slackware
Posts: 217

Rep: Reputation: 30
Be sure that you have properly configured the X server on your Linux machines. In many cases the network functionality of X is disabled by default. For instance, the following is at the top of my /usr/bin/startx:
Code:
userclientrc=$HOME/.xinitrc
userserverrc=$HOME/.xserverrc
sysclientrc=/etc/X11/xinit/xinitrc
sysserverrc=/etc/X11/xinit/xserverrc
defaultclientargs=""
defaultserverargs="-nolisten tcp -br"
clientargs=""
serverargs=""
The -nolisten option prevents remote connections.
 
Old 01-06-2006, 07:17 AM   #3
ppanyam
Member
 
Registered: Oct 2004
Location: India
Distribution: Redhat
Posts: 88

Original Poster
Rep: Reputation: 15
This is what is present in my /usr/X11R6/bin/startx file.

userclientrc=$HOME/.xinitrc
userserverrc=$HOME/.xserverrc
sysclientrc=/etc/X11/xinit/xinitrc
sysserverrc=/etc/X11/xinit/xserverrc
defaultclient=/usr/X11R6/bin/xterm
defaultserver=/usr/X11R6/bin/X
defaultclientargs=""
defaultserverargs=""
clientargs=""
serverargs=""

The -nolisten option is not used in defaultserverargs. Even then we are unable to open the Graphics of remote machine.
 
Old 01-06-2006, 03:16 PM   #4
puffinman
Member
 
Registered: Jan 2005
Location: Atlanta, GA
Distribution: Gentoo, Slackware
Posts: 217

Rep: Reputation: 30
Well it could be a lot of things. Make sure you have the relevant ports open on any firewalls between the machines, and have proper domain names for the machines. Also check out http://www.faqs.org/docs/Linux-mini/Remote-X-Apps.html

Good luck.
 
  


Reply


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
"Can't open display" error when try to use a program remote heande Linux - Newbie 2 03-11-2005 11:13 AM
Can't open GUI of programs in remote machines by telnet and setting DISPLAY..... bioinfo Linux - Networking 2 10-02-2004 09:26 AM
matlab on remote linux server... using ssh .. x display shyamsg Linux - Networking 1 05-01-2004 05:01 PM
Exceed - remote login to Linux (graphical) Beuzekom Linux - Software 7 10-20-2003 02:43 PM
Open Linux Terminal from remote Windows machine m1ke Linux - Networking 5 11-12-2001 02:34 AM


All times are GMT -5. The time now is 02:24 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration