Operating System - HP-UX
1833303 Members
2958 Online
110051 Solutions
New Discussion

X-Server or CDE on 11.11?

 
SOLVED
Go to solution
David Mundfrom
Occasional Advisor

X-Server or CDE on 11.11?

Hello,

Please don't flame me if this question is too newbie-ish, but I'm an Oracle DBA masquerading as the sys admin (we don't have a real sys admin on our project). We're running HP-UX 11.11, had the X-Server running once but since relocating the server can't get it going again. We need it for Oracle sw install.

My question: has CDE completely replaced X-Server or are they two parallel, independent products?

I'm trying to find HP documentation for the X-Server but can only find CDE stuff. If X-Server is what I need, can anyone point me to HP documentation?

Thanks in advance.


11 REPLIES 11
Leif Halvarsson_2
Honored Contributor
Solution

Re: X-Server or CDE on 11.11?

Hi,

CDE and X is not two concurrent products. CDE is based on X (built on top of X).
Bill Costigan
Honored Contributor

Re: X-Server or CDE on 11.11?

CDE is an desktop environment that works through X-server. Your oracle java install window will start just fine on a workstation using CDE.

export ORACLE_TERM=ansi
if $DISPLAY is not pointing to your workstation (which it should already be)
export DISPLAY=:0.0

Steve Steel
Honored Contributor

Re: X-Server or CDE on 11.11?

Hi


You say it wont run again . You mean cde

run
/usr/contrib/bin/X11/dr_dt

check /var/dt/Xerrors

www.docs.hp.com for all docs

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
David Mundfrom
Occasional Advisor

Re: X-Server or CDE on 11.11?

Hello,

Now that you all have graciously confirmed CDE is NOT the same as X-Server let me clarify: I don't need CDE, just the x-server running on the HP-UX server so I can run the X client from my PC. I ran

/usr/contrib/bin/X11/xinit

got several errors but this one appears significant:

error /etc/X11/X0screens line 612
xinit: connection refused (errno 239): unable to connect to x server
no such process (errno 3): server error

contents of X0screens line 612:
Screen /dev/crt

which appears to be default.

I'm not trying to run the x-client on the server itself, anyway.

Does the errno 239 mean the server processes aren't running, and if so, how do I troubleshoot that?
Zinky
Honored Contributor

Re: X-Server or CDE on 11.11?

David et al,

CDE is the Desktop Environment (a.k.a. GUI or graphical user interface environment). It is simply a "look and feel" for the otherwise naked X-server (which is the bit map display environment). X windows is a client-server environment. CLients are the applications (windowed/graphics stuff, apps, etc.) that display on your X environment (consisting of a GUI and the desktop). Sometimes your GUI or Desktop are themselves "clients" of your X-Server. X-servers can be running on the same server or remote (ie. on your PC, your eXceed or Reflection X provides the "X-Server" component OR if you'ce a Linux/UNIX PC your X-Server is your regular Desktop environment.

CDE is in the same league as the newer "GUI/Desktop Environments" i.e. Gnome, KDE, ICE, etc.. each providing a different Look and Feel.

So CDE is not X-Windows period.

For your Oracle needs. Find an X display capable workstation or PC running X and ye shall be okay. Or you can use VNC which is a virtual X environment.

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Zygmunt Krawczyk
Honored Contributor

Re: X-Server or CDE on 11.11?

Hi David,
if your HP-UX machine has no local graphics device (and monitor, keyboard and mouse) you can't run X-server on your HP-UX machine, but you can run CDE.

You must run X-server on PC and connect to CDE running on HP-UX machine. It is possible by configuring XDMCP query to HP-UX machine on PC X-server.

Regards,
Zygmunt
Gerard Leclercq
Trusted Contributor

Re: X-Server or CDE on 11.11?

We have a server with Oracle but without graphic card. To administer graphically Oracle from a PC, we use VNC (www.realvnc.com) and it works very fine.

You start the VNC server on the Oracle server, then the VNC client on your PC or anything else, that's all.

Very easy to install and configure. Free. Little cpu resources.

Gerard
Bill Costigan
Honored Contributor

Re: X-Server or CDE on 11.11?

Don't forget that in X terminology, the system with the display is the X server. In your case that sounds like your PC.

The PC must be running some X-server software, such as Reflections X,

You also need to set the display to point to your PC x-server

export DISPLAY=:0.0
you could then run xclock just to see if the clock pops up on your PC
Bill Hassell
Honored Contributor

Re: X-Server or CDE on 11.11?

You don't need anything running on the HP-UX side if you don't want the CDE desktop. An X-server is the box that has the screen, so in your case, your PC is the X-server. The Oracle GUI is not running on the PC so it is running on the client machine. To see this work, just run the xclock program on your client HP-UX system:

/usr/bin/X11/xclock -display 12.34.56.78:0

where 12.34.56.78 is your PC's address. Be sure to add :0 (or :0.0) at the end. BEFORE you run xclock, run your PC's Xwindow emulator so you have an X-server (Hummingbird Exceed, WRQ Reflection/X, etc). You'll see the clock (may be iconified) on your screen. You can now run your Oracle GUI the same way. To eliminate the -display... option, just export the variable:

export DISPLAY=12.34.56.78:0

Now you can just run the Oracle GUI and will popup on your PC screen.


Bill Hassell, sysadmin
David Mundfrom
Occasional Advisor

Re: X-Server or CDE on 11.11?

Thanks to everyone for their replies, very helpful. I installed ssh (to get through the firewall) on the HP-UX server, connected from my PC with Putty and X-Win32 and voila! the Oracle Universal Installer works! Now if that java product from Oracle wasn't such a dog ... but that's the kind of stuff that keeps us employed!
David Mundfrom
Occasional Advisor

Re: X-Server or CDE on 11.11?

Thanks for your answers.