Operating System - HP-UX
1834532 Members
3372 Online
110069 Solutions
New Discussion

How to configure a B180L workstation as an Xterminal

 
SOLVED
Go to solution
Kenneth_18
Frequent Advisor

How to configure a B180L workstation as an Xterminal

Hi,

I have a B180L workstation I'm using to connect to a L2000 server. However, I'm getting tired of always telnetting or rlogging and exporting my the servers display to the workstation.

Is there any way or could you show me the steps to configure the Xserver of the workstation to provide a chooser so that I could choose If I want to get the CDE login of the workstation or the CDE login screen of the L2000 server?

Is the virtual console (under Linux) also supperted in HP-UX? At least I want to be able to work both at the same time at the server and workstation by just switching the screen like in Linux (by pressing Alt & [F7-F12]).

Thanks in advance for any help and hints!
5 REPLIES 5
Leif Halvarsson_2
Honored Contributor
Solution

Re: How to configure a B180L workstation as an Xterminal

Hi
First you need to comment out the following line in the file /etc/dt/config/Xservers

* Local local@console /usr/bin/X11/X :0

Then log out, now you should get an "ordinary" terminal login prompt.

Log in again, now you can test with

/usr/bin/X11/X :0 -indirect
or
/usr/bin/X11/X :0 -indirect # your local hostname

I don't remember if the hostname is nessesary and I have for the moment no machine to test on.

If this works (you should get a screen with a list on) you can try to configure /etc/inittab

Add a line like this:

xt:34:respawn:/usr/bin/X11/X :0 -indirect

Good luck.
John Dvorchak
Honored Contributor

Re: How to configure a B180L workstation as an Xterminal

Or you could just logout of the workstations. When you get the CDE login screen select "Options - Command Line Login". It will shutdown CDE and bring you to a command line login prompt. Login as root and the run:

X -query L200.yourdoman.com -terminate

You will then get the CDE Login from the server in this case L2000.yourdomain.com. When you logout from that session you will be back on the command line of the B180.
If it has wheels or a skirt, you can't afford it.
Wodisch_1
Honored Contributor

Re: How to configure a B180L workstation as an Xterminal

Hi,

and you can always install (Puffin Group) Linux on the B180L - then you have your virtual console ;-)

Just my $0.02,
Wodisch
Pete Randall
Outstanding Contributor

Re: How to configure a B180L workstation as an Xterminal

Kenneth,

Reading between the lines, I'm getting the impression that what you really want to do is eliminate having to export your display all the time. We always used to rlogin and got pretty sick of it, too. We came up with this:
remsh $1 -n /usr/bin/X11/hpterm -display $DISPLAY -ls -title $1 -n $1 -s
b -sl 500 &
where $1 is the hostname of the machine we're trying to get to. Voila - up pops an hpterm window, labeled with the name of the system it's on, and the display already set.

HTH,
Pete


Pete
Kelli Ward
Trusted Contributor

Re: How to configure a B180L workstation as an Xterminal

Hi all,

John - That is an awesome little tip about X I didn't know about. I love it! Thanks!

N/A Please.

Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!