Operating System - HP-UX
1836851 Members
2486 Online
110110 Solutions
New Discussion

X window side login problem

 
M.sureshkumar
Regular Advisor

X window side login problem

In our workstation, I created new user account,then i log in telnet side is logging but x window side is just i open then totally session is closed.plz give me some solution

6 REPLIES 6
Mark Ellzey
Valued Contributor

Re: X window side login problem

Hi,

Make sure that your workstation's IP address and hostname are correct. Do this by checking the following:
/etc/init.d/netconf
/etc/hosts
/etc/nsswitch.conf - check for 'hosts: files'
/etc/resolv.conf (if you are using DNS)

Make sure that dtlogin has been started.
/sbin/init.d/dtlogin.rc start

Then try to log in under CDE.

Regards,
Mark
Steve Steel
Honored Contributor

Re: X window side login problem

Hi


/var/dt/Xerrors

$HOME/.dt/startlog

$HOME/.dt/errorlog

Suspect something in profile is killing you


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Steven E. Protter
Exalted Contributor

Re: X window side login problem

in /etc/profile or .profile

DISPLAY=$(who -m -u | awk '{print $8}'):0.0
export DISPLAY


This should make sure the DISPLAY variable, the most common issue here is set properly for remote users.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Karthik S S
Honored Contributor

Re: X window side login problem

Try,

cd $HOME (of that user)
mv .dt .dt.org
mv .dtprofile .dtprofile.org

and login again ..
it works sometimes ..

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
D.Blond
Frequent Advisor

Re: X window side login problem

Hello,
Remove
$HOME/.TTauthority
$HOME/.Xauthority
$HOME/.dt
$HOME/.dtprofile
Dominique
D.Blond
I.Delic
Super Advisor

Re: X window side login problem

hi,

I had the same problem. I changed permission on tmp directory.After that i had the same problem like you. Did you perhaps do the same thing ?
Just put the permission back.
Another sulution is to delete your .DT files.

Success

Idriz