Operating System - Tru64 Unix
1830165 Members
2666 Online
109999 Solutions
New Discussion

X-Manager login problem.

 
SOLVED
Go to solution
aique
Frequent Advisor

X-Manager login problem.

Hi,
I am using Tru64 Unix V5.1B. Whenever i try to connect to my Tru64 machine using X-manager, it gives an error message after asking its IP address, username and password. The error message is like "Root cannot logon to this terminal".
Note: I can logon to HP-UX machines using same X-Manager software.
Please help,
Thanks.

3 REPLIES 3
Ivan Ferreira
Honored Contributor
Solution

Re: X-Manager login problem.

I think that logging directly with root is not a good practice. Logon as a normal user and then su to root.

Anyway, the /etc/securettys file restrict the root access, if you want to enable root access in X from your PC, you need to add something like this:

client_host_name:0

Where client_host_name is the name of your computer, as registered in DNS or /etc/hosts.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Rick Retterer
Respected Contributor

Re: X-Manager login problem.

Abdul,
Ivan is correct about the securettys file. However, depending on how your system is configured on the network, the entry you need for the securettys file can vary.

Here is what we recommend:

1) Attempt to login as root and let it fail at least once.

2) Telnet into the system, login and su to root.

3) Change directory to /var/adm/syslog.dated/current and look at the auth.log file. Here you will find your login attempt failure. The hostname or ip address that it lists in this log file is the entry you will need to use to place in your /etc/securettys file.

Example failed login entry in auth.log:

Jan 31 10:10:59 Visual syslog: ROOT LOGIN REFUSED alf306346-w2k.americas.cpqcorp
.net:0

4)Take the exact hostname (fully qualified) and add it (including the :0) to your /etc/securettys file.

5) Once you have added it, save the file and attempt to login as the "root" user again.

I also agree with the others, I would not do this unless the system was on a secure network *behind* a firewall. I would not recommend doing this on a system that has it's network exposed to the outside internet world.

Cheers,
Rick Retterer
HP Services
Tru64/OpenVMS Graphics Support
- Rick Retterer



aique
Frequent Advisor

Re: X-Manager login problem.

My problem is solved by editting /etc/securettys and /etc/hosts files.
Thanks for your help.