Operating System - HP-UX
1834257 Members
2333 Online
110066 Solutions
New Discussion

Redirecting the CDE display

 
Milan Stojanovic
Occasional Advisor

Redirecting the CDE display

Is there a way to run CDE on a HP-UX server (Kx60) but to display it on to the monitor of the workstation that is connected on the same lan.
- a HP-UX workstation is used as a replacement for the X-terminal running Netstation.
Since the workstation is running it's own CDE some differences in CDE configuration occurred.
7 REPLIES 7
Jeff Machols
Esteemed Contributor

Re: Redirecting the CDE display

All you have to do is setup the enviornment variable DISPLAY to the IP of the machine (as long as X is running on the machine).

export DISPLAY=IP:0

Joseph C. Denman
Honored Contributor

Re: Redirecting the CDE display

Checkout this thread.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x87f8a12d6d27d5118fef0090279cd0f9,00.html

Hope this helps.

...jcd...
If I had only read the instructions first??
Andreas D. Skjervold
Honored Contributor

Re: Redirecting the CDE display

Hi

2 things:
export DISPLAY=:0.0

and on the workstation you have to enable xserver access:
/usr/bin/X11/xhost +

(You might consider switching the + for your server name to thighten security.)

Andreas
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
Milan Stojanovic
Occasional Advisor

Re: Redirecting the CDE display

What I am trying to do is to redirect CDE not display.
What that means is as with X-terminal that has servers dtgret and when you login you gogin to the servers (K-box) CDE (servers dtgret) instead to workstations CDE.
Sanjay_6
Honored Contributor

Re: Redirecting the CDE display

Hi Milan,

I guess what you want to do is run the CDE getty on a different workstation, which has its own CDE screen. This is not possible.

Thanks
Wodisch
Honored Contributor

Re: Redirecting the CDE display

Hello Milan,

go to workstation, use "init 2" to go back to multi-user mode without X-Windows (i.e. CDE).
Then log on and issue the command line:
X -query NAME-OR-IP-ADDRESS

Then you'll get the CDE-login screen from that station.

HTH,
Wodisch
Milan Stojanovic
Occasional Advisor

Re: Redirecting the CDE display

Thanks,

for now just temporary solution is.
On s700 workstation select Command line login
login as root and run
exec /usr/bin/X11/X :0 indirect s800.server.hostname

new login screen comes up, select s800.server.hostname entry in chooser and click OK.

New Dtgreet login window pops up from s800.server.