Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Solaris 10 Display setting Headache

DatisDataDatisFeb 7 2013 — edited Feb 7 2013
This is my issue:

Open Xwin Server on windows XP machine (my desktop machine)
Open putty session and set Enable X11 forwarding
Using putty I then connect to db server (Solaris 10) logged in as "oracleuser"

$ set
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="1" [4]="release" [5]="sparc-sun-solaris2.10")
BASH_VERSION='3.00.16(1)-release'
COLUMNS=126
DIRSTACK=()
DISPLAY=localhost:10.0
EDITOR=vi
EUID=101
GROUPS=()
HISTFILE=/export/home/oracle//.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/export/home/oracle/
...
PATH=/usr/bin:/usr/local/bin:/oracle/product/db/11gR202/bin:/usr/ccs/bin:/usr/bin/X11:/usr/local/bin
....
TERM=xterm
.........etc


As you can see DISPLAY is set

$/usr/openwin/bin/xclock

Xclock displayed on windows XP machine

Success!

Now connecting to an identical box.


open Xwin Server on windows XP machine
open putty session and set Enable X11 forwarding
using putty open connection to Solaris 10 db server logged in as "oracleuser"
$ set
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="1" [4]="release" [5]="sparc-sun-solaris2.10")
BASH_VERSION='3.00.16(1)-release'
COLUMNS=126
DIRSTACK=()
EDITOR=vi
EUID=101
GROUPS=()
HISTFILE=/export/home/oracle//.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/export/home/oracle/
...
PATH=/usr/bin:/usr/local/bin:/oracle/product/db/11gR202/bin:/usr/ccs/bin:/usr/bin/X11:/usr/local/bin
....
TERM=xterm

...etc

DISPLAY is NOT set

So

$export DISPLAY=localhost:10.0

$echo $DISPLAY
localhost:10.0


$/usr/openwin/bin/xclock
Error: Can't open display: localhost:10.0

So

$/usr/openwin/bin/xhost
/usr/openwin/bin/xhost: unable to open display "localhost:10.0"

any and all attempts to run anything X11 related end up with the same message

other checks

$cat /etc/ssh/sshd_config | grep -i x11

# X11 tunneling options
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

$more /etc/hosts

#
# Internet host table
#
10.100.200.10 name-of-server.dev.orgnameint.net name-of-server loghost
::1 localhost
127.0.0.1 localhost
10.1.2.16 ntp1 ntp1.orgnameint.net
10.1.2.17 ntp2 ntp2.orgnameint.net


$./xauth list
name-of-server/unix:10 MIT-MAGIC-COOKIE-1 7b39a111db9b71932c7742f752815073
name-of-server/unix:11 MIT-MAGIC-COOKIE-1 1abaa8baded63a3beceb34f3b0a4ea89


all settings that are set for the box that works are also set for the box that does not work.

I have tried the above as root - still no Joy.


It feels like I have checked every web page designated to this problem and tried all of the solutions that are relevant to Solaris (and even some that aren't) but still had no joy.

Does anyone know of any logs that I can use to try and identify the issue, or think of something I may be missing.

Regards,
JP
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 7 2013
Added on Feb 7 2013
3 comments
7,693 views