LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kde kdm_greet[2788]: Can't open default user face (https://www.linuxquestions.org/questions/slackware-14/kde-kdm_greet%5B2788%5D-cant-open-default-user-face-647784/)

hellasyoda 06-08-2008 09:31 AM

Kde kdm_greet[2788]: Can't open default user face
 
Hello.My pc its taking some time to load kdm.
I try some solutions:to disable glx module and this solutions but nothing

syslog
Code:

kdm_greet[2788]: Can't open default user face

the xsession
Code:

xset:  bad font path element (#162), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...
kio (KIOConnection): ERROR: Could not write data


Woodsman 06-08-2008 01:58 PM

Quote:

kdm_greet[2788]: Can't open default user face
The default location for user faces is /usr/share/apps/kdm/faces. There likely are no pictures stored there. Hence the error message.

If you open the Login Manager section of Control Center System Administration, you can change the preferences for the picture locations. See the User tab, User Image Source.

If you want to maintain all user login pictures in a central location, but do not have rights to /usr/share/apps/kdm/faces or do not want to use that location for fear of future updating, you can manually change the location to somewhere that wont get clobbered during an update. I have my /usr/local directory on a separate partition and I avoid such issues with that approach.

If you want to take that route, then as root, open /etc/kde/kdm/kdmrc.

Search for the [X-*-Greeter] section.

In that section look for the FaceDir keyline. If the keyline does not exit, then create.

Change the option to a directory you have full control or as in my case, is located in /usr/local where I never worry about updating.

Quote:

xset: bad font path element (#162), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
Been a long time since I looked at this infamous bug. My web page is a tad outdated with respect to file paths, but the general solution is available at Eliminating Common Nuisance Messages. Scroll to about the middle of the page.

I hope this helps.

hellasyoda 06-09-2008 04:39 AM

Code:

The default location for user faces is /usr/share/apps/kdm/faces. There likely are no pictures stored there. Hence the error message
.
The default location is /usr/share/faces.I change the location but nothing.Is there any way to disable this feature?

Code:

These messages appear in the .xsession-errors log file and are caused by KDE.
The problem usually is caused by an empty /opt/kde/share/fonts/override directory.
Resolve the problem by copying a font file there. Then, as root, in that directory run mkfontdir, mkfontscale.
Then run fc-cache -fv.

For this error the directory /kde/share/fonts/ doesn't exist. so i created... but nothing.

Thanks for your time

Woodsman 06-09-2008 12:43 PM

Quote:

The default location is /usr/share/faces. I change the location but nothing.
Use the Control Center Login Manager to assign pictures to each user account.

In the User tab section, select the "dummy" picture icon button and choose a picture. Or supply your own picture. The default location for the KDM images are stored in /usr/share/apps/kdm/pics/users. You can assign pictures from other locations too.

When you save the changes, the pictures will get stored in the location defined by the FaceDir keyline. If you configure the Login Manager for user priority, then the user can assign a picture, which will be stored in the user's home directory.

When you assign a picture to each user account, the new file stored in the FaceDir directory will be named using the format name.face.icon, where name is the user account name. The file actually will be the picture you selected from within the Login Manager. The file is merely renamed.

The best way to understand this is try each of the options and examine the results.

Quote:

For this error the directory /kde/share/fonts/ doesn't exist. so i created... but nothing.
Just copy any font file to the location. I copied the cursor font file cursor.pcf.gz to /share/fonts/override. I don't know why the KDE developers never corrected this nuisance error message, but this was the simple fix I found that worked for me. Many people would argue the error message is harmless and they would be correct, but the message demonstrates sloppy programming and is nonetheless a nuisance.

hellasyoda 06-14-2008 01:22 PM

Quote:

Originally Posted by Woodsman (Post 3179489)
Use the Control Center Login Manager to assign pictures to each user account.

In the User tab section, select the "dummy" picture icon button and choose a picture. Or supply your own picture. The default location for the KDM images are stored in /usr/share/apps/kdm/pics/users. You can assign pictures from other locations too.

Thanks this problem solved!


Quote:

Originally Posted by Woodsman (Post 3179489)
Just copy any font file to the location. I copied the cursor font file cursor.pcf.gz to /share/fonts/override. I don't know why the KDE developers never corrected this nuisance error message, but this was the simple fix I found that worked for me. Many people would argue the error message is harmless and they would be correct, but the message demonstrates sloppy programming and is nonetheless a nuisance.


This problem remains.

Woodsman 06-14-2008 02:13 PM

Quote:

This problem remains.
Using the command line, return (cd /usr/share/fonts/override) to that directory. Then run:

mkfontdir
mkfontscale
fc-cache -fv


The following journal entry is oldish, but might help provide additional insight into the issue:

Slackware 10.0 Error Messages—Day 20


All times are GMT -5. The time now is 07:15 PM.