How to set DISPLAY | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

How to set DISPLAY

UNIX for Dummies Questions & Answers


Tags
export display, linux, ubuntu

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-12-2008
jaganreddy jaganreddy is offline
Registered User
 
Join Date: May 2008
Last Activity: 13 May 2008, 9:54 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
How to set DISPLAY

Hi ,

i am facing problem while setting up DISPLAY to local host. Error follows ;


bosdf9d1:root DISPLAY=90.136/16.128

bosdf9d1:root DISPLAY=90.136.16.128:0.0;export DISPLAY

bosdf9d1:root echo $DISPLAY
90.136.16.128:0.0

bosdf9d1:root bcs_view
Error: Can't open display: 90.136.16.128:0.0
Error: Couldn't find per display information


Some one please correct me where iam wrong.


Please let em know if any details needed.

Thx,

Jagan
Sponsored Links
    #2  
Old 05-12-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
 
Join Date: Mar 2008
Last Activity: 28 March 2011, 6:41 AM EDT
Location: /there/is/only/bin/sh
Posts: 3,653
Thanks: 0
Thanked 10 Times in 8 Posts
The basic problem is usually that you do not have permissions to manipulate the display on another host, even if you know its IP address. This is a security feature, designed quite on purpose (how would you like me to be able to open a window on 90.136.16.128:0.0 right here and now, just to see what would happen?) but if you have legitimate access to the display, you should be able to create a connection. It's not very simple, because there are several security facilities which need to be aligned and configured correctly.

Do you have ssh access to the machine where this display is connected? Is it a local machine? Are you able to open local windows there, for a start? Because of various issues of the X client/server model, it's often simpler to use a wrapper such as VNC to get access to (windows on a) remote desktop.
Sponsored Links
    #3  
Old 05-12-2008
sparcguy sparcguy is offline Forum Advisor  
Registered User
 
Join Date: Nov 2006
Last Activity: 3 August 2013, 2:12 AM EDT
Posts: 364
Thanks: 1
Thanked 5 Times in 5 Posts
Quote:
Originally Posted by jaganreddy View Post
Hi ,

i am facing problem while setting up DISPLAY to local host. Error follows ;


bosdf9d1:root DISPLAY=90.136/16.128

bosdf9d1:root DISPLAY=90.136.16.128:0.0;export DISPLAY

bosdf9d1:root echo $DISPLAY
90.136.16.128:0.0

bosdf9d1:root bcs_view
Error: Can't open display: 90.136.16.128:0.0
Error: Couldn't find per display information


Some one please correct me where iam wrong.


Please let em know if any details needed.

Thx,

Jagan
The server you trying to connect to do a
xhost +

Then from the client once you telnet into the server.

do a DISPLAY=xxx.xxx.xxx.xxx:0.0;export DISPLAY

If you connect to the server thru a series of first connecting to other servers you may have problems trying to see your display. Those servers that you connected to you should also do xhost + but it also may not work or because sometimes if you have a firewall that allow the usual ssh, telnet ftp http https but block everything else including xdm
    #4  
Old 05-12-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
 
Join Date: Mar 2008
Last Activity: 28 March 2011, 6:41 AM EDT
Location: /there/is/only/bin/sh
Posts: 3,653
Thanks: 0
Thanked 10 Times in 8 Posts
You should be aware of the rather severe security implications of "xhost +" though. There are more secure ways to achieve that but they are also inevitably more complex.

It would also help if we knew where you are connecting from, where you are connecting to, and how (and perhaps why. Like maybe "from work desktop computer running SuSE to wife's laptop at home running Ubuntu, using ssh; need to run OpenOffice there to print out some documents of hers on the printer at home" or some similar broad problem description).
Sponsored Links
    #5  
Old 05-12-2008
jaganreddy jaganreddy is offline
Registered User
 
Join Date: May 2008
Last Activity: 13 May 2008, 9:54 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
how to set DISPLAy

Thank You Era.. problem resolved now , I installed xwindow software and going fine


Thx,
jagan
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Display Aswex Shell Programming and Scripting 4 02-24-2011 01:32 PM
DISPLAY=local_host:0.0 ; export DISPLAY big123456 UNIX for Advanced & Expert Users 12 12-15-2010 09:15 AM
Awk display shahnazurs UNIX for Advanced & Expert Users 4 05-15-2009 06:55 AM
I need to display it how to do unitipon Shell Programming and Scripting 2 06-11-2007 04:33 AM



All times are GMT -4. The time now is 10:33 PM.