HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VNC on HPUX
Operating System - HP-UX
1833758
Members
2730
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
08-13-2002 03:29 PM
08-13-2002 03:29 PM
Hello,
I am trying to get VNC running on HPUX. I launch the server on the HPUX box and try to connect from my PC. Once authenticated, the startup screen comes up for CDE. It sits there for a while then goes to a grey screen with only a cursor. At this point I can't do anything.
I viewed a few messages on this site and one of the common suggestions was to be sure that dtlogin was running. It is. Also, I don't necessarily need to use CDE, so if there is an alternate setup that will just give me a basic X Windows session, that would be fine.
Any suggestions are greatly appreciated.
Cheers,
Tyler
I am trying to get VNC running on HPUX. I launch the server on the HPUX box and try to connect from my PC. Once authenticated, the startup screen comes up for CDE. It sits there for a while then goes to a grey screen with only a cursor. At this point I can't do anything.
I viewed a few messages on this site and one of the common suggestions was to be sure that dtlogin was running. It is. Also, I don't necessarily need to use CDE, so if there is an alternate setup that will just give me a basic X Windows session, that would be fine.
Any suggestions are greatly appreciated.
Cheers,
Tyler
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 04:39 AM
08-14-2002 04:39 AM
Solution
There are two methods for bringing up VNC:
- 'raw' VNC Xserver - /usr/local/bin/Xvnc
- vncserver script
If you are using the 'raw' mode, then you get exactly what you asked for - a VNC Xserver. No clients. Just a gray screen. While you can make this work CDE as a foreign Xserver, it can be a bit of work. You can actually get the whole session, from CDE login through your session working this way. If you are interested, I can post directions on how to do this.
An easier method is using the vncserver script. Depending on the VNC distribution, this might be located in a number of places. The main thing, is to use vncserver one time to allow it create its directory, $HOME/.vnc. Kill the newly created VNC server with vncserver -kill. Once this is done, cd to the .vnc directory and edit the file xstartup and change the first executable line to
xsession=/usr/dt/bin/Xsession
Then run vncserver once again.
Typical options are:
vncserver :11 -fp tcp/hpux:7000 -geometry 1024x768
where hpux is the name of an HP-UX system running a font server.
- 'raw' VNC Xserver - /usr/local/bin/Xvnc
- vncserver script
If you are using the 'raw' mode, then you get exactly what you asked for - a VNC Xserver. No clients. Just a gray screen. While you can make this work CDE as a foreign Xserver, it can be a bit of work. You can actually get the whole session, from CDE login through your session working this way. If you are interested, I can post directions on how to do this.
An easier method is using the vncserver script. Depending on the VNC distribution, this might be located in a number of places. The main thing, is to use vncserver one time to allow it create its directory, $HOME/.vnc. Kill the newly created VNC server with vncserver -kill. Once this is done, cd to the .vnc directory and edit the file xstartup and change the first executable line to
xsession=/usr/dt/bin/Xsession
Then run vncserver once again.
Typical options are:
vncserver :11 -fp tcp/hpux:7000 -geometry 1024x768
where hpux is the name of an HP-UX system running a font server.
Necessary questions: Why? What? How? When?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 06:01 AM
08-14-2002 06:01 AM
Re: VNC on HPUX
I had problems with the startup and found some errors
in the server startup logs. Once I resolved them everything was fine.
Sorry, I didn't record the fixes I made.
The following are the inetd entries I use for VNC.
/etc/services
# Add VNC services
vnc800x600x8 5950/tcp vnc800x600x24 5951/tcp
vnc1024x768x8 5952/tcp
vnc1024x768x24 5953/tcp
/etc/inetd.conf
#
# VNC Servers
#
vnc800x600x8 stream tcp nowait vnc /usr/local/bin/Xvnc Xvnc -dpi 75 -i
netd -query localhost -once -geometry 800x600 -depth 8
vnc800x600x24 stream tcp nowait vnc /usr/local/bin/Xvnc Xvnc -dpi 75 -i
netd -query localhost -once -geometry 800x600 -depth 24
vnc1024x768x8 stream tcp nowait vnc /usr/local/bin/Xvnc Xvnc -dpi 75 -i
netd -query localhost -once -geometry 1024x768 -depth 8
vnc1024x768x24 stream tcp nowait vnc /usr/local/bin/Xvnc Xvnc -dpi 75 -i
netd -query localhost -once -geometry 1024x768 -depth 24
in the server startup logs. Once I resolved them everything was fine.
Sorry, I didn't record the fixes I made.
The following are the inetd entries I use for VNC.
/etc/services
# Add VNC services
vnc800x600x8 5950/tcp vnc800x600x24 5951/tcp
vnc1024x768x8 5952/tcp
vnc1024x768x24 5953/tcp
/etc/inetd.conf
#
# VNC Servers
#
vnc800x600x8 stream tcp nowait vnc /usr/local/bin/Xvnc Xvnc -dpi 75 -i
netd -query localhost -once -geometry 800x600 -depth 8
vnc800x600x24 stream tcp nowait vnc /usr/local/bin/Xvnc Xvnc -dpi 75 -i
netd -query localhost -once -geometry 800x600 -depth 24
vnc1024x768x8 stream tcp nowait vnc /usr/local/bin/Xvnc Xvnc -dpi 75 -i
netd -query localhost -once -geometry 1024x768 -depth 8
vnc1024x768x24 stream tcp nowait vnc /usr/local/bin/Xvnc Xvnc -dpi 75 -i
netd -query localhost -once -geometry 1024x768 -depth 24
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2002 12:53 PM
08-19-2002 12:53 PM
Re: VNC on HPUX
I believe these are the additional changes I thought
I had not documented.
1. End the file .Xdefaults
in the home directory
to include the following:
dtterm*loginShell: True
2. Edit the file .dtprofile in the home directory to
include the line
DTSOURCEPROFILE=true
I had not documented.
1. End the file .Xdefaults
in the home directory
to include the following:
dtterm*loginShell: True
2. Edit the file .dtprofile in the home directory to
include the line
DTSOURCEPROFILE=true
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP