You are not logged in.

#1 2008-06-21 16:38:23

RAH
Member
Registered: 2008-06-20
Posts: 205

[SOLVED] Broken Gnome

Hello,

Everything was going well and I installed a few packages etc. After rebooting when I run gnome-session I get the following errors:

Gtk-WARNING **:
locale not supported by C library
using the fallback 'C' locale

Gtk-WARNING **: cannot open display:

When attempting to run x it gives this error:

cannot execute /usr/bin/gdm

After checking, this path doesn't exist.

I have tried pacman -S gdm and it doesn't make any difference. That path still doesn't exist. Xorg was installed.

How do I resolve this? I'm running Arch x64.

Thanks.

Last edited by RAH (2008-06-22 21:32:08)

Offline

#2 2008-06-21 16:47:56

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Broken Gnome

http://wiki.archlinux.org/index.php/Locale
edit /etc/locale.gen and then run locale-gen

gdm is in /usr/sbin/gdm.

Last edited by wonder (2008-06-21 16:48:41)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2008-06-21 16:59:01

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: [SOLVED] Broken Gnome

Hello,

You probably have some .pacnew files in /etc that need to be merged.  You want to replace the current config files with the .pacnew ones (adding in all of your changes).  Also check for .pacsave files.  Those will have your changes, that you'll want to merge into the config files.

Confused?  See 'man pacman' (Handling Config Files section) for more info.

Offline

#4 2008-06-21 17:16:59

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Broken Gnome

wonder wrote:

http://wiki.archlinux.org/index.php/Locale
edit /etc/locale.gen and then run locale-gen

gdm is in /usr/sbin/gdm.

What exactly do I edit in /etc/locale.gen?  It looks fine to me.

How do I set the correct location for gdm?

tigrmesh wrote:

Hello,

You probably have some .pacnew files in /etc that need to be merged.  You want to replace the current config files with the .pacnew ones (adding in all of your changes).  Also check for .pacsave files.  Those will have your changes, that you'll want to merge into the config files.

Confused?  See 'man pacman' (Handling Config Files section) for more info.

I'm extremely confused now lol, had a look at the manual and I still don't understand what I should be doing.  Sorry!

Offline

#5 2008-06-21 17:44:48

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: [SOLVED] Broken Gnome

locale:  http://wiki.archlinux.org/index.php/Configuring_locales.

pacsave files:  I'll repeat what i wrote: 

You probably have some .pacnew files in /etc that need to be merged.  You want to replace the current config files with the .pacnew ones (adding in all of your changes).  Also check for .pacsave files.  Those will have your changes, that you'll want to merge into the config files.

Btw:  welcome to the Arch forums!

Last edited by tigrmesh (2008-06-21 17:45:27)

Offline

#6 2008-06-21 17:45:03

JeremyTheWicked
Member
From: Poland
Registered: 2008-05-23
Posts: 193

Re: [SOLVED] Broken Gnome

How are you trying to run X? If you want to use gdm you should add it to the end of the daemons list in rc.conf. If you're using startx you shouldn't rund gdm directly.


arch(3) adj amused because you think you understand something better than other people ;P

Offline

#7 2008-06-21 19:24:30

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Broken Gnome

tigrmesh wrote:

locale:  http://wiki.archlinux.org/index.php/Configuring_locales.

pacsave files:  I'll repeat what i wrote: 

You probably have some .pacnew files in /etc that need to be merged.  You want to replace the current config files with the .pacnew ones (adding in all of your changes).  Also check for .pacsave files.  Those will have your changes, that you'll want to merge into the config files.

Btw:  welcome to the Arch forums!

OK,  I understand now.  I manually attempted to merge the changes from the pacnew files.  Didn't see any pacsave.  I'm sure there is a much better way of merging?  There is no difference after doing so.  Also I noticed when running gdm I get "The greeter application appears to be crashing.  Attempting to use a different one" , then it stays in a loop for 5 attempts.  I just hope I haven't done more damage by attempting to manually merge the changes using a pen and a scrap of paper lol.  I really do appreciate your help with this!  Thanks again.

Offline

#8 2008-06-21 20:03:47

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Broken Gnome

Perhaps I should re-install Gnome - would I lose any packages I installed if I did this?  I'm guessing not as they are kept seperate right?

Offline

#9 2008-06-21 22:22:15

dryhte
Member
Registered: 2005-06-29
Posts: 34

Re: [SOLVED] Broken Gnome

I've got the same issue.

I installed Core (latest release, 2007.08-2), and updated it, and then I started to get a bunch of 'locale' error messages.

Is there a better way of installing? I don't mind reinstalling with a 'beta' iso, as long as I'd be assured of having a system that works without any problems. I'm not totally sure of what was changed with regard to locales, but this is the first time ever that I see them as an issue in linux smile (btw - I don't use gnome, I installed xfce)

Last edited by dryhte (2008-06-21 22:22:42)

Offline

#10 2008-06-21 22:28:33

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Broken Gnome


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2008-06-21 23:49:21

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Broken Gnome

I'm still not quite sure how the locale topic is related to my issue.  Any other suggestions before I re-install?

Offline

#12 2008-06-22 00:05:28

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: [SOLVED] Broken Gnome

dryhte wrote:

Is there a better way of installing? I don't mind reinstalling with a 'beta' iso, as long as I'd be assured of having a system that works without any problems.

The 2008.04-rc isos work really good, normally. You can get them on your favourite mirror in the iso directory.

@Topic

How exactly are you trying to run gnome? Can you post your ~/.xinitrc?

Offline

#13 2008-06-22 03:34:09

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: [SOLVED] Broken Gnome

One thing I found when doing the install IS that as long as I opened up and checked the locals (can't recall what it was in the list though it's about 7 or 8th down - it's the part that makes you look at the config/select a mirror etc. that page) when I EXITED some locals files were written... I think that's why i no longer get ANY locale errors...

Offline

#14 2008-06-22 09:57:40

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [SOLVED] Broken Gnome

JeremyTheWicked wrote:

How are you trying to run X? If you want to use gdm you should add it to the end of the daemons list in rc.conf. If you're using startx you shouldn't rund gdm directly.

Actually it's better to boot to runlevel 5 directly and start it that way via inittab.


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#15 2008-06-22 10:03:01

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Broken Gnome

Garns wrote:

How exactly are you trying to run gnome? Can you post your ~/.xinitrc?

My ~/.xinitrc contains a simple "exec gnome-session".  However that's another issue - for some reason that file keeps going missing and I have to re-create it.  However the same issue persists even when the file is there.

Last edited by RAH (2008-06-22 12:44:49)

Offline

#16 2008-06-22 12:42:42

allbluedream
Member
Registered: 2008-04-06
Posts: 155

Re: [SOLVED] Broken Gnome

I probably encountered the same problem, but it was gone after a reboot...

Offline

#17 2008-06-22 14:15:41

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Broken Gnome

Fixed it - inittab referenced /bin/ instead of /sbin/ and / partition was full.

Offline

#18 2008-06-22 19:43:17

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: [SOLVED] Broken Gnome

Would you please mark this thread as solved?  (edit your first post)  Thanks.

Offline

Board footer

Powered by FluxBB