1822448 Members
2508 Online
109642 Solutions
New Discussion юеВ

linux as an X terminal

 
SOLVED
Go to solution
Peter Brimacombe
Frequent Advisor

linux as an X terminal

First goal is to replace half a dozen X-terminals with RedHat Linux running on Dell boxes. The X-terminals connect to HP-UX. Second goal is to allow users to do open source development on their Linux boxes.

My biggest problem was to get Cap Locks to work on HP-UX. This is what I did:

I edited /etc/inittab to go to level 3
I edited /etc/X11/XF86Config:
- added HP-UX font servers
- uncommented XdbDisable (this gives me CapLock on HP-UX)

I edited /home/peter/.bashrc
function saturn
{
X -query saturn -terminate
}
function hp101
{
X -query hp101 -terminate
}

comments?

I am going to try to set up HP fonts on linux, any suggestions?

Right now I have a NVIDIA video card, a GeForce 4 Mx driver connected to a Philips 17" LCD monitor. I want 19" monitors, what kind should I buy?

Another question: how can I set up RedHat to accept print jobs from HP-UX?
4 REPLIES 4
Vitaly Karasik_1
Honored Contributor

Re: linux as an X terminal

regarding printing:
you can just set HPUX jobs directly to network printer. But if you want to use RH as spooler - read CUPS docs here http://www.cups.org
Rick Beldin
HPE Pro
Solution

Re: linux as an X terminal

A couple of things.

- the capslock problem is caused by a problem with the HP-UX client libraries for Xlib. They have a problem dealing with Xservers that use the XKB extension. Workaround it by defining the environment variable:

XKB_DISABLE=1

This will need to be done *prior* to any apps that you want started on HP-UX, so you need to ensure that this is the in the dtlogin configuration file, /usr/dt/config/Xconfig in the resource Dtlogin*environment. You may need to ensure that this is defined in all user's logins (.profile) and for any custom apps you have.

The method you chose is somewhat easier in that you told the Xserver on Linux to disable the XKB extension altogether.

- As far as setting up HP fonts on Linux - just setup a font server on HP-UX and configure the Linux machines to use it.

- Print jobs - use lprng as it is most similar to lp on HP-UX even if more limiting.
Necessary questions: Why? What? How? When?
Peter Brimacombe
Frequent Advisor

Re: linux as an X terminal

correction:
- uncommented XkbDisable

more notes:
configure Red Hat Linux
security: no firewall
turn off iptables
Peter Brimacombe
Frequent Advisor

Re: linux as an X terminal

uncommenting XkbDisable on the Linux workstation disables Cap Lock on Red Hat Gnome. That's bad.

to fix it I followed Rick Beldin's suggestion: I put the comment back in XF86Config on the Linux workstation. On HP-UX, I edited .profile
XKB_DISABLE=1; export XKB_DISABLE

also I added
stty erase "^?"
for Linux

all is well

thanks again to Rick Beldin