How to set DISPLAY to support X11 window server | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

How to set DISPLAY to support X11 window server

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-23-2008
gohappy gohappy is offline
Registered User
 
Join Date: May 2008
Last Activity: 31 January 2013, 6:33 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Bug How to set DISPLAY to support X11 window server

I can run xclock from root but not able to run in a user (oracle)
I am getting this error during installation of ORACLE-10g (10.2) in Solaris-10 (X86).............when I do ./runInstaller


when ever try, getting this error.......


DISPLAY not set. Please set the DISPLAY and try again. or
Can't connect to X11 window server using '192.168.1.128:0.0' as the value of the DISPLAY variable


How to set the Display to support X11..........

OS-solaris 10 (X86)
Laptop- ACCER, AMD Processor with 2GHz

Pls help me out

Thanks,
gohappy
Sponsored Links
    #2  
Old 09-23-2008
aluiken aluiken is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 3 October 2008, 9:33 AM EDT
Location: Netherlands
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Make sure that your local xserver is listening for incomming connections (on the machine you initiate the connection from), then make sure you authorize the xclient to connect to it.

man xhost will give you the needed info for this.

If you are able to run xclock then the above step is not needed.

Then on the remote end export your display variable:

export DISPLAY=192.168.0.1:0.0

where 192.168.0.1 is the ip address of the machine you initiate the connection from.
Sponsored Links
    #3  
Old 09-28-2008
ikorolev ikorolev is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 27 November 2013, 2:17 AM EST
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
The better way - set DISPLAY automaticly :
add next strings in /etc/profile and relogin

DISPLAY="`who -m | cut -f2 -d'(' | cut -f1 -d')'`:0.0"
export DISPLAY


(source Unix pin ????? ????? ?????????? DISPLAY ????????? )
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
modifying ls() to support the display of file sequences? Dr_Flambe UNIX for Dummies Questions & Answers 9 07-22-2009 03:46 PM
scp or sftp to Window server lweegp UNIX for Dummies Questions & Answers 1 03-16-2009 06:52 PM
How to set AIX server for x-window? aixabc AIX 2 12-20-2006 07:30 PM



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