View previous topic :: View next topic |
Author |
Message |
jatf n00b
Joined: 05 Feb 2003 Posts: 72
|
Posted: Fri Feb 07, 2003 8:00 pm Post subject: Getting Gnome up and running |
|
|
I'm a longtime RedHat user. I'm used to brain-dead installs. Testing out Gentoo to get a decent system without installing 1.8 GB.
I'm running gentoo-1.4rc2.
Got all the way through the stage 1 install and rebooted just fine. I'm installing in a VM under VMWare Workstation, so I installed the VMWare Tools (without a hitch) and started X. Got xdm just fine. Ran nautalus from an xterm with no problems.
Trying to work through the Desktop setup FAQ, started gdm.
gdm comes up fine. I log in (as root or as user) and it dies. I get a message saying that it died in less than 10 seconds and (after going to text mode and back to X several times) gives me another gdm login.
/root/.gnomerc-errors reports:
SESSION_MANAGER=local/test.nowhere.foo:/tmp/.ICE-unix/3508
Loaded background '0x8096db8
** (gnome-session:3508): WARNING **: Cannot open font file for font Luxi Sans 10
** (gnome_segv:3523): WARNING **: Cannot open font file for font Luxi Sans 10
/var/log/XFree86.0.log provides as it's last line:
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Anyone have any help for getting the fonts working again?
--JATF _________________ --JATF
Adopt an unanswered post HERE |
|
Back to top |
|
|
bassie n00b
Joined: 02 Sep 2002 Posts: 54 Location: Haarlem, The Netherlands
|
Posted: Fri Feb 07, 2003 8:06 pm Post subject: |
|
|
Just comment that line out of /etc/X11/XF86Config, like:
# FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" |
|
Back to top |
|
|
jatf n00b
Joined: 05 Feb 2003 Posts: 72
|
Posted: Fri Feb 07, 2003 8:31 pm Post subject: |
|
|
Okay. That got rid of the Speedo error. gdm still won't log in except in failsafe mode.
~/.Xsession-errors indicates:
/etc/X11/gdm/PreSession//Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession//Default: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers: -h "" -l :0 root
Any suggestions? _________________ --JATF
Adopt an unanswered post HERE |
|
Back to top |
|
|
jatf n00b
Joined: 05 Feb 2003 Posts: 72
|
Posted: Fri Feb 07, 2003 11:31 pm Post subject: |
|
|
Okay, so I'm a complete idiot. It's something I have come to acknowledge after much pain and suffering.
I did not perform a:
rc-update add xfs default
to start the font server. Now I don't get the same message, the login proceeds a bit further and then drops out (back to the gdm login screen).
What other services do I need to have running for Gnome to work? _________________ --JATF
Adopt an unanswered post HERE |
|
Back to top |
|
|
useofweapons n00b
Joined: 09 Jan 2003 Posts: 26
|
Posted: Sat Feb 08, 2003 1:20 pm Post subject: |
|
|
In /etc/X11/Sessions/Gnome change to Code: | export GDK_USE_XFT=0 |
Gnome will now start, but you have no antialiased fonts. I am still trying to find how to fix this properly, as I have had it on both my gnome machines. |
|
Back to top |
|
|
foser Retired Dev
Joined: 28 Oct 2002 Posts: 154
|
Posted: Sat Feb 08, 2003 1:41 pm Post subject: |
|
|
its some weird problem that some ppl have with certain fonts, makes me believe its either optimizations or xft/fontconfig version related. Anyway removing the fonts it complains about gets you going. _________________ Gentoo Gnome Desktop team |
|
Back to top |
|
|
useofweapons n00b
Joined: 09 Jan 2003 Posts: 26
|
Posted: Sun Feb 09, 2003 1:09 am Post subject: |
|
|
It is XFt/fontconfig related, as some of mu gnome libs have dependencies on freetype 1 & 2 in the same lib.
I have tried emerging freetype/xft/xfree/pango/libgnome* and no success. Only way is to re-emerge everything, and both machines now work.
It is definitely a dependency on freetype/xft/pango etc missing from somewhere in gnome. |
|
Back to top |
|
|
jatf n00b
Joined: 05 Feb 2003 Posts: 72
|
Posted: Sun Feb 09, 2003 3:08 pm Post subject: |
|
|
Well,
As near as I can tell the font issues are worked out.
What appears to be blocking the login are these errors:
/etc/X11/gdm/PreSession//Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession//Default: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers: -h "" -l :0 root
I think that these errors are indicating that gdm cannot insert into the user login logs. Anyone have any thoughts on that? Does one of the gnome apps need suid flag set that doesn't get set on emerging? _________________ --JATF
Adopt an unanswered post HERE |
|
Back to top |
|
|
JohnY Guru
Joined: 26 Jul 2002 Posts: 305
|
Posted: Sun Feb 09, 2003 3:32 pm Post subject: |
|
|
[quote="useofweapons"]It is XFt/fontconfig related, as some of mu gnome libs have dependencies on freetype 1 & 2 in the same lib.
Maybe I'm misunderstanding something, but I only have freetype 2.13-r2 on this gentoo 1.2 gcc 2.95.3 system and gdm and gnome 2.2 fonts with AA and hinting are working. Although freetype 1.xx was installed much earlier and removed.
JohnY |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Jan 06, 2004 5:25 pm Post subject: |
|
|
jatf wrote: | What appears to be blocking the login are these errors: |
Except, of course, that they're not (errors) - they just report on the login process.
Check the .gnomerc-errors file instead - this *will* give you the error responsible - if it was a gnome error preventing you from logging in.
if you get a (quite common) "mkdtemp - private socket" error, you may need to:
For some reason or another emerge insists on setting this to 755, meaning only root can write to /tmp. |
|
Back to top |
|
|
|