Operating System - HP-UX
1748183 Members
3444 Online
108759 Solutions
New Discussion юеВ

Re: Problems when start CDE from Reflection X

 
SOLVED
Go to solution
Eric TAO
New Member

Problems when start CDE from Reflection X

Hi ALL,

I just installed a HPUX 11i V1 on rp4440. it's working fine with telnet and REXEC shell, but, when i try to use Reflection X to start the X Windows, it prompt me "The Desktop Messaging System could not be started". What should i do with this? i have no idea on it, since network and hosts are already configured properly.

Please help.

Thanks
8 REPLIES 8
Cheryl Griffin
Honored Contributor

Re: Problems when start CDE from Reflection X

ths can be a sign that name resolution is not working correctly

nslookup ip --> returns hostname
nslookup hostname --> returns ip address
check /etc/hosts, /etc/rc.config.d/netconf, etc.
since this is a new system it's likely that you need to run set_parms to set the correct parameters
"Downtime is a Crime."
Bill Hassell
Honored Contributor

Re: Problems when start CDE from Reflection X

Reflection/X is simply an Xwindow emulator so before you try to start CDE (the Desktop manager), use telnet to login to your HP-UX server, then use:

export DISPLAY=$(who -muR | awk '{print $NF}'):0.0

to set your PC's hostname or IP address. Now run xclock from your telnet session. If the clock pops up on your PC, everything is setup for Xwindows and you now have to setup the CDE Desktop Manager on HP-UX.


Bill Hassell, sysadmin
Eric TAO
New Member

Re: Problems when start CDE from Reflection X

Hi Cheryl and Bill,

Thanks for your reply, actually, I did follow you 2 instructions to fix the CDE problem, but, the same error message keep prompts to me, anyway, below is my results:

1. nslookup ip/hostname = successful to resolve

2. configured "export DISPLAY=$(who -muR | awk '{print $NF}'):0.0" via REXEC under Reflection X, and then type "xclock" = successful to show the clock popup on my PC.

And now, what should i do? where can i setup my CDE? many many thanks

Eric TAO
Robert-Jan Goossens
Honored Contributor
Solution

Re: Problems when start CDE from Reflection X

Hi Eric,

How do you resolve ip's/hostnames, DNS or the local /etc/hosts file?

# ll /etc/nsswitch.conf
# cat /etc/nsswitch.conf

If you don't have the nsswitch.conf file, cp the /etc/nsswitch.files to the nsswitch.conf.

Reagrds,
Robert-Jan
Eric TAO
New Member

Re: Problems when start CDE from Reflection X

Hi Robert-Jan,

Yeah, it's working now, many thanks for your help.

BTW, if i would like to create new user with the root privilege, then, is it just simply assign into UID 0?

Best Regards
Eric TAO
Robert-Jan Goossens
Honored Contributor

Re: Problems when start CDE from Reflection X

I would suggest not to create a second root user, have a look at sudo.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p12/
unix_3608
Occasional Contributor

probelm with Xmanger Can't open display

Hi Experts,

 

While executing the xclock command on local user prompting below error messages.
lc$ xclock
Error: Can't open display: 10.37.93.100:0

Exeuted below steps.
#/usr/dt/bin/dtconfig -e
# /sbin/init.d/dtlogin.rc stop
# /sbin/init.d/dtlogin.rc start

export DISPLAY=10.37.93.100:0
Still same problem....

 # grep -i 177 /etc/services
xdmcp        177/tcp                 # X Display Manager Control Protocol
xdmcp        177/udp                 # X Display Manager Control Protocol

Please suggest..

Dennis Handly
Acclaimed Contributor

Re: problem with Xmanager Can't open display

>Error: Can't open display: 10.37.93.100:0

 

Where/what is 10.37.93.100?  Do you have an Xserver running there?

Also, I typically have to use:  ... :0.0