You are not logged in.

#1 2011-02-16 19:48:44

skymera
Member
From: UK
Registered: 2008-04-28
Posts: 4

GNOME Not Saving Settings

Hi all,

Been a Linux user for 4 years and decided to install Arch. Must say, I'm very impressed!

But a few things have got me puzzled and the main one is that Gnome doesn't seen to be remembering my settings nor do I have the "shutdown" menu under "System".

Here is my /etc/inittab:

#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)    Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

#rc::sysinit:/etc/rc.sysinit
#rs:S1:wait:/etc/rc.single
#rm:2345:wait:/etc/rc.multi
#rh:06:wait:/etc/rc.shutdown
#su:S:wait:/sbin/sulogin -p

# use once instead of wait
rc::sysinit:/etc/rc.sysinit
rs:S1:once:/etc/rc.single
rm:2345:once:/etc/rc.multi
rh:06:once:/etc/rc.shutdown
su:S:once:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/mingetty --autologin scott tty1 linux
#c2:2345:respawn:/sbin/mingetty tty1 linux
c2:2345:respawn:/sbin/mingetty tty2 linux
c3:2345:respawn:/sbin/mingetty tty3 linux
#c4:2345:respawn:/sbin/mingetty -8 38400 tty4 linux
#c5:2345:respawn:/sbin/mingetty -8 38400 tty5 linux
#c6:2345:respawn:/sbin/mingetty -8 38400 tty6 linux

# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
#x:45:once:/bin/su scott -l -c "/bin/bash --login -c startx >/dev/null 2>&1"

# End of file

And here is my ~/.xinitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

exec ck-launch-session gnome-session

# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

And my ~/.bashrc

# Check for an interactive session
[ -z "$PS1" ] && return

if [[ -z $DISPLAY && $(tty) = /dev/tty1 ]]; then
  startx
  # Could use xinit instead of startx
  #exec xinit -- /usr/bin/X -nolisten tcp
fi

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

complete -cf sudo

I followed the guide on the Arch wiki for auto login and automatic X and it should be saving my GNOME settings but it doesn't.

Any help much appreciated.

Offline

#2 2011-02-17 05:42:22

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: GNOME Not Saving Settings

The shutdown issue might be because you're using `startx` instead of `exec startx`, ck-list-sessions will probably show that you aren't authorized as a local user right now.

The GNOME settings issue could be because you ran stuff with sudo and root owns config files (so gnome can't write to them). You can can fix that with a quick `chown -R`, but there are other reasons it could be happening so imo you are better off just removing or moving the current .gnome2 and .gconf dirs and seeing if the problem persists with a fresh start.

Last edited by thestinger (2011-02-17 05:44:16)

Offline

Board footer

Powered by FluxBB