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!

display not showing as oracle user in solaris 11

Tony007Mar 6 2021

./runInstaller
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

No X11 DISPLAY variable was set, but this program performed an operation which requires it.

i did
calapp@wlshcivm:/usr/openwin/bin$ xauth add localhost/unix:10 MIT-MAGIC-COOKIE-1 27e035688dd89483c6fe48b2470172f5
calapp@wlshcivm:/usr/openwin/bin$ mccookie
bash: mccookie: command not found
calapp@wlshcivm:/usr/openwin/bin$ mcookie
bash: mcookie: command not found
calapp@wlshcivm:/usr/openwin/bin$ mcookie
bash: mcookie: command not found
calapp@wlshcivm:/usr/openwin/bin$ head -c 16 /dev/urandom | xxd -p
head: illegal option -- c
75736167653a2068656164205b2d6e20235d205b2d235d205b66696c656e
616d652e2e2e5d0a
calapp@wlshcivm:/usr/openwin/bin$ ^C
calapp@wlshcivm:/usr/openwin/bin$ xauth add localhost/unix:10 MIT-MAGIC-COOKIE-1 75736167653a2068656164205b2d6e20235d205b2d235d205b66696c656e616d652e2e2e5d0a
calapp@wlshcivm:/usr/openwin/bin$ id
uid=100(calapp) gid=10(staff)
calapp@wlshcivm:/usr/openwin/bin$ su oracle
Password:
calapp@wlshcivm:/usr/openwin/bin$ xauth add localhost/unix:10 MIT-MAGIC-COOKIE-1 75736167653a2068656164205b2d6e20235d205b2d235d205b66696c656e616d652e2e2e5d0a
xauth: timeout in locking authority file /tmp/ssh-xauth-hfXYId/xauthfile
calapp@wlshcivm:/usr/openwin/bin$ head -c 16 /dev/urandom | xxd -p
head: illegal option -- c
75736167653a2068656164205b2d6e20235d205b2d235d205b66696c656e
616d652e2e2e5d0a
calapp@wlshcivm:/usr/openwin/bin$ uuidgen -r | sed s/-//g
sh: uuidgen: not found
calapp@wlshcivm:/usr/openwin/bin$ mcookie uuidgen -r | sed s/-//g
sh: mcookie: not found
calapp@wlshcivm:/usr/openwin/bin$ su root
Password:
Roles can only be assumed by authorized users
su: Permission denied
calapp@wlshcivm:/usr/openwin/bin$ su calapp
Password:
calapp@wlshcivm:/usr/openwin/bin$ su root
Password:
root@wlshcivm:/usr/openwin/bin# /usr/openwin/bin/xauth list
wlshcivm/unix:10 MIT-MAGIC-COOKIE-1 ca95334cef458eae0ffb438c84443a1f
localhost/unix:10 MIT-MAGIC-COOKIE-1 75736167653a2068656164205b2d6e20235d205b2d235d205b66696c656e616d652e2e2e5d0a
root@wlshcivm:/usr/openwin/bin# su oracle
calapp@wlshcivm:/usr/openwin/bin$ /usr/openwin/bin/xauth add prod-appstess/unix:10 MIT-MAGIC-COOKIE-1
ca95334cef458eae0ffb438c84443a1f
/usr/openwin/bin/xauth: timeout in locking authority file /tmp/ssh-xauth-hfXYId/xauthfile
calapp@wlshcivm:/usr/openwin/bin$ su root
Password:
su: Authentication failed
calapp@wlshcivm:/usr/openwin/bin$ su calapp
Password:
calapp@wlshcivm:/usr/openwin/bin$ su root
Password:
root@wlshcivm:/usr/openwin/bin# xterm
root@wlshcivm:/usr/openwin/bin# /usr/openwin/bin/xauth list
wlshcivm/unix:10 MIT-MAGIC-COOKIE-1 ca95334cef458eae0ffb438c84443a1f
localhost/unix:10 MIT-MAGIC-COOKIE-1 75736167653a2068656164205b2d6e20235d205b2d235d205b66696c656e616d652e2e2e5d0a
root@wlshcivm:/usr/openwin/bin# /usr/openwin/bin/xauth add prod-appstess/localhost:10 MIT-MAGIC-COOKIE-1 75736167653a2068656164205b2d6e20235d205b2d235d205b66696c656e616d652e2e2e5d0a
/usr/openwin/bin/xauth: (argv):1: bad display name "prod-appstess/localhost:10" in "add" command
root@wlshcivm:/usr/openwin/bin# su oracle
calapp@wlshcivm:/usr/openwin/bin$ /usr/openwin/bin/xauth add prod-appstess/unix:10 MIT-MAGIC-COOKIE-1
75736167653a2068656164205b2d6e20235d205b2d235d205b66696c656e616d652e2e2e5d0a
/usr/openwin/bin/xauth: timeout in locking authority file /tmp/ssh-xauth-hfXYId/xauthfile
calapp@wlshcivm:/usr/openwin/bin$ id
uid=101(oracle) gid=10(staff)
calapp@wlshcivm:/usr/openwin/bin$ su calapp
Password:
calapp@wlshcivm:/usr/openwin/bin$ sudo /usr/openwin/bin/xauth add prod-appstess/unix:10 MIT-MAGIC-COOKIE-1 75736167653a2068656164205b2d6e20235d205b2d235d205b66696c656e616d652e2e2e5d0a
Password:
calapp@wlshcivm:/usr/openwin/bin$ xterm
MobaXterm X11 proxy: Unsupported authorisation protocol
xterm: Xt error: Can't open display: localhost:10.0
calapp@wlshcivm:/usr/openwin/bin$ su root
Password:
root@wlshcivm:/usr/openwin/bin# xterm
root@wlshcivm:/usr/openwin/bin# su oracle
calapp@wlshcivm:/usr/openwin/bin$ echo $DISPLAY
localhost:10.0
calapp@wlshcivm:/usr/openwin/bin$ xhost +
MobaXterm X11 proxy: Unsupported authorisation protocol
xhost: unable to open display "localhost:10.0"
calapp@wlshcivm:/usr/openwin/bin$ xhost +wlshcivm
MobaXterm X11 proxy: Unsupported authorisation protocol
xhost: unable to open display "localhost:10.0"
calapp@wlshcivm:/usr/openwin/bin$ id
uid=101(oracle) gid=10(staff)

Comments
Post Details
Added on Mar 6 2021
1 comment
1,432 views