不注销A用户,切换到B用户,为什么B没不能发声?

CPU/显卡/打印机/USB设备等硬件问题
回复
fengtou
帖子: 160
注册时间: 2007-06-22 16:15
系统: Ubuntu-mate

不注销A用户,切换到B用户,为什么B没不能发声?

#1

帖子 fengtou » 2016-04-21 14:23

ubuntu-mate,不注销A用户,切换到B用户,为什么B没不能发声?
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 不注销A用户,切换到B用户,为什么B没不能发声?

#2

帖子 vickycq » 2016-04-21 14:44

检查用户是否属于 audio 组。若用户属于 audio 组,将用户从 audio 组移除
As a practical rule of thumb for Debian and Ubuntu systems, there should be no users in the audio group.......Otherwise, switching to another user may leave the new user without access to sound devices.
......
Adding users to the audio group ...... may break software mixing or fast-user-switching on multi-seat systems.
确认用户是否属于 audio 组

代码: 全选

$ groups
...audio...
将用户 alice 从 audio 组移除

代码: 全选

$ sudo su
# deluser alice audio
参考
https://wiki.ubuntu.com/Audio/TheAudioGroup
https://wiki.archlinux.org/index.php/Ad ... privileges
http://askubuntu.com/questions/80115/ho ... om-a-group
上次由 vickycq 在 2016-04-21 14:48,总共编辑 1 次。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
fengtou
帖子: 160
注册时间: 2007-06-22 16:15
系统: Ubuntu-mate

Re: 不注销A用户,切换到B用户,为什么B没不能发声?

#3

帖子 fengtou » 2016-04-21 14:48

如果我先注销A用户,再进去B用户,B是可以发声的
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 不注销A用户,切换到B用户,为什么B没不能发声?

#4

帖子 vickycq » 2016-04-21 14:49

fengtou 写了:如果我先注销A用户,再进去B用户,B是可以发声的
将用户加入 audio 组只会影响快速用户切换。“先注销A用户,再进去B用户”不属于快速用户切换
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
fengtou
帖子: 160
注册时间: 2007-06-22 16:15
系统: Ubuntu-mate

Re: 不注销A用户,切换到B用户,为什么B没不能发声?

#5

帖子 fengtou » 2016-04-21 14:58

vickycq 写了:
fengtou 写了:如果我先注销A用户,再进去B用户,B是可以发声的
将用户加入 audio 组只会影响快速用户切换。“先注销A用户,再进去B用户”不属于快速用户切换
不需要了,搞好了,原来是新开的B没有把输出硬件设定好,默认是设定到HDMI了,谢谢。
回复