FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-12-2010, 05:56 PM
sktsee
 
Default Submited bug. Please review: User Switcher crashes on user B, user A can work only in text mode.

On Wed, 12 May 2010 01:33:00 +0000, Juan R. de Silva wrote:

> I've just submitted a bug in Launchpad.
>
> https://bugs.launchpad.net/ubuntu/+bug/579061
>
> Please review it, and if anybody knows how to get out of situation
> without a complete re-install, I would appreciate your help.
>

From what you wrote in your bug report, user B has no issues when logging
in, correct? If that's the case, then it's not necessary to re-install
anything because the problem is not with the system, but something within
user A's configuration, which means it's highly likely that it's local to
his home directory. The most drastic measure you should have to take is
to remove/rename some configuration related directories that will reset
user A's program settings back to their defaults once he logs out and
back in again.

Gnome app configs and data are stored in legacy and newer freedesktop.org
specified directories:

~/.gnome
~/.gnome2
~/.config
~/.cache
~/.local

Apps that use gconf managed settings store them in

~/.gconf
~/.gconfd

And then apps may store some of their settings within their own
directories, i.e. evolution in ~/.evolution.

Probably missed a few, but generally those are places to look in when
trying to troubleshoot certain problems with non-starting or crashing
apps.

If you want to try a few shot in the dark solutions, do the following in
a vt before logging in to a Gnome session. Try logging in after doing
each one.

1. Delete ~/.gconfd/saved_state

2. Rename ~/.gconf/apps/panel to ~/.gconf/apps/panel-backup. This will
cause your panels and panel objects settings to be reset to their
installation defaults upon login.

3. If the above doesn't work, then rename ~/.gconf to ~/.gconf-backup.
This resets everything gconf-wise to installation defaults.

4. Check file perms for configs. Use find to see if any config files are
owned by root, or user B.

$ cd ~
$ find . ! -user <user A's username>
Any config file or directory (those starting with ".") found and not
owned by user A should be examined.

If none of the above work, then login as user A and then switch out to a
vt and examine ~/.xession-errors file. Hopefully, there will be some
indication in that file to help narrow down where the problem lies. Post
any relevant error messages in that file to the list and go from there.

--
sktsee


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-13-2010, 02:36 AM
"Juan R. de Silva"
 
Default Submited bug. Please review: User Switcher crashes on user B, user A can work only in text mode.

On Wed, 12 May 2010 17:56:12 +0000, sktsee wrote:

> On Wed, 12 May 2010 01:33:00 +0000, Juan R. de Silva wrote:
>
>> I've just submitted a bug in Launchpad.
>>
>> https://bugs.launchpad.net/ubuntu/+bug/579061
>>
>> Please review it, and if anybody knows how to get out of situation
>> without a complete re-install, I would appreciate your help.
>>
>>
> From what you wrote in your bug report, user B has no issues when
> logging in, correct?

Absolutely so. User B can use the system as normal at any time. User A is
out of luck. He can actually log in, but then the only way to work with
the system for him is to switch to one of the tty consoles and to work in
text mode.

> If that's the case, then it's not necessary to
> re-install anything because the problem is not with the system, but
> something within user A's configuration, which means it's highly likely
> that it's local to his home directory.

I think so too. But read further...

> The most drastic measure you
> should have to take is to remove/rename some configuration related
> directories that will reset user A's program settings back to their
> defaults once he logs out and back in again.

> Gnome app configs and data are stored in legacy and newer
> freedesktop.org specified directories:
>
> ~/.gnome
> ~/.gnome2
> ~/.config
> ~/.cache
> ~/.local
>
> Apps that use gconf managed settings store them in
>
> ~/.gconf
> ~/.gconfd
>
> And then apps may store some of their settings within their own
> directories, i.e. evolution in ~/.evolution.
>
> Probably missed a few, but generally those are places to look in when
> trying to troubleshoot certain problems with non-starting or crashing
> apps.
>
> If you want to try a few shot in the dark solutions, do the following in
> a vt before logging in to a Gnome session. Try logging in after doing
> each one.
>
> 1. Delete ~/.gconfd/saved_state
>
> 2. Rename ~/.gconf/apps/panel to ~/.gconf/apps/panel-backup. This will
> cause your panels and panel objects settings to be reset to their
> installation defaults upon login.
>
> 3. If the above doesn't work, then rename ~/.gconf to ~/.gconf-backup.
> This resets everything gconf-wise to installation defaults.
>
> 4. Check file perms for configs. Use find to see if any config files are
> owned by root, or user B.
>
> $ cd ~
> $ find . ! -user <user A's username>
> Any config file or directory (those starting with ".") found and not
> owned by user A should be examined.
>
> If none of the above work, then login as user A and then switch out to a
> vt and examine ~/.xession-errors file. Hopefully, there will be some
> indication in that file to help narrow down where the problem lies. Post
> any relevant error messages in that file to the list and go from there.

Tried absolutely all you suggested and probably a couple of things more
(even do not remember now all of them) - nothing helped. I get frustrated
and restored the system to Hardy.

Good for me I imaged the entire system before upgrade. What happened is a
real mystery... I think the bug is quite dangerous though.

Just think about it - user B without any administrative privileges while
working within its own environment was able to completely corrupt another
user's environment. Isn't it scary? Everything was supposed to be
confined with user's B home directory, wasn't it?

On my laptop I upgrade every 6 months. I'm willing to experiment and I do
not mind things of a kind happen there. But IMHO LTS release should not
go out with a bug of a kind. Looks like people are right saying fixed
schedule hurts Ubuntu more than benefits it.

Well, I've learnt my lesson - Ubuntu LTS is not Debian Stable, never
upgrade to it at an early stage.

Thanks for reply. I thought no one would take a ball :-).



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-13-2010, 02:57 AM
Christopher Chan
 
Default Submited bug. Please review: User Switcher crashes on user B, user A can work only in text mode.

On Thursday, May 13, 2010 10:42 AM, Johnneylee Rollins wrote:
> On Wed, May 12, 2010 at 7:36 PM, Juan R. de Silva
> <juan.r.d.silva@gmail.com> wrote:
> <snip>
>> On my laptop I upgrade every 6 months. I'm willing to experiment and I do
>> not mind things of a kind happen there. But IMHO LTS release should not
>> go out with a bug of a kind. Looks like people are right saying fixed
>> schedule hurts Ubuntu more than benefits it.
>>
>> Well, I've learnt my lesson - Ubuntu LTS is not Debian Stable, never
>> upgrade to it at an early stage.
>>
>> Thanks for reply. I thought no one would take a ball :-).
>
> You are confusing the label LTS with stable and bug-free. It literally
> means Long Term Support. That would imply that the support for that
> given version will be longer than that of the others. It has no
> connotation around "Bug-free" or "Stable".
>
> If you need a completely stable system, you should try the LTS and be
> careful with what you do. If that fails you, you should try debian
> stable. I hope you find what you need.
>
>

Is it me or does your last paragraph there sound rather ironic?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-13-2010, 03:45 AM
chris
 
Default Submited bug. Please review: User Switcher crashes on user B, user A can work only in text mode.

> >
>
> Is it me or does your last paragraph there sound rather ironic?
>

However it is sound advice, and I am already moving my client base to
Debian stable.
cheers the kiwi


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-13-2010, 03:51 AM
Christopher Chan
 
Default Submited bug. Please review: User Switcher crashes on user B, user A can work only in text mode.

On Thursday, May 13, 2010 11:45 AM, chris wrote:
>
>>>
>>
>> Is it me or does your last paragraph there sound rather ironic?
>>
>
> However it is sound advice, and I am already moving my client base to
> Debian stable.
> cheers the kiwi
>
>

Yes, yes, but it is not helping the Ubuntu cause which message is what I
am trying to get through to Mr. Ethereal.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-13-2010, 04:38 AM
chris
 
Default Submited bug. Please review: User Switcher crashes on user B, user A can work only in text mode.

On Thu, 2010-05-13 at 11:51 +0800, Christopher Chan wrote:
> On Thursday, May 13, 2010 11:45 AM, chris wrote:
> >
> >>>
> >>
> >> Is it me or does your last paragraph there sound rather ironic?
> >>
> >
> > However it is sound advice, and I am already moving my client base to
> > Debian stable.
> > cheers the kiwi
> >
> >
>
> Yes, yes, but it is not helping the Ubuntu cause which message is what I
> am trying to get through to Mr. Ethereal.
>
I appreciate that, but I haven given up.
you can not change ideas by rational argument.

cheers the kiwi


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-14-2010, 04:00 AM
Christopher Chan
 
Default Submited bug. Please review: User Switcher crashes on user B, user A can work only in text mode.

On Friday, May 14, 2010 09:14 AM, Tom H wrote:
> On Wed, May 12, 2010 at 10:57 PM, Christopher Chan
> <christopher.chan@bradbury.edu.hk> wrote:
>> On Thursday, May 13, 2010 10:42 AM, Johnneylee Rollins wrote:
>>
>>> You are confusing the label LTS with stable and bug-free. It literally
>>> means Long Term Support. That would imply that the support for that
>>> given version will be longer than that of the others. It has no
>>> connotation around "Bug-free" or "Stable".
>>>
>>> If you need a completely stable system, you should try the LTS and be
>>> careful with what you do. If that fails you, you should try debian
>>> stable. I hope you find what you need.
>>
>> Is it me or does your last paragraph there sound rather ironic?
>
> Ironic or not, even though an LTS-badged release seems to mean "a
> longer period of security updates than other Ubuntu releases" this is
> not what Canonical/Ubuntu means.
>
> A developer replied to a query about having 2.6.33 included in 10.04
> by saying that they were being more conservative than they would
> otherwise be because 10.04 was an LTS release. So Canonical's intent,
> even though it does not slap a "stable" on the name is that an LTS
> release is a stable one - or at least a more stable one than a non-LTS
> release.
>

Well, I, for one, am glad that that developer does sense the need for
stability notwithstanding the opinions of certain overly righteous
individuals on this list. Now if all the developers can take the same
stance and do the legwork on their packages, a lot of the sorry mess we
see reported each release won't take place.

But I don't what to do for those that have not received any love from
their maintainer in a while because things have mainly been working
until some big change comes up that they missed like switching from init
to Upstart - like the daemontools package. I guess you can't complain
too much for something like that that is not in the main repo though.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-14-2010, 04:57 AM
chris
 
Default Submited bug. Please review: User Switcher crashes on user B, user A can work only in text mode.

On Fri, 2010-05-14 at 12:00 +0800, Christopher Chan wrote:
> On Friday, May 14, 2010 09:14 AM, Tom H wrote:
> > On Wed, May 12, 2010 at 10:57 PM, Christopher Chan
> > <christopher.chan@bradbury.edu.hk> wrote:
> >> On Thursday, May 13, 2010 10:42 AM, Johnneylee Rollins wrote:
> >>
> >>> You are confusing the label LTS with stable and bug-free. It literally
> >>> means Long Term Support. That would imply that the support for that
> >>> given version will be longer than that of the others. It has no
> >>> connotation around "Bug-free" or "Stable".
> >>>
<snip>
> But I don't what to do for those that have not received any love from
> their maintainer in a while because things have mainly been working
> until some big change comes up that they missed like switching from init
> to Upstart - like the daemontools package. I guess you can't complain
> too much for something like that that is not in the main repo though.
>
Which does not however mitigate what I consider the main issues, in the
demonic race to have a new release every 6 months.

I still maintain that this is the basis of the issues we all face. It
is easy to say that we should file bug reports etc, but when you are
looking after hundreds of machines, the problems of normal maintenance
are enough with out "immature distros" being released.
Just my personal take on the issue,
Cheers the kiwi


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-14-2010, 05:12 AM
Janne Jokitalo
 
Default Submited bug. Please review: User Switcher crashes on user B, user A can work only in text mode.

On Fri, May 14, 2010 at 04:57:24PM +1200, chris wrote:
> On Fri, 2010-05-14 at 12:00 +0800, Christopher Chan wrote:
> > On Friday, May 14, 2010 09:14 AM, Tom H wrote:
> > > On Wed, May 12, 2010 at 10:57 PM, Christopher Chan
> > > <christopher.chan@bradbury.edu.hk> wrote:
> > >> On Thursday, May 13, 2010 10:42 AM, Johnneylee Rollins wrote:
> > >>
> > >>> You are confusing the label LTS with stable and bug-free. It literally
> > >>> means Long Term Support. That would imply that the support for that
> > >>> given version will be longer than that of the others. It has no
> > >>> connotation around "Bug-free" or "Stable".
> > >>>
> <snip>
> > But I don't what to do for those that have not received any love from
> > their maintainer in a while because things have mainly been working
> > until some big change comes up that they missed like switching from init
> > to Upstart - like the daemontools package. I guess you can't complain
> > too much for something like that that is not in the main repo though.
> >
> Which does not however mitigate what I consider the main issues, in the
> demonic race to have a new release every 6 months.
>
> I still maintain that this is the basis of the issues we all face. It
> is easy to say that we should file bug reports etc, but when you are
> looking after hundreds of machines, the problems of normal maintenance
> are enough with out "immature distros" being released.
> Just my personal take on the issue,

When you're looking after hundreds of machines, you probably don't want to
upgrade to the latest release right after release date anyhow. Just sayin'...


--
Jaska


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-14-2010, 05:50 AM
chris
 
Default Submited bug. Please review: User Switcher crashes on user B, user A can work only in text mode.

On Fri, 2010-05-14 at 08:12 +0300, Janne Jokitalo wrote:
> On Fri, May 14, 2010 at 04:57:24PM +1200, chris wrote:
<snip>
> When you're looking after hundreds of machines, you probably don't want to
> upgrade to the latest release right after release date anyhow. Just sayin'...
>
>
> --
> Jaska
>
>
I quite agree, but when you are faced with lts releases that are buggy,
you are left with only one option debian stable
cheers the kiwi


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 05:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org