From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078712011353.tru64-unix-managers.marc@archive.invalid> From: LARRY.CLEGG () LPL ! COM Date: Mon, 01 Jun 1998 20:34:00 +0000 To: tru64-unix-managers Subject: SUMMARY: How to allow a root Xwindows login? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078712011353 Greetings All: My Original Question: I'm running DUNIX V4.0d with all patches on an Alpha 1200. We are, for the first time ever, attempting to get an XWindows session enabled from our Win95 PCs. We're using Hummingbird Exceed. I see in the /etc/securettys file this comment: # Note: Each entry in this file represents a device (secure device) # from which root login is permitted. For, pseudo ttys (ptys) a # single keyword entry "ptys" means all ptys are to be treated as being # secure. Note that the entry is "ptys" and not prefixed by /dev # as is customary for the other physical devices. The absence of # this key word implies that root login will not be permitted from # all ptys. X displays are indicated with the display name. I've set it up so that 'root' can login from anywhere by placing the 'ptys' entry at the end. This is working fine and is what we want. This however only allows root to login as a character-cell terminal. How do I determine the correct 'display name' (as indicated by the last comment line above) to allow 'root' access with Xwindows? Are there any other hints or kinks I should be aware of? Our final goal is to allow all the users to access this system via Xwindows. The Answers (with thanks to J.James(Jim)Belonis II of U of Washington, Oyanarte Portilho of Institute of Physics - University of Brasilia, Brazil, Eunkyo Stephen Lee of Digital, and Lucio Chiappetti of IFCTR/CNR - Milano (Italy), and the DNSlink people at Digital): 1) For all non-root accounts there is nothing special you have to do. Just get your PC X-window software configured correctly and it will work a-ok. 2) For root access you MUST place in /etc/securettys the DNS name or IP address of each PC from which you want access, for example: 10.10.10.254:0 (the :0 is the display id number), or, for DNS, larryc.sd.lpl.com:0. I've got the answers but the problem here still persists. All of our PCs bootup with Win95 and a DHCP-assigned IP address. That address is good for only three days before it is recycled - which also kills the DNS option. I either have to get a permanent address for my PC or give up on using X for root access from other than the console. (I suppose logging on as myself then su'ing to root would be an alternative.) The Digital DSNlink people tell me that wildcard access for X clients has been requested of the product manager for future inclusion but for now I MUST enter in each and every specific address for root access. Sigh. Thanks again for the answers. Larry