Problems with gnome multiuser

Hi:

I’ve been using OpenSuse for quite a while now and everything had been working all right (with few adjustments here and there :).
Lately I’ve added a second user for my girlfriend and since then I found a couple of problems:

1 - Whenever I change the active user, the sound starts to fail. If I go and re-start the sound system from within YasT it comes up again (most of the time, some other times, I’m not sure what I do to get it working, just playing around with it, I guess).
2 - We connect to the internet via a wireless connection, which sometimes comes down (The router is not very good, but still works). The problem is only one user (the first one to log in) can see the NetworkManager, so if the network comes down the other user can not restart it.
3 - When I try to get my session back, I’d always get a blank screen. Lately I discovered it is simply a blank screen, not an X crash, as I thought originally, and then I simply enter my password and re-login.
4 - I changed the applications I want started when I first log in to the system, but somehow I can’t get this working. First I put QuteCom in the startup, but then I removed it from the start up, but it still gets up and running.

Thanks!

Hi!
Are you using any other desktop environments? What is your latest Gnome version? Post the output of:


zypper lr -u

.

Thanks! I think the problem now is that the second user to enter the session is not able to use the sound system. Besides, recently the volume control disappeared from my desktop. I had to add it again to the panel, not much, but still…

This is the output:

?1034h# | Alias | Name | Enabled | Refresh | URI
—±-------------------------------------------------------------------------------------±----------------------------------------------------------±--------±--------±---------------------------------------------------------------------------------------
1 | Index of /repositories/games/openSUSE_11.0 | openSUSE BuildService - Games | Yes | Yes | Index of /repositories/games/openSUSE_11.0
2 | Index of /pub/packman/suse/11.0 | Packman Repository | Yes | Yes | Index of /pub/packman/suse/11.0
3 | i386 | i386 | Yes | Yes | http://dl.google.com/linux/rpm/stable/i386
4 | Index of /repositories/drivers:/webcam/openSUSE_11.0_Update | BuildService de openSUSE - Controladores para cámaras web | Yes | Yes | Index of /repositories/drivers:/webcam/openSUSE_11.0_Update
5 | Index of /distribution/11.0/repo/debug | Repositorio principal (DEBUG) | Yes | Yes | Index of /distribution/11.0/repo/debug
6 | Index of /update/11.0 | Repositorio principal de actualizaciones | Yes | Yes | Index of /update/11.0
7 | nVidia | nVidia | Yes | Yes | http://download.nvidia.com/opensuse/11.0
8 | Index of /repositories/Virtualization:/Qemu/openSUSE_11.0 | BuildService de openSUSE - Virtualización (QEMU) | Yes | Yes | Index of /repositories/Virtualization:/Qemu/openSUSE_11.0
9 | Index of /repositories/server:/php/openSUSE_11.0 | BuildService de openSUSE - PHP | Yes | Yes | Index of /repositories/server:/php/openSUSE_11.0
10 | Index of /repositories/X11:/XGL/openSUSE_11.0 | BuildService de openSUSE - X11:XGL | Yes | Yes | Index of /repositories/X11:/XGL/openSUSE_11.0
11 | home:etrash:webapps | home:etrash:webapps | Yes | Yes | Index of /repositories/home:/etrash:/webapps/openSUSE_11.1
12 | Index of /distribution/11.0/repo/non-oss | Repositorio principal (NON-OSS) | Yes | Yes | Index of /distribution/11.0/repo/non-oss
13 | Index of /repositories/GNOME:/Community/openSUSE_11.0 | BuildService de openSUSE - GNOME:Comunidad | Yes | Yes | Index of /repositories/GNOME:/Community/openSUSE_11.0
14 | 20090513-215105 | 20090513-215105 | Yes | Yes | Index of /repositories/openSUSE:/Factory:/Contrib/openSUSE_11.1
15 | Index of /repositories/X11:/xfce/openSUSE_11.0 | BuildService de openSUSE - XFCE | Yes | Yes | Index of /repositories/X11:/xfce/openSUSE_11.0
16 | Index of /download/repo/1.0/11.0 | openSUSE Education | Yes | Yes | Index of /download/repo/1.0/11.0
17 | 11.0 - VideoLan | 11.0 - VideoLan | Yes | Yes | Index of /pub/videolan/vlc/SuSE/11.0/
18 | Main Repository (NON-OSS) | Main Repository (NON-OSS) | Yes | Yes | Index of /distribution/11.0/repo/non-oss/suse
19 | openSUSE:11.1:Update | openSUSE:11.1:Update | Yes | Yes | Index of /update/11.1
20 | Index of /repositories/Virtualization:/VirtualBox/openSUSE_11.0 | BuildService de openSUSE - Virtualización (VirtualBox) | Yes | Yes | Index of /repositories/Virtualization:/VirtualBox/openSUSE_11.0
21 | openSUSE-11.0-Updates | openSUSE-11.0-Updates | Yes | No | Index of /update/11.0
22 | Main Repository (OSS) | Main Repository (OSS) | Yes | Yes | Index of /distribution/11.0/repo/oss
23 | Index of /pub/videolan/vlc/SuSE/11.0/ | VideoLan Repository | Yes | Yes | Index of /pub/videolan/vlc/SuSE/11.0/
24 | openSUSE:Factory:Contrib | openSUSE:Factory:Contrib | Yes | Yes | Index of /repositories/openSUSE:/Factory:/Contrib/openSUSE_11.1
25 | 20090513-215039 | 20090513-215039 | Yes | Yes | Index of /repositories/openSUSE:/Factory:/Contrib/openSUSE_11.1
26 | VideoLan Repository | VideoLan Repository | Yes | Yes | Index of /pub/videolan/vlc/SuSE/11.0/
27 | Index of /repositories/Mono:/Community/openSUSE_11.0 | openSUSE BuildService - Mono:Community | Yes | Yes | Index of /repositories/Mono:/Community/openSUSE_11.0
28 | Index of /distribution/11.0/repo/oss | Repositorio principal (OSS) | Yes | Yes | Index of /distribution/11.0/repo/oss
29 | Index of /repositories/KDE:/Community/openSUSE_11.0 | BuildService de openSUSE - KDE:Comunidad | Yes | Yes | Index of /repositories/KDE:/Community/openSUSE_11.0
30 | Index of /repositories/OpenOffice.org:/STABLE/openSUSE_11.0 | BuildService de openSUSE - OpenOffice.org | Yes | Yes | Index of /repositories/OpenOffice.org:/STABLE/openSUSE_11.0
31 | 11.0 - Main Repository (OSS) | 11.0 - Main Repository (OSS) | Yes | Yes | Index of /distribution/11.0/repo/oss
32 | Index of /repositories/GNOME:/STABLE/openSUSE_11.0 | BuildService de openSUSE - GNOME:ESTABLE | Yes | Yes | Index of /repositories/GNOME:/STABLE/openSUSE_11.0
33 | Index of /repositories/KDE:/Backports/openSUSE_11.0 | BuildService de openSUSE - KDE:Adaptaciones (backports) | Yes | Yes | Index of /repositories/KDE:/Backports/openSUSE_11.0
34 | Index of /repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.0 | openSUSE BuildService - KDE4:Factory:Desktop | Yes | Yes | Index of /repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.0
35 | openSUSE-11.0-Non-Oss | openSUSE-11.0-Non-Oss | Yes | No | Index of /distribution/11.0/repo/non-oss
36 | Index of /repositories/server:/database/openSUSE_11.0 | BuildService de openSUSE - Bases de datos | Yes | Yes | Index of /repositories/server:/database/openSUSE_11.0
37 | Index of /repositories/mozilla/openSUSE_11.0 | BuildService de openSUSE - Mozilla | Yes | Yes | Index of /repositories/mozilla/openSUSE_11.0
38 | Packman Repository | Packman Repository | Yes | Yes | Index of /pub/packman/suse/11.0
39 | http://www2.ati.com/suse/11.0 | ATI Repository | Yes | Yes | http://www2.ati.com/suse/11.0
40 | openSUSE-11.0-Oss | openSUSE-11.0-Oss | Yes | No | Index of /distribution/11.0/repo/oss
41 | Index of /repositories/server:/mail/openSUSE_11.0 | BuildService de openSUSE - Servidor de correo | Yes | Yes | Index of /repositories/server:/mail/openSUSE_11.0
42 | Index of /repositories/Emulators:/Wine/openSUSE_11.0 | BuildService de openSUSE - Revisiones CVS de Wine | Yes | Yes | Index of /repositories/Emulators:/Wine/openSUSE_11.0

Jesus christ… That’s the worst zypper lr -u output i’ve ever seen. I don’t even want to touch this beast…

From the first look you have the VideoLan repo listed in there 3 times :smiley:

I am not surprised you have problems with your system:)

Ok… I don’t have a particular preference for those… could you help me get rid of the useless? Thanks!

Tell me what do You want to do on your system? What desktop environment do you want to run? (there is no need to reinstall)

42 repos heave and strain on every re-boot. Every repo is enabled for refresh. Must be a powerful system…

Mchojrin, don’t hesitate to answer :slight_smile:

Would you prefer using Gnome, KDE or other desktop environment (how would you like for the system to look like? )

What sort of applications would you like to run?

First tip:
open Software Management and install libdvdcss (that’s for playing the DVD’s), after that go back to YaST and REMOVE all repositories that contain the word videolan.

Allright. Thank you all. Let’s see. It’s a little difficult to specify my computing needs. Let’s see.

Mainly I use it to browse the net. Ocasionally I use some OpenOffice Applications. I use it to see VCDs or DVDs.

And sometimes I also use it to develop software, mostly web-based, so I use a local web server and Eclipse. I believe that would be all. And I like gnome. Thanks

Get rid of all the KDE repositiories, remove videolan repositories (read the First tip from above before), remove the graphic drivers repo that You don’t need. Disable or remove debug repo. Keep it to minimum. After above post again zypper lr -u

Hi:

Thanks. I did that but I still have a lot of repos, and I’m not sure which ones I can get rid of. Here’s the current list:

| Alias | Nombre | Activado | Actualizar | URI
—±------------------------------------------------------------------------------------±----------------------------------------------------------±---------±-----------±---------------------------------------------------------------------------------------
1 | Index of /repositories/games/openSUSE_11.0 | openSUSE BuildService - Games | Si | Si | Index of /repositories/games/openSUSE_11.0
2 | Index of /pub/packman/suse/11.0 | Packman Repository | Si | Si | Index of /pub/packman/suse/11.0
3 | i386 | i386 | Si | Si | http://dl.google.com/linux/rpm/stable/i386
4 | Index of /repositories/drivers:/webcam/openSUSE_11.0_Update | BuildService de openSUSE - Controladores para cámaras web | Si | Si | Index of /repositories/drivers:/webcam/openSUSE_11.0_Update
5 | Index of /distribution/11.0/repo/debug | Repositorio principal (DEBUG) | Si | Si | Index of /distribution/11.0/repo/debug
6 | Index of /update/11.0 | Repositorio principal de actualizaciones | Si | Si | Index of /update/11.0
7 | nVidia | nVidia | Si | Si | http://download.nvidia.com/opensuse/11.0
8 | Index of /repositories/Virtualization:/Qemu/openSUSE_11.0 | BuildService de openSUSE - Virtualización (QEMU) | Si | Si | Index of /repositories/Virtualization:/Qemu/openSUSE_11.0
9 | Index of /repositories/server:/php/openSUSE_11.0 | BuildService de openSUSE - PHP | Si | Si | Index of /repositories/server:/php/openSUSE_11.0
10 | Index of /repositories/X11:/XGL/openSUSE_11.0 | BuildService de openSUSE - X11:XGL | Si | Si | Index of /repositories/X11:/XGL/openSUSE_11.0
11 | home:etrash:webapps | home:etrash:webapps | Si | Si | Index of /repositories/home:/etrash:/webapps/openSUSE_11.1
12 | Index of /distribution/11.0/repo/non-oss | Repositorio principal (NON-OSS) | Si | Si | Index of /distribution/11.0/repo/non-oss
13 | Index of /repositories/GNOME:/Community/openSUSE_11.0 | BuildService de openSUSE - GNOME:Comunidad | Si | Si | Index of /repositories/GNOME:/Community/openSUSE_11.0
14 | 20090513-215105 | 20090513-215105 | Si | Si | Index of /repositories/openSUSE:/Factory:/Contrib/openSUSE_11.1
15 | Index of /repositories/X11:/xfce/openSUSE_11.0 | BuildService de openSUSE - XFCE | Si | Si | Index of /repositories/X11:/xfce/openSUSE_11.0
16 | Index of /download/repo/1.0/11.0 | openSUSE Education | Si | Si | Index of /download/repo/1.0/11.0
17 | Main Repository (NON-OSS) | Main Repository (NON-OSS) | Si | Si | Index of /distribution/11.0/repo/non-oss/suse
18 | openSUSE:11.1:Update | openSUSE:11.1:Update | Si | Si | Index of /update/11.1
19 | Index of /repositories/Virtualization:/VirtualBox/openSUSE_11.0 | BuildService de openSUSE - Virtualización (VirtualBox) | Si | Si | Index of /repositories/Virtualization:/VirtualBox/openSUSE_11.0
20 | openSUSE-11.0-Updates | openSUSE-11.0-Updates | Si | No | Index of /update/11.0
21 | Main Repository (OSS) | Main Repository (OSS) | Si | Si | Index of /distribution/11.0/repo/oss
22 | openSUSE:Factory:Contrib | openSUSE:Factory:Contrib | Si | Si | Index of /repositories/openSUSE:/Factory:/Contrib/openSUSE_11.1
23 | 20090513-215039 | 20090513-215039 | Si | Si | Index of /repositories/openSUSE:/Factory:/Contrib/openSUSE_11.1
24 | Index of /repositories/Mono:/Community/openSUSE_11.0 | openSUSE BuildService - Mono:Community | No | No | Index of /repositories/Mono:/Community/openSUSE_11.0
25 | Index of /distribution/11.0/repo/oss | Repositorio principal (OSS) | Si | Si | Index of /distribution/11.0/repo/oss
26 | Index of /repositories/OpenOffice.org:/STABLE/openSUSE_11.0 | BuildService de openSUSE - OpenOffice.org | Si | Si | Index of /repositories/OpenOffice.org:/STABLE/openSUSE_11.0
27 | 11.0 - Main Repository (OSS) | 11.0 - Main Repository (OSS) | Si | Si | Index of /distribution/11.0/repo/oss
28 | Index of /repositories/GNOME:/STABLE/openSUSE_11.0 | BuildService de openSUSE - GNOME:ESTABLE | Si | Si | Index of /repositories/GNOME:/STABLE/openSUSE_11.0
29 | openSUSE-11.0-Non-Oss | openSUSE-11.0-Non-Oss | Si | No | Index of /distribution/11.0/repo/non-oss
30 | Index of /repositories/server:/database/openSUSE_11.0 | BuildService de openSUSE - Bases de datos | No | No | Index of /repositories/server:/database/openSUSE_11.0
31 | Index of /repositories/mozilla/openSUSE_11.0 | BuildService de openSUSE - Mozilla | Si | Si | Index of /repositories/mozilla/openSUSE_11.0
32 | Packman Repository | Packman Repository | Si | Si | Index of /pub/packman/suse/11.0
33 | http://www2.ati.com/suse/11.0 | ATI Repository | Si | Si | http://www2.ati.com/suse/11.0
34 | openSUSE-11.0-Oss | openSUSE-11.0-Oss | Si | No | Index of /distribution/11.0/repo/oss
35 | Index of /repositories/server:/mail/openSUSE_11.0 | BuildService de openSUSE - Servidor de correo | No | No | Index of /repositories/server:/mail/openSUSE_11.0
36 | Index of /repositories/Emulators:/Wine/openSUSE_11.0 | BuildService de openSUSE - Revisiones CVS de Wine | No | No | Index of /repositories/Emulators:/Wine/openSUSE_11.0

TBH I would go back to Oss, Non-Oss, Update and packman, nvidia or ati and probably the webcam.

You have 3 DE’s so if gnome is the choice I would remove the others. Though I would be inclined to suggest prune it right back to the first few I suggested pull everything back to those repo’s using zypper dup.(Some would recommend update unconditionally I prefer repo integrity myself)

Then add back the few you need, you have many build service repos, and tbh I reckon 95% of people will need little more than the first few I mentioned. i.e I suspect most if not all the games ones are on Packman, mono is probably rolling development if your field is mono related development then perhaps I can see a use etc…etc…

I think you’ve been one click happy, now I would suggest search with your usual suspects first with the weapon of choice zypper, yast sw search etc. Then if you can’t find it consider a one click install, and then it is highly likely you need it updating so just do a one off install, uncheck keep repos.

So all in all really only you can decide what you want to keep or don’t but my opinion is less is less hassle.

Ok, I did that and now, here is the output of the command:

2 | i386 | i386 | Yes | Yes | http://dl.google.com/linux/rpm/stable/i386
3 | Index of /repositories/drivers:/webcam/openSUSE_11.0_Update | BuildService de openSUSE - Controladores para cámaras web | Yes | Yes | Index of /repositories/drivers:/webcam/openSUSE_11.0_Update
4 | nVidia | nVidia | Yes | Yes | http://download.nvidia.com/opensuse/11.0
5 | Index of /distribution/11.0/repo/non-oss | Repositorio principal (NON-OSS) | Yes | Yes | Index of /distribution/11.0/repo/non-oss
6 | Main Repository (NON-OSS) | Main Repository (NON-OSS) | Yes | Yes | Index of /distribution/11.0/repo/non-oss/suse
7 | openSUSE:11.1:Update | openSUSE:11.1:Update | Yes | Yes | Index of /update/11.1
8 | openSUSE-11.0-Updates | openSUSE-11.0-Updates | Yes | No | Index of /update/11.0
9 | Main Repository (OSS) | Main Repository (OSS) | Yes | Yes | Index of /distribution/11.0/repo/oss
10 | Index of /distribution/11.0/repo/oss | Repositorio principal (OSS) | Yes | Yes | Index of /distribution/11.0/repo/oss
11 | 11.0 - Main Repository (OSS) | 11.0 - Main Repository (OSS) | Yes | Yes | Index of /distribution/11.0/repo/oss
12 | Index of /repositories/GNOME:/STABLE/openSUSE_11.0 | BuildService de openSUSE - GNOME:ESTABLE | No | Yes | Index of /repositories/GNOME:/STABLE/openSUSE_11.0
13 | openSUSE-11.0-Non-Oss | openSUSE-11.0-Non-Oss | Yes | No | Index of /distribution/11.0/repo/non-oss
14 | Index of /repositories/mozilla/openSUSE_11.0 | BuildService de openSUSE - Mozilla | Yes | Yes | Index of /repositories/mozilla/openSUSE_11.0
15 | Packman Repository | Packman Repository | Yes | Yes | Index of /pub/packman/suse/11.0
16 | http://www2.ati.com/suse/11.0 | ATI Repository | Yes | Yes | http://www2.ati.com/suse/11.0
17 | openSUSE-11.0-Oss | openSUSE-11.0-Oss | Yes | No | Index of /distribution/11.0/repo/oss

I did a zypper dup but I’m still having problems with the sound…

Reference your repositories, I typically recommend users keep only 4 repositories. Which means keep only OSS, Non-OSS, Update and Packman.

The reason for keeping such a small number is OSS, Non-OSS, and Update have the most testing (and hence highest quality) and Packman provides the most multimedia and has a reasonable reputation for quality. IMHO one should add more repositories (repos) if and only if they know how to identify problems resulting from having multiple repos, and know how to fix the problems.

In particular, applications packaged (and hosted by) videolan are known to have problems with Packman repos packaged applications and hence I only recommend libdvdcss from videolan, and after that I recommend videolan repos be removed. If you already have a mix of apps from videolan and packman, it could be that mix is causing you some problems.

What is your criteria for saying your sound system has stopped? Did you try EACH (not just one) of the 3 sound tests in the audio troubleshooting guide (ie the 2 speaker-tests and the alsa website test)? SDB:AudioTroubleshooting - openSUSE
If anyone of those work then your sound still functions.

One known problem with Linux is an audio application can seize the sound api and not let it go, such that other applications are not able to access the sound driver. One of the reasons why pulse audio is being implemented is to attempt to work around that problem, however the pulse audio implementation is fraught with bugs and it still does not reliably provide such a capability.

If you wish to see what application is using your sound device, you can type in a konsole or terminal: lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/* Run that at different times when various media applications are playing, and also when none are playing, and you will learn how to identify which application has “seized” your audio. Please do NOT post the output of that here, as I am not interested in looking at it.

The alsa api (as opposed to esd, arts … ) has the capability of sharing audio between applications, and it is possible by switching the audio output module to the alsa API in your various multimedia applications may help a bit, but it may not help at all.

IMHO the best thing to do, is when you switch users, is each user before loging out/shutting down should shut down ALL multimedia applications (in effect releasing the sound driver) and then when the new user’s desktop starts up, the sound driver should be available.

Finally, reference restarting your sound driver, rather than have to go to YaST to do this, a simple way is to type su -c ‘rcalsasound restart’ and enter root password when prompted and that should restart the alsa sound driver, forcing applications to let go the sound driver. Then one can restart one’s mixer and audio should work. One could even put icons on their desktop for sending that command, and for restarting the mixer, if one wishes not to type this in.

One can read up on openSUSE Linux sound concepts here: Sound-concepts - openSUSE