Operating System - HP-UX
1830899 Members
2514 Online
110017 Solutions
New Discussion

Re: Problems running X session on Linux

 
David Wagle
New Member

Problems running X session on Linux

I have some HP9000 servers I want to run Xsessions for on my desktop Linux box. Basically I entered a line for our entire domain into the Xaccess file, fired up dtlogin in -daemon mode, and went to the Linux box and issued the command:
$ Xnest :1 -query HPBOX &

The result is the expected nested x-session, the grey hash background the black background of dtlogin, the dt hourglass cursor then . . .nothing!

I have tried a variety of tricks to get beyond this point, but so far all have failed to get me where I want to be - which is able to run a full-blown x-session for my HP9000 servers on my desktop.

Any help on this would be appreciated. I suspect that it may be font related, but I don't know what fonts, if any, I need to move from the HP to the Linux box to address this.

Thanks,

Dave
5 REPLIES 5
mark alexander
Occasional Advisor

Re: Problems running X session on Linux

Check the file /usr/dt/config/Xaccess and make sure the linux boxes addresses or hostnames have access to the XDMCP service.
Alex Glennie
Honored Contributor

Re: Problems running X session on Linux

The hash background is the nested Xserver, the hour glass is indicative that some form of connection to a window manager has been started, probably dtwm, initiated by dtlogin.

My guess therefore is the problem may just be to do with fonts, I know CDE comes with a set called dt-interface, the linux box may not be able to resolve these :

Try setting up a font-server on one of the 9000 systems: see man xfs, and make sure the /usr/dt/config/xfonts/C are included in the catalog .... I beleive the setting up of a font server has been mentioned in the forums before. (If not I can post details).

then try running :

xnext :1 -query -ac -fp tcp/:7000

where the 2nd hostname is that of the font server.

If that fails try running dr_dt (CDE diagnostic tool) & check /var/dt/Xerrors, syslog.log or run dtlogin.rc in debug mode.
Luis F. Gonzalez
New Member

Re: Problems running X session on Linux

I wanted to do the same thing and it worked, but not using the Xnest command. Using the Xnest, I still get stuck at the hourclass.

It worked the following way:

#X :1 vt09 -query -ac -fp tcp/:7000

I would still like to use the Xnest command.
Yo!
Alex Glennie
Honored Contributor

Re: Problems running X session on Linux

Try =>

xnest :1 -query -ac -fp tcp/:7000

You need to tell X or Xnest where the fontserver is ! (you'd also need to set it up) if xfs is not running somewhere on an hp-ux system on your network
Luis F. Gonzalez
New Member

Re: Problems running X session on Linux

I got it to work. The font server was running on the HP box since I had the additional X server running on another virtual terminal (vt09). I just couldn't get Xnest to work. Here's what I did.

On the remote display, the Linux box.

$ xhost +
$ xset +fp tcp/:7000
$ xset fp rehash

# Xnest :1 -query -ac -fp tcp/:7000 2> $HOME/X.errs &
Yo!