- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to connect HPUX CDE (GUI - mode)
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
Forums
Discussions
Discussions
Discussions
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
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
11-02-2009 05:24 AM
11-02-2009 05:24 AM
Re: How to connect HPUX CDE (GUI - mode)
# ll /var/dt/Xerrors
/var/dt/Xerrors not found
# ll /etc/X11/xdm/Xaccess
/etc/X11/xdm/Xaccess not found
I am not able to open the port 177:
C:\Users\311933>telnet 10.250.0.145 177
Connecting To 10.250.0.145...Could not open connection to the host, on port 177:
Connect failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 12:47 AM
11-04-2009 12:47 AM
Re: How to connect HPUX CDE (GUI - mode)
>root@:/root > graphinfo
>graphinfo: unable to open device file at /dev/crt
Seems like here is no graphics card installed.
Btw. at my system:
# which graphinfo
/usr/bin/graphinfo
.. is the full path.
>4)How to know that CDE has been started, if not how to start?
Check /etc/rc.log - search for CDE:
Start CDE login server
Output from "/sbin/rc3.d/S990dtlogin.rc start":
-------------------------------------------
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 12:50 AM
11-04-2009 12:50 AM
Re: How to connect HPUX CDE (GUI - mode)
also check if files exist in
/var/X11/Xserver/logs
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 01:55 AM
11-04-2009 01:55 AM
Re: How to connect HPUX CDE (GUI - mode)
The XDMCP protocol will send and receive data on port 177/UDP. But the actual connections will be made to the local port 6000/TCP. It is safe to allow connections since the xserver has an own security layer.
Confirm from your network admin that, the UDP port 177 and TCP port 6000 is open.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 06:50 AM
11-04-2009 06:50 AM
Re: How to connect HPUX CDE (GUI - mode)
I have checked both working and non working servers.
I am able to find below given details in working server.
1)root@aa128116:/sbin/rc1.d > which graphinfo
/opt/graphics/common/bin/graphinfo
2)root@aa128116:/sbin/rc1.d > grep -i cde /etc/rc.log
Start CDE login server
3)root@aa128116:/sbin/rc3.d > ll *dtlogin*
lrwxr-xr-x 1 root sys 23 Feb 12 2004 S990dtlogin.rc -> /sbin/init.d/dtlogin.rc
But i am not able to find the above mentioned details in non working servers, but CDE has been installed in that server.
How to solve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 07:00 AM
11-04-2009 07:00 AM
Re: How to connect HPUX CDE (GUI - mode)
from /sbin/init.d/dtlogin.rc :
# When placed in the /sbin/rc3.d directory and named appropriately, such as
# "S990dtlogin", this script will automatically start the dtlogin window
# after the HP-UX system boots to its multi-user level.
So create a link like:
'ln -s /sbin/init.d/dtlogin.rc S990dtlogin.rc'
So CDE should be started.
Also check:
'ioscan -fnC graphics'
-> graphics 0 0/4/0/0 gvid_core CLAIMED INTERFACE AGP Display (10024154)
You need an installed (CLAIMED) graphics card to run CDE.
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 08:00 AM
11-04-2009 08:00 AM
Re: How to connect HPUX CDE (GUI - mode)
You need an installed (CLAIMED) graphics card to run CDE."
that simply is NOT true. You do not need a graphics card if you are connecting remotely. which is what he's attempting to do here....
Since you've servers you can connect to and servers you can't, what METHOD are you using to connect to the "working servers"? remsh / telnet / XDMCP / tunneled ssh ??????? or what method do you need to use / want to use with the new servers? this has been asked before and gone unanswered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 08:18 AM
11-04-2009 08:18 AM
Re: How to connect HPUX CDE (GUI - mode)
Now, I created a short cut, which runs a script I prepared:
c:\cygwin\bin\bash.exe c:\cygwin\start_gui.sh
The content of the script is:
# base-files version 3.7-1
#
/usr/bin/XWin.exe :0 rootless -query HPservername &
This will create CDE in your Window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 08:34 AM
11-04-2009 08:34 AM
Re: How to connect HPUX CDE (GUI - mode)
Everything sai related to requirements on PC is correct (I use exceed).
I use Putty and connect using SSH.
Be aware that the most normal setup is to tunnel the X-window through your SSH-tunnel.
When you do this, you should not define the DISPLAY variable directly back to your IP-address !!!
In Putty configuration make sure you have the following settings:
Connection->SSH->X11
Enable X11 forwarding (v)
X display location=localhost:0
After connecting to the server, you should automatically get a DISPLAY variable set by SSHD which will point back to the server you just logged into ;) but this is because it points back to the SSH tunnel.
example:
myserver# echo $DISPLAY
10.100.77.109:10.0
myserver#
------------
Then... have you allowed X11 forwarding in your SSH configuration of the server?
You should check the sshd configuration file (default file: /opt/ssh/etc/sshd_config
see man 5 sshd_config)
I'll bet it is not allowed ;)
X11Forwarding yes
/2r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 08:39 AM
11-04-2009 08:39 AM
Re: How to connect HPUX CDE (GUI - mode)
you break the rules for your sshd session if you login to your server, and then afterwards su to another userid...
example:
Putty_sshX -> userid@myserver
userid@myserver> xclock # works fine &
userid@myserver> su - 2user
2user@myserver> xclock # doesn't work &
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 08:46 AM
11-04-2009 08:46 AM
Re: How to connect HPUX CDE (GUI - mode)
There is no file like "ll /sbin/init.d/dtlogin.rc".
And the graphics card available and dirver has been installed.
# ioscan -funC graphics
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
graphics 0 0/0/4/0 gvid_core CLAIMED INTERFACE PCI Display (10025159)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 08:47 AM
11-04-2009 08:47 AM
Re: How to connect HPUX CDE (GUI - mode)
There is no file like "ll /sbin/init.d/dtlogin.rc".
And the graphics card available and dirver has been installed.
# ioscan -funC graphics
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
graphics 0 0/0/4/0 gvid_core CLAIMED INTERFACE PCI Display (10025159)
How to solve the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 08:48 AM
11-04-2009 08:48 AM
Re: How to connect HPUX CDE (GUI - mode)
Putty_sshX -> userid@myserver
userid@myserver> xclock # works fine &
userid@myserver> su - 2user
2user@myserver> xclock # doesn't work &"
and that's fixable with xauth...
the issue remains that how any of *us* do things / connect don't really matter.
what does how *senthil* needs to / wants to connect. and he hasn't answered that question...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 09:02 AM
11-04-2009 09:02 AM
Re: How to connect HPUX CDE (GUI - mode)
All is working fine thru xterm connected using rlogin or telnet.
But i am not able to connect xdm.
SSH is not supported thru exceed.
Actually i want to connect whole GUI interface thru Exceed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 01:09 PM
11-04-2009 01:09 PM
Re: How to connect HPUX CDE (GUI - mode)
SSH is not supported thru exceed."
yes it is. I believe you'll find its in the latest version.
If not, enable x tunnels in putty. then set the connection mode to "passive" in later versions.
otherwise, you can enable x tunneling in putty. set exceed's connection mode to passive. open a putty session, open exceed, and the in the Putty session run Xsession. that should start the x connection over the tunnel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 01:13 PM
11-04-2009 01:13 PM
Re: How to connect HPUX CDE (GUI - mode)
But i am not able to connect xdm.
SSH is not supported thru exceed.
Actually i want to connect whole GUI interface thru Exceed."
Lets be very clear here. There are multiple ways to connect (in Exceed) and have the X-Windows work. Look at the "connection method" being used in Exceed. You will note that it doesn't have to be XDM. If thats what you want to use, then you need to be sure that everything in the other posts regarding starting XDM, firewalls and so forth is set up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2009 04:44 PM
11-04-2009 04:44 PM
Re: How to connect HPUX CDE (GUI - mode)
Enable the dtlogin and xwindow,
disable xhost access control by typing xhost at the unix prompt,so that clients can connect from any host , & go through the Exceed Hummingbird documentation for a while , hope it will help,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2009 12:42 AM
11-05-2009 12:42 AM
Re: How to connect HPUX CDE (GUI - mode)
there seems to be different ways to come to a solution .. :-)
>There is no file like "ll /sbin/init.d/dtlogin.rc".
Just copy it from another server where it exists.
'rcp' or use a common net directory, check the permissions at the source.
I hope that there are not more differences between the servers.
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2009 03:59 AM
11-05-2009 03:59 AM
Re: How to connect HPUX CDE (GUI - mode)
In my server grphics card available and driver has been installed.
Ex:
# ioscan -funC graphics
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
graphics 0 0/0/4/0 gvid_core CLAIMED INTERFACE PCI Display (10025159)
But the following is not available.
)root@aa128116:/sbin/rc1.d > which graphinfo
/opt/graphics/common/bin/graphinfo
2)root@aa128116:/sbin/rc1.d > grep -i cde /etc/rc.log
Start CDE login server
3)root@aa128116:/sbin/rc3.d > ll *dtlogin*
lrwxr-xr-x 1 root sys 23 Feb 12 2004 S990dtlogin.rc -> /sbin/init.d/dtlogin.rc
In that situation how start the XDM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2009 03:59 AM
11-05-2009 03:59 AM
Re: How to connect HPUX CDE (GUI - mode)
In my server grphics card available and driver has been installed.
Ex:
# ioscan -funC graphics
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
graphics 0 0/0/4/0 gvid_core CLAIMED INTERFACE PCI Display (10025159)
But the followings are not available.
)root@aa128116:/sbin/rc1.d > which graphinfo
/opt/graphics/common/bin/graphinfo
2)root@aa128116:/sbin/rc1.d > grep -i cde /etc/rc.log
Start CDE login server
3)root@aa128116:/sbin/rc3.d > ll *dtlogin*
lrwxr-xr-x 1 root sys 23 Feb 12 2004 S990dtlogin.rc -> /sbin/init.d/dtlogin.rc
In that situation how start the XDM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2009 07:41 AM
11-05-2009 07:41 AM
Re: How to connect HPUX CDE (GUI - mode)
http://docs.hp.com/en/12657/HP-UXDesktopTroubleshootingguide.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2009 09:23 AM
11-05-2009 09:23 AM
Re: How to connect HPUX CDE (GUI - mode)
CDE is likely to be providing XDMCP broadcasts by means of dtlogin : if this is running it'll be a parent process plus a child per DISPLAY (local or remote connection) it manages.
So if you connect via an Xemulation package on 2 separate pc's you should see 3 dtlogins.
You do not need a graphics card to connect to cde remotely.
Most likely causes : hostname resolution or firewall issues.
Xceed -> Xconfig -> Trouble-shooting
enable log & set tracing and reproduce problem -> review or post logs NB above is based an old version of Exceed 6.2
Not sure where 11.23 crept into this you referenced 10.20, 11.00 and 11.11 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2009 09:35 AM
11-05-2009 09:35 AM
Re: How to connect HPUX CDE (GUI - mode)
There is no relation between the graphics card and remote CDE. The graphics card can onle be used to connect a local monitor.
Attached is the CDE troubleshooting documnet which will be helpful for you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2009 11:35 AM
11-05-2009 11:35 AM
Re: How to connect HPUX CDE (GUI - mode)
/etc/dt/config/Xservers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2009 03:20 AM
11-06-2009 03:20 AM
Re: How to connect HPUX CDE (GUI - mode)
Ok, he doesn't need a graphics card, my mistake
But it seems like cde is not running because 'dtlogin.rc' doesn't exist.
The simpliest way would be to copy 'sbin/init.d/dtlogin.rc' from another server where it exists.
Then create a link in /sbin/rc3.d:
'ln -s /sbin/init.d/dtlogin.rc S990dtlogin.rc'
Then cde should start in boot level 3.
Volkmar