[HPADM] RE: OT:using X client to run X applications

From: Beerse, Corné (c.beerse@torex-hiscom.nl)
Date: Thu Apr 17 2003 - 07:38:03 EDT


Hi,

I see you have a PC running M$Win at your desktop and a remote HP-UX
machine. You are using Reflection X as a X11 server at your desktop. If it
is more than 1 or 2 apps you use, best to use the XDMCP protocol from
ReflectionX that provides a comlete HP-UX graphical login session.

If you cannot do so with ReflectionX, I recommend to install VNC
(http://www.realvnc.org/). This vnc works sligthly different, it starts
aditional X11 server on the remote machine and provides viewer applications
for many platforms, including all M$Windows variants. The HP-UX vnc-server
(`Xvnc`) can be found at ftp://vnc:vnc@hprc.external.hp.com , save it as
/opt/vnc/bin/Xvnc. Once you have that, add the next line to /etc/services:

---
vnc-0800x0600x08        5951/tcp
---
And add the next (SINGLE!) line to /etc/inetd.conf
---
vnc-0800x0600x08 stream tcp nowait sys /opt/vnc/bin/Xvnc Xvnc -ac -inetd
-query localhost -once -geometry 800x600 -depth 8 -fp
/usr/dt/config/xfonts/C/,/usr/lib/X11/fonts/hp_roman8/75dpi/,/usr/lib/X11/fo
nts/iso_8859.1/75dpi/,/usr/lib/X11/fonts/iso_8859.1/100dpi/,/usr/lib/X11/fon
ts/misc/
---
Then restart inetd (`/sbin/init.d/inetd stop; /sbin/init.d/inetd start`)
And point a viewer (obtain from http://www.realvnc.org/) for your desktop
platform to "hpuxmachine:51"
If you want other geometries or other colordepths, check the /etc/services
and /etc/inetd.conf examples from
http://www.sourcecodecorner.com/articles/vnc/linux.asp for some examples.
On the other hand, dtpad is 'just an other editor'. Peek at nedit
(http://www.nedit.org) for something more comfortable...
CBee
--
C. Beerse
mailto:c.beerse@torex-hiscom.nl
talkto:+31(71)5256660
> -----Original Message-----
> From: Kesav Tadimeti [mailto:Kesav_Tadimeti@KeaneIndia.com]
> Sent: donderdag 17 april 2003 12:18
> To: hpux-admin@DutchWorks.nl
> Subject: [HPADM] OT:using X client to run X applications
> 
> 
> Hi All,
> I want to use an X Client on my WIndows 2000 computer to run a program
> called dtpad (/usr/dt/bin/dtpad).
> I am able to successfully run hpterm and hpterm located in 
> /usr/bin/X11R6.
> 
> I am using Reflection X. It maintains .rxc files which 
> contain configuration
> information.
> 
> for dtpad
> ----------
> [RX Connection]
> Description=HPUX dtpad
> Version=3
> Type=1
> Temporary=0
> AutoDescription=1
> Host=172.19.149.34
> Method=TELNET
> ResponseTimeout=10
> ReceiveTimeout=2
> line1=1,0,login:|Username:,tadimeti,0,0
> line2=2,1,Password:,,1,0
> line3=0,0,hp),vt100,1,0
> line4=0,0,%|$|#|>|0:|1:|2:|3:|4:|5:|6:|7:|8:|9:,/usr/bin/X11/x
> auth add %IP#%
> %C%,0,1
> line5=0,0,%|$|#|>|0:|1:|2:|3:|4:|5:|6:|7:|8:|9:,(/usr/dt/bin/dtpad
> -statusLine &),0,1
> Template=1
> 
> 
> for hpterm
> -----------
> [RX Connection]
> Description=Generic HPUX hpterm
> Version=3
> Type=1
> Temporary=0
> AutoDescription=1
> Host=
> Method=TELNET
> ResponseTimeout=10
> ReceiveTimeout=2
> line1=1,0,login:|Username:,,0,0
> line2=2,1,Password:,,1,0
> line3=0,0,hp),vt50,1,0
> line4=0,0,%|$|#|>|0:|1:|2:|3:|4:|5:|6:|7:|8:|9:,/usr/bin/X11/x
> auth add %IP#%
> %C%,0,1
> line5=0,0,%|$|#|>|0:|1:|2:|3:|4:|5:|6:|7:|8:|9:,(/usr/bin/X11/
> hpterm -fn
> 6x13 -sb -ls -display %IP#% -name %T% &),0,1
> Template=1
> 
> 
> 
> When I use dtterm the host response is:
> ==============================================================
> ==============
> ====
> dtpad (172.19.149.34 via TELNET)
> Connecting 172.19.149.34 via TELNET
> Thursday, April 17, 2003 15:40:16
> --------------------------------------------------------------
> --------------
> ----
> 
> HP-UX newserv B.11.00 U 9000/800 (ti)
> 
> login: tadimeti
> Password: 
> Please wait...checking for disk quotas
> (c)Copyright 1983-1997 Hewlett-Packard Co.,  All Rights Reserved.
> (c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of
> California
> (c)Copyright 1980, 1984, 1986 Novell, Inc.
> (c)Copyright 1986-1992 Sun Microsystems, Inc.
> (c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
> (c)Copyright 1989-1993  The Open Software Foundation, Inc.
> (c)Copyright 1986 Digital Equipment Corp.
> (c)Copyright 1990 Motorola, Inc.
> (c)Copyright 1990, 1991, 1992 Cornell University
> (c)Copyright 1989-1991 The University of Maryland
> (c)Copyright 1988 Carnegie Mellon University
> (c)Copyright 1991-1997 Mentat, Inc.
> (c)Copyright 1996 Morning Star Technologies, Inc.
> (c)Copyright 1996 Progressive Systems, Inc.
> (c)Copyright 1997 Isogon Corporation
> 
> Value of TERM has been set to "vt100". 
> WARNING:  YOU ARE SUPERUSER !!
> 
> a0y0C$ (/usr/dt/bin/dtpad -statusLine -display 
> 172.19.149.79:0 -name "dtpad
> (172.19.149.34 via TELNET)" &)
> [1]	29354
> $ 
> 
> 
> Host response while using hpterm:
> ==============================================================
> ==============
> ====
> hpterm
> Connecting  via TELNET
> Thursday, April 17, 2003 15:48:36
> --------------------------------------------------------------
> --------------
> ----
> 
> HP-UX newserv B.11.00 U 9000/800 (tj)
> 
> login: tadimeti
> Password: 
> Please wait...checking for disk quotas
> (c)Copyright 1983-1997 Hewlett-Packard Co.,  All Rights Reserved.
> (c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of
> California
> (c)Copyright 1980, 1984, 1986 Novell, Inc.
> (c)Copyright 1986-1992 Sun Microsystems, Inc.
> (c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
> (c)Copyright 1989-1993  The Open Software Foundation, Inc.
> (c)Copyright 1986 Digital Equipment Corp.
> (c)Copyright 1990 Motorola, Inc.
> (c)Copyright 1990, 1991, 1992 Cornell University
> (c)Copyright 1989-1991 The University of Maryland
> (c)Copyright 1988 Carnegie Mellon University
> (c)Copyright 1991-1997 Mentat, Inc.
> (c)Copyright 1996 Morning Star Technologies, Inc.
> (c)Copyright 1996 Progressive Systems, Inc.
> (c)Copyright 1997 Isogon Corporation
> 
> Value of TERM has been set to "vt100". 
> WARNING:  YOU ARE SUPERUSER !!
> 
> a0y0C$ (/usr/bin/X11/hpterm -fn 6x13 -sb -ls -display 
> 172.19.149.79:0 -name
> "hpterm" &)
> [1]	29378
> $ 
> 
> 
> WHat is going wrong? Anyone who has tried this may please help.
> 
> Many thanks
> Keshav
> 
> 
> +-----------------------------------------------------+
> 	KEANE INDIA LIMITED                            
> 	E9 - E12, SDF                                  
> 	NEPZ, NOIDA 201 305                             
> 	U.P, INDIA                                     
>                                                       
> 	e-mail: kesav_tadimeti@keaneindia.com          
> 	phone: +91-120-2568210(371)                    
>       Men are from MACs, Women are from VMS          
> +-----------------------------------------------------+
> "That boy's about as sharp as a pound of wet liver"
> 		-- Foghorn Leghorn
> 
> --
>              ---> Please post QUESTIONS and SUMMARIES only!! <---
>         To subscribe/unsubscribe to this list, contact 
> majordomo@dutchworks.nl
>        Name: hpux-admin@dutchworks.nl     Owner: 
> owner-hpux-admin@dutchworks.nl
>  
>  Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       
> (FTP, browse only)
>             http://www.dutchworks.nl/htbin/hpsysadmin   (Web, 
> browse & search)
> 
--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:28 EDT