[HPADM] SUMMARY - Can't start multiple dtlogins on virtual displays

From: tz8nym@eng.delcoelect.com
Date: Tue Dec 07 2004 - 16:06:51 EST


> An application group asked us to set up 4 Xvnc sessions as virtual displays.
> Some developers connect to them remotely to get a CDE login session with the
> compression option used between the Xvnc server and client. This improves
> performance over the low-bandwidth connection.

> The /etc/dt/config/Xservers file entries look like this (sanitized):

> devlhost:1 Local local@none /usr/local/bin/Xvnc :1 -cc 3 -desktop X11 -geometry 1024x768 -depth 8 -dpi 95 -fp tcp/127.0.0.1:7000 -auth /users/user1/.Xauthority -rfbauth /users/user1/.vnc/passwd

> devlhost:2 Local local@none /usr/local/bin/Xvnc :2 -cc 3 -desktop X11 -geometry 1024x768 -depth 8 -dpi 95 -fp tcp/127.0.0.1:7000 -auth /users/user2/.Xauthority -rfbauth /users/zdpt6/.vnc/passwd

> devlhost:3 Local local@none /usr/local/bin/Xvnc :3 -cc 3 -desktop X11 -geometry 1024x768 -depth 8 -dpi 95 -fp tcp/127.0.0.1:7000 -auth /users/user3/.Xauthority -rfbauth /users/user3/.vnc/passwd

> devlhost:4 Local local@none /usr/local/bin/Xvnc :4 -cc 3 -desktop X11 -geometry 1024x768 -depth 8 -dpi 95 -fp tcp/127.0.0.1:7000 -auth /users/user4/.Xauthority -rfbauth /users/user4/.vnc/passwd

> The followinr error message appears in the /var/dt/Xerrors file when I start
> the dtlogin.rc sub-system:

> # /sbin/init.d/dtlogin.rc start

> /var/dt/Xerrors:

> 17/11/04 18:13:53 Xvnc version 3.3.3r1
> 17/11/04 18:13:53 Copyright (C) AT&T Laboratories Cambridge.
> 17/11/04 18:13:53 All Rights Reserved.
> 17/11/04 18:13:53 See http://www.uk.research.att.com/vnc for information on VNC
> 17/11/04 18:13:53 Desktop name 'X11' (devlhost:4)
> 17/11/04 18:13:53 Protocol version supported 3.3
> 17/11/04 18:13:53 Listening for VNC connections on TCP port 5904

> Wed Nov 17 18:13:58 2004
> error (pid 13218): All DT utmp IDs already in use. Removing display devlhost:3

> What is a "DT utmp ID" and how do I free them up or increase their number?

Thanks go to Dave Johnson, Mike Smedberg and Corne Beerse for several
suggestions regarding different ways to launch Xvnc sessions but what
finally made it work was updating to the current CDE patches for HP-UX 11.11
and rebooting the server. The Xvnc sessions now restart when the users logs
off just like they're supposed to. Along the way I updated to Xvnc v4.0
from www.realvnc.com but it also works with the old v3.3.3r1 binaries.

                                Cheers, Tom

-- 
Tom Myers, Information Systems Engineer; Delphi Corporation,
Delphi IT - KAT Unix Admin, M/S CT200, P.O. Box 9005, Kokomo IN 46904-9005
E-Mail: tvmyers@eng.delcoelect.com  Voice: 765-451-0918
--
             ---> 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:44 EDT