1835119 Members
2164 Online
110076 Solutions
New Discussion

X-session problems

 
Mark Pezzi
Occasional Contributor

X-session problems

Hi everyone,

I?m having a problem with exporting my display after a new installation on an L1000, and J2240. I installed HP-UX 11.00 July2001, neither machines have a video card but I have installed CDE, X11 and Xserver. When I try to start a X-session using X-Win32 the windows comes up then kills it self. After working on the L server with a consultant, we got it working by copying some lib files. Many files were tried and I?m not sure which one got it to work. I believe it was one of the X11 lib files but unsure.

I would like to better understand rather then just do a random blind copy like I did with the L1000.

Has anyone ever seen this before, and is there a fix for it?

Thanks,
Mark
5 REPLIES 5
Alex Glennie
Honored Contributor

Re: X-session problems

No and I don't like the idea of not knowing which files were copied ....personally I'd reinstall from the core O/S the CDE Run time env and start over.

fyi : dr_dt (CDE diagnostic may give clues to problems, though it's no so good with plain Xstuff)

also check /var/dt/Xerrors and any log files on the pc side ? some X emulators are capable of running traces ...

first thing to check would be that dtlogin (CDE daemon) is running locally on the L-class.

the next thing is fonts .... I'd ensure the CDE specific fonts are in the L-class font path and then setup xfs and make sure the PC emulator has the fs address in its own font path ->

To do this a few things are required:

1 - The font server needs to be configured to include the CDE
fonts in its catalog

EDIT: /etc/X11/fs/config

Append ",/usr/dt/config/xfonts/C" to the end of the
"catalogue = ..." line

EDIT: /etc/rc.config.d/xfs

Set the following variable: "RUN_X_FONT_SERVER=1"

EXECUTE: /sbin/init.d/xfs start

If the font-server is already running, kill it and
restart it.

2 - Force CDE to add the font-server to the X-Server font-path
by editing the Xsetup file. (NOTE: This steps REQUIRES
the IP address of the CDE session server. You can get
this information by running: nslookup `hostname`.)

COPY: /usr/dt/config/Xsetup to /etc/dt/config/Xsetup
EDIT: /etc/dt/config/Xsetup

Add the following line to /etc/dt/config/Xsetup replacing
"IPADDRESS" with the IP address of the server as returned
from "nslookup `hostname`":

$XDIR/xset fp+ tcp/IPADDRESS:7000 1>/dev/null

(don't forget to add the tcp/IPADDRESS:7000 to the PC X s/w font path too !)

Your best hope is to get some errors ....
Alexander M. Ermes
Honored Contributor

Re: X-session problems

Hi there.
Check the home directory of that user.
If you have the files / directories
.TTauthority
.Xauthority
.dt
in it, remove them ( rm for the files, rm -rf for the directories ). If you login for CDE the next time, these files will be recreated.
I have had this problem this morning, after i copied files from a different userid.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Wodisch
Honored Contributor

Re: X-session problems

Hello,

I do not usually blame everything on Windows, but I would test another X-server, first. Have you got a "Demo-Linux" CD? That"s Linux running from the CD alone - no harddisk needed (or modified). SuSE calls it a "LiveCDROM". Boot one of those, go to textmode, and execute
X -query IP-Address-of-B132

Do you get the CDE login screen?
Can you login now?

Then it is a Windows-problem...

Just my $0.02,
Wodisch
Mark Pezzi
Occasional Contributor

Re: X-session problems

The /var/dt/Xerrors are showing some errors. I'm trying Alex's suggestion, I'll update later. No CDE login screen, and I can connect to 5 other C class and 1 other J2240 with a video card on board.

Mark Pezzi
Occasional Contributor

Re: X-session problems

Still no luck... but I am making progress. I reinstalled X11 & Xserver Updated fonts...CDE Daemon is running set "RUN_X_FONT_SERVER=1" was at 0. Still no xlogon screen, BUT. I tested fron another system and was able to export the display and launch sam(graphic). Is there an Xlogin service, and what files/libs are needed.