- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: VNC server startup (gray desktop) and Oracle r...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2005 12:41 AM
тАО04-27-2005 12:41 AM
The only correlation I can find is that you need a desktop/terminal running for this stuff to work. I've searched other threads and saw others having this issue, but did not find a definitive answer.
Any ideas?
Thanks much!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2005 01:06 AM
тАО04-27-2005 01:06 AM
SolutionThe Oracle Developer's Toolkit for web servers requires an Xserver to generate and render the document. This document is then passed to the web server so that it can be viewed from the local Web browsers. Oracle documentation indicates that an Xsession process is required to use this feature. Unfortunately, this information is not accurate.
What the Oracle application really needs is an Xserver process and a window manager process to be able to render the data and to create a HTML document.
The Oracle application makes internal calls to check the window size and window position of the window it opens to create the HTML document. If a window manger process is not available the internal calls from the Oracle application will fail.
An alternative to using VNC would to be make use of xvfb and just start a cut down mwm session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2005 03:18 AM
тАО04-27-2005 03:18 AM
Re: VNC server startup (gray desktop) and Oracle reports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2005 03:24 AM
тАО04-27-2005 03:24 AM
Re: VNC server startup (gray desktop) and Oracle reports
http://www6.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHSS_31293&context=hpux:800:11:11
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2005 08:37 AM
тАО04-27-2005 08:37 AM
Re: VNC server startup (gray desktop) and Oracle reports
However, as I mentioned, vnc starts fine at boot and we can run xclock, but we have to then stop the service and start it again to see a desktop. I saw some posts about people running under inetd, but never saw any confirmations.
We do set the display variable right in our startup script:
PATH=/sbin:/usr/sbin:/bin:/usr/bin
export PATH
VNC=/usr/contrib/bin/vncserver
USER=oracle
CONSOLE=0
HOST=XXX
case $1 in
'start')
if [ -f $VNC ]
then
echo "$0 starting up"
su - $USER -c "export DISPLAY=$HOST:$CONSOLE.0;$VNC :$CONSOLE; x
host +"
fi
;;
'stop')
if [ -f $VNC ]
then
echo "$0 stopping "
su - $USER -c "$VNC -kill :$CONSOLE"
fi
;;
*)
echo "usage: $0 {start|stop}"
exit
;;
esac
exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 08:05 AM
тАО02-21-2008 08:05 AM
Re: VNC server startup (gray desktop) and Oracle reports
#!/sbin/sh
#
PATH=/usr/sbin:/usr/bin:/sbin:/usr/bin/X11:/opt/vnc:/usr/contrib/bin/X11
export PATH
HOME=$(grep "^ldapadm:" /etc/passwd | awk -F: {'print $6'})
export HOME
XAUTHORITY=$HOME/.Xauthority
export XAUTHORITY
rval=0
set_return() {
x=$?
if [ $x -ne 0 ]; then
echo "EXIT CODE: $x"
rval=1
fi
}
case "$1" in
"start_msg") echo "Starting Netscape LDAP Console" ;;
"start")
echo "$0 start2" | at now +1 minute >/dev/null 2>&1
exit
;;
"start2")
ps -ef | grep "ns-" | grep -iv grep > /dev/null 2>&1
if [ $? = 0 ]
then
su - ldapadm -c "vncserver :9; export DISPLAY=:9; /var/opt/nets
cape/server7/startconsole & "
set_return
fi
rval=2
;;
"stop_msg")
;;
"stop")
vncserver -kill :9
set_return
;;
"restart")
$0 stop
$0 start2
;;
esac
Which gives me the LDAP console and a full CDE dekstop. I have this as just about the last rc script so you might need to increase the 'now +1 minute' to suit.