Fix Gnome Session Saving Problems

Written by sean on February 21, 2008 – 12:30 pm -

ubuntulogo.png

While I was setting up Timevault, I noticed something really weird. When I added a application to start on login (System->Preferences->Sessions), it showed up as added, but was gone after I logged out and logged back in.

screenshot-sessions.png

So when I ran it (gnome-session-properties) through the terminal, everything added fine, but I got this error in stdout:
screenshot-seandarkstar8.png
Suddenly it all made sense. Somehow, the permissions on the autostart directory got messed up and it wasn’t allowing my to write to it. So the quickest way to change it is through the command line using chown and chgrp. Initially you can see the permissions on where the start up files are kept (~username/.config/autostart) are owned and writeable only by root.

Here is how we change that :
screenshot-seandarkstar8-config-1.png
You must have sudo permissions to change file ownerships.

Here are some pages for chown and chgrp for more detail on those commands.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Facebook
  • Fark

Tags: , , ,
Posted in Linux, Tech, Tip |

Leave a Comment

You must be logged in to post a comment.

RSS

  • View Sean Lavelle's profile on LinkedIn
    Add to Technorati Favorites
    My Resume
    WebDOCPDF
    RTFODTTXT
    powered by emurse

  •  

    February 2008
    M T W T F S S
    « Jan   Mar »
     123
    45678910
    11121314151617
    18192021222324
    2526272829