no volume icon after creating new user acct
-
- White ninja
- Posts: 15
- Joined: 22 Apr 2015, 14:55
- Distribution: Porteus-v3.1 / Puppy Linux
- Location: Big Blue
no volume icon after creating new user acct
Greetings all,
Using XFCE build, copy2ram, no save file, and no cheat codes
Following this process:
- system logs in a guest
- logout
- login as root
- create new user (xyz) in terminal
- copy all files from /home/guest to /home/xyz (including hidden files)
- chown -R xyz /home/xyz
- logout
- login as xyz
Now there is no volumeicon in the system notification area. Volumeicon is not shown in task manager.
Attempting to execute from terminal results in this error message:
volumeicon: alsa_backend.c:86: asound_get_volume: Assertion 'm_elem !=((void *)0)' failed.
Aborted
Login out and back in as either root or guest and the volumeicon is running normally...
Any ideas on how to get the volumeicon back under user xyz??
Using XFCE build, copy2ram, no save file, and no cheat codes
Following this process:
- system logs in a guest
- logout
- login as root
- create new user (xyz) in terminal
- copy all files from /home/guest to /home/xyz (including hidden files)
- chown -R xyz /home/xyz
- logout
- login as xyz
Now there is no volumeicon in the system notification area. Volumeicon is not shown in task manager.
Attempting to execute from terminal results in this error message:
volumeicon: alsa_backend.c:86: asound_get_volume: Assertion 'm_elem !=((void *)0)' failed.
Aborted
Login out and back in as either root or guest and the volumeicon is running normally...
Any ideas on how to get the volumeicon back under user xyz??
-
- Samurai
- Posts: 134
- Joined: 30 Apr 2015, 12:00
- Distribution: XFCE Porteus Desktop 3.1 64bit
- Location: Moscow, Russia
Re: no volume icon after creating new user acct
there are guest user and root user, i dont need to create any specific users to use this good OS, i just log into guest user or sometimes into root user
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: no volume icon after creating new user acct
Furthermore, some scripts are hard coded to look for only these two users.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- White ninja
- Posts: 15
- Joined: 22 Apr 2015, 14:55
- Distribution: Porteus-v3.1 / Puppy Linux
- Location: Big Blue
Re: no volume icon after creating new user acct
So does that mean that there is no solution to this problem?
- libernux
- White ninja
- Posts: 28
- Joined: 01 Nov 2011, 17:36
- Distribution: porteus v3.1 32bit XFCE
- Location: Netherlands
Re: no volume icon after creating new user acct
Did you try to reboot instead of logout/login?
Just ignore this. I noticed that you always run fresh.
Sorry.
Just ignore this. I noticed that you always run fresh.
Sorry.
I was born with nothing and I still got most of it.
-
- White ninja
- Posts: 15
- Joined: 22 Apr 2015, 14:55
- Distribution: Porteus-v3.1 / Puppy Linux
- Location: Big Blue
Re: no volume icon after creating new user acct
I would like to have more than one user account so that each person using the machine can have their own individual setup. This is a no-brainer with most Linux distros and even window$. Don't think it should be that big of a deal. I love Porteus so far especially being able to run entirely in RAM. However, I would like other users to have sound...
If anyone can point me to the scripts that need to be executed I could probably run them manually at startup for each new user but I am not even sure that is the issue...hence my initial post...
If anyone can point me to the scripts that need to be executed I could probably run them manually at startup for each new user but I am not even sure that is the issue...hence my initial post...
-
- Samurai
- Posts: 134
- Joined: 30 Apr 2015, 12:00
- Distribution: XFCE Porteus Desktop 3.1 64bit
- Location: Moscow, Russia
Re: no volume icon after creating new user acct
maybe different DE doesnt have this problem
posted from Porteus
-
- White ninja
- Posts: 15
- Joined: 22 Apr 2015, 14:55
- Distribution: Porteus-v3.1 / Puppy Linux
- Location: Big Blue
Re: no volume icon after creating new user acct
Same problem and error message present in KDE, XFCE, LXQT, and even a Fluxbox module that was posted here in the forum.
Appears that this may have something to do with pulseaudio as Skype has no sound unless ran from root or guest accounts...
Appears that this may have something to do with pulseaudio as Skype has no sound unless ran from root or guest accounts...
-
- White ninja
- Posts: 15
- Joined: 22 Apr 2015, 14:55
- Distribution: Porteus-v3.1 / Puppy Linux
- Location: Big Blue
Re: no volume icon after creating new user acct
After searching around this forum and finding lots of volume and skype issues it seems that perhaps there is no answer for this problem. However, quite by accident I realized that after several months of having Pulse Audio problems Puppy Linux (Tahr 6.02) is now finally able to run skype again. The lack of that capability was my impetus for searching for another portable linux. So given the problems I have with creating new user accounts in Porteus and given that my original problem is no longer a problem I'm going to stick with the Pup for now. I will be watching to see how Porteus evolves in hopes that it becomes a viable solution for me in the future as I really love the 64 bit architecture (which Tahr Puppy lacks), being able to change DE modules easily, and the ability to always run in RAM which is wonderful. Best of luck to Porteus as you move forward.
-
- Samurai
- Posts: 134
- Joined: 30 Apr 2015, 12:00
- Distribution: XFCE Porteus Desktop 3.1 64bit
- Location: Moscow, Russia
Re: no volume icon after creating new user acct
i share this pc with porteus with another man, and we both use guest account, except he uses persistent mode and i use copy to ram cos i like speed
posted from Porteus
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: no volume icon after creating new user acct
The problem here was not creating a new user account. You did this successfully. The problem was with the sound. When you boot, and no sound is successfully detected the icon doesn't appear in the panel. You need to fix the sound card issue and then rebooting should reproduce the desired result. It is no doubt a simple asound.conf configuration problem. My own system boots without a sound icon until I put the following in asound.conf:
defaults.pcm.card 1
defaults.ctl.card 1
After this you need to go into skype and match the settings that the system has.
defaults.pcm.card 1
defaults.ctl.card 1
After this you need to go into skype and match the settings that the system has.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Samurai
- Posts: 137
- Joined: 18 Feb 2016, 09:25
- Distribution: Linux porteus 3.2.2 KDE
- Location: Spain
Re: no volume icon after creating new user acct
what do you mean with some scripts are hard coded to look for only these two users? I suppose all scripts and binaries use uid to deal with users so user names are ignored, I also suppose all scripts assume current user or check for all users defined so I cannot imagine what do you mena with hard coded, may you explain deeper please?brokenman wrote:Furthermore, some scripts are hard coded to look for only these two users.
In fact I assume if I create a new user test with same uid as guest, both will be indistinguishable and thus you can log in either as guest or test with same effect:
Code: Select all
# grep guest /etc/passwd | sed 's/guest/test/g' >> /etc/passwd
# mkdir /home/test && cp -a /home/guest/{*,.??*} /home/test
# su - test
guest@porteus:~$ whoami
guest
Code: Select all
# vi /etc/passwd
# su - test
test@porteus:~$ pwd
/home/test
test@porteus:~$ ls -l
total 16
drwxr-xr-x 2 test guest 4096 Feb 16 19:43 Desktop/
drwxr-xr-x 2 test guest 4096 Feb 19 15:11 Downloads/
drwxr-xr-x 3 test guest 4096 Feb 16 21:02 my-documents/
drwxr-xr-x 3 test guest 4096 Feb 19 10:08 tmp/
test@porteus:~$ ls -l /home/guest
total 16
drwxr-xr-x 2 test guest 4096 Feb 16 19:43 Desktop/
drwxr-xr-x 2 test guest 4096 Feb 19 15:11 Downloads/
drwxr-xr-x 3 test guest 4096 Feb 16 21:02 my-documents/
drwxr-xr-x 3 root root 4096 Feb 19 10:08 tmp/
For the same reason also I don't understand the fanthom quotation:
I would really appreciate further explanations... although guest and root are hardcoded in porteus settings so i would recommend to stick to one of them.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: no volume icon after creating new user acct
Welcome to Porteus! It would be helpful if you could provide some idea of what you wish to do, so that a reasonably precise explanation could be provided.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
-
- Samurai
- Posts: 137
- Joined: 18 Feb 2016, 09:25
- Distribution: Linux porteus 3.2.2 KDE
- Location: Spain
Re: no volume icon after creating new user acct
Thak you for the welcome Bogomips! It's nice to be here I think porteus is a great distro
What I wish asking for further explanations is simply knows better and deeper the porteus system, in order to hack it and also help others.
I'm only a few days with porteus and I feel happy with it, no need another user account (only replied to this post because I don't understand why is so hard to create another user and why is it hardcoded in system roots)
But I think creating new account will be need when you move to business use, for example when you need a corporate account, authenticating to LDAP...
My plan when arriving to that situation is creating account aliases, for example, let's say my corporate account must follow company policy and so it must be e260it and must authenticate to corporate LDAP and use services in corporate LAN with that user, then my plan is create an alias e260it to my local user guest like that:
This way I have a corporate e260it account which shares home dir and group with guest and thus I can log in either as guest or corporate user having direct access to all my data.
If you say guest user name and id are hardcoded in system then I would create user e260it having same uid, same gid and same home dir as user guest and force system resolve to user e260it as explained in previous message (or to resolve to user guest attending to some criteria, for example the network address being connected to)
It's just an idea, a bit of sane playing just for fun
I really like porteus and want to play with it and hack it but for hacking I need better understanding of its roots.
One idea is to encourage users to share its own modules with the community, I saw there's a section in the forum to share modules but I think it would be better if every users who wants to share will have a personal website sharing modules with a defined structure (aka a user repository) and make some scripts to search user repositories at your will, in a similar way as Crux does, allowing user repositories and allowing users to activate how many user repositories they will
What I wish asking for further explanations is simply knows better and deeper the porteus system, in order to hack it and also help others.
I'm only a few days with porteus and I feel happy with it, no need another user account (only replied to this post because I don't understand why is so hard to create another user and why is it hardcoded in system roots)
But I think creating new account will be need when you move to business use, for example when you need a corporate account, authenticating to LDAP...
My plan when arriving to that situation is creating account aliases, for example, let's say my corporate account must follow company policy and so it must be e260it and must authenticate to corporate LDAP and use services in corporate LAN with that user, then my plan is create an alias e260it to my local user guest like that:
Code: Select all
root@porteus:~# awk -F: 'BEGIN {OFS=":"} /^guest/ {$1="e260it"; $3=$3+1; print $0;}' /etc/passwd >> /etc/passwd
If you say guest user name and id are hardcoded in system then I would create user e260it having same uid, same gid and same home dir as user guest and force system resolve to user e260it as explained in previous message (or to resolve to user guest attending to some criteria, for example the network address being connected to)
It's just an idea, a bit of sane playing just for fun

I really like porteus and want to play with it and hack it but for hacking I need better understanding of its roots.
One idea is to encourage users to share its own modules with the community, I saw there's a section in the forum to share modules but I think it would be better if every users who wants to share will have a personal website sharing modules with a defined structure (aka a user repository) and make some scripts to search user repositories at your will, in a similar way as Crux does, allowing user repositories and allowing users to activate how many user repositories they will
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: no volume icon after creating new user acct
Thanks for the interesting things you have had to say. The problem is that there is a time shortage for people to provide explanations.
Look in our Tutorials section for more information. Use search otherwise, but be warned, there is a lot of outdated information floating around. Also look at the current discussion in Development section as to how Porteus can be made better, and from what you have said, maybe you can add your two cents regarding multiple user. 


Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB