1762947 Members
2575 Online
108909 Solutions
New Discussion юеВ

CDE/dtlogin problem.

 
SOLVED
Go to solution
Myles McManus
Frequent Advisor

Re: CDE/dtlogin problem.

I can't find graphinfo in that directory. I searched the entire system, it doesn't exist. As for /usr/bin/X11/X, it runs fine, it creates a moire screen with the 'X' mouse pointer.

Myles
There's no place like $HOME.
Myles McManus
Frequent Advisor

Re: CDE/dtlogin problem.

I decided to bypass the CDE problem and install gnome to see if it would shortcut whatever was causing the above problem. Graphical login now works great from the console but remote graphical logins (xdmcp) don't work.
There's no place like $HOME.
Mike Stroyan
Honored Contributor

Re: CDE/dtlogin problem.

The default configuration of gnome does not allow xdmcp connections. You will need to either edit /etc/opt/gnome/gdm/gdm.conf and
manually change the [xdmcp] section, or run gdmconfig and enable the XDMCP toggle under the "expert" options group.

Myles McManus
Frequent Advisor

Re: CDE/dtlogin problem.

Hi Mike,

Yep, that was done. The problem occurs right after entering logon credentials. Right after entering the password, the connection dies. Further, the failed connection doesn't seem to be logged anywhere, I tried again this morning and looked for any updated files but all I found were these:

# find / -xdev -mtime -1 -exec ls -l -d {} \; | grep 'Apr 6'
-rw-r--r-- 1 root root 720 Apr 6 07:40 /etc/utmp
-rw-r--r-- 1 root root 3080 Apr 6 07:40 /etc/utmpx
drwxrwxrwx 8 bin bin 8192 Apr 6 07:40 /tmp
crw-rw-rw- 1 bin bin 3 0x000002 Apr 6 07:40 /dev/null
crw-rw-rw- 1 root root 33 0x000000 Apr 6 07:40 /dev/pts/ta
crw------- 1 root sys 33 0x000001 Apr 6 07:41 /dev/pts/tb
prw-rw-rw- 1 root root 0 Apr 6 07:40 /dev/log
There's no place like $HOME.
T G Manikandan
Honored Contributor

Re: CDE/dtlogin problem.

You are working with GNOME.
Probably if you are to troubleshoot in future check this doc

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072080266
T G Manikandan
Honored Contributor
Solution

Re: CDE/dtlogin problem.

The doc pointed above is on the US site.
your login in on Europe.

Below is the document details

Document description: CDE Login Troubleshooting
Document id: KBRC00004688
Myles McManus
Frequent Advisor

Re: CDE/dtlogin problem.

Fixed! The problem was the DISPLAY was not being set correctly so in the end I copied over /etc/profile from a working machine which set $DISPLAY correctly:


# Try to give a decent $DISPLAY
if [ "$DISPLAY" = "" ] ; then
LocalHost=$(uname -n)
MyHost=$(who am i -R | cut -d \( -f2 | cut -d \) -f1)
MyHost=${MyHost%%:*}
if [[ -z $MyHost ]]
then
DISPLAY="${LocalHost%%:*}:0.0"
else
DISPLAY="${MyHost%%:*}:0.0"
fi
export DISPLAY
fi


There were other problems; non-existent directories, wrong permissions etc. but the big one was the DISPLAY variable. This has solved the login problems both CDE and Gnome. My thanks to everyone who helped.

Cheers,

Myles
There's no place like $HOME.