LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-15-2018, 06:30 AM   #1
sasha01
LQ Newbie
 
Registered: Feb 2017
Distribution: slackware
Posts: 15

Rep: Reputation: Disabled
no volume keys after system upgrade


Hi, i have slackware 14.2, installed xfce volumed pulse for my multimedia keyboard. added user, added in audio groups. now i had my volume keys worked until i have done slackpkg upgrade-all, i noticed since the new kernel was installed 4.4.132 my volume keys from keyboard is working as root but not with a user.

im using xfce with elementary icons and greybird theme, when i switched back to adwaita theme, my volume icon appears, so i updated the icon cache for elementary icon theme, the volume icon comes back when i press from the keyboard, but after a system restart i have the same problem, as root works fine, as user no keys binded. when i try to bind manually it doesn't recognize the volume up and down button from keyboard.

i reinstalled the system and with kernel 4.4.14 everything is working fine,

when i log out from desktop i saw this:
xfce volumed pulse Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

now this doesn`t appear but i saw another one:
libpulse-mainloop-glib.so.0 cannot open no such file
what should i do to fix this problem? should i stay with kernel 4.4.14 or there is something to fix after a system upgrade?
 
Old 07-15-2018, 12:02 PM   #2
sasha01
LQ Newbie
 
Registered: Feb 2017
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
update, installed again 14.2 with kernel 4.4.14 and after restart the volume keys still not working as user, as root works, so i dont know that to do next.
 
Old 07-15-2018, 12:08 PM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
have you used adduser to create the user? have you pressed the up arrow like adduser suggests during the steps?

https://docs.slackware.com/slackbook:users

on 14.2 the suggested groups for a desktop user are
Code:
audio cdrom floppy plugdev video power netdev lp scanner
 
1 members found this post helpful.
Old 07-15-2018, 12:10 PM   #4
sasha01
LQ Newbie
 
Registered: Feb 2017
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
yes with adduser and after gpasswd -a audio and video for now:
uid=1000(unix01) gid=100(users) groups=100(users),17(audio),18(video)
 
Old 07-15-2018, 12:14 PM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
how do your start your desktop, in runlevel 3 and then "startx" or do you start in runlevel 4 with a *DM?
 
1 members found this post helpful.
Old 07-15-2018, 12:16 PM   #6
sasha01
LQ Newbie
 
Registered: Feb 2017
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
runlevel 3 then startx
 
Old 07-15-2018, 12:17 PM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
can you please post the contents of your ~/.xinitrc file?
if you don't have one please post the content of your /etc/X11/xinit/xinitrc

Last edited by ponce; 07-15-2018 at 12:19 PM.
 
1 members found this post helpful.
Old 07-15-2018, 12:20 PM   #8
sasha01
LQ Newbie
 
Registered: Feb 2017
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
cat /etc/X11/xinit/xinitrc
#!/bin/sh
# xinitrc.xfce - modified to work around xfce4session bug
# https://bugzilla.xfce.org/show_bug.cgi?id=8841


########################################################################
## Merge in defaults and keymaps ##
########################################################################

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

if [ -f $sysresources ]; then
/usr/bin/xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
/usr/bin/xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
/usr/bin/xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
/usr/bin/xmodmap $usermodmap
fi

########################################################################
## Start xfce Desktop Environment ##
########################################################################

if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session dbus-launch --exit-with-session /usr/bin/startxfce4
else
exec dbus-launch --exit-with-session /usr/bin/startxfce4
fi

Last edited by sasha01; 07-15-2018 at 12:23 PM.
 
Old 07-15-2018, 12:24 PM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
if you create an additional user with adduser, pressing the up arrow like described above when suggested so that the user gets added to the groups listed above, and you start your X session as the newly created user, do you still have this issue?

if you execute in a terminal under X the command
Code:
ck-list-sessions
which is the output (with the old and the new user)?

Last edited by ponce; 07-15-2018 at 12:25 PM.
 
1 members found this post helpful.
Old 07-15-2018, 12:34 PM   #10
sasha01
LQ Newbie
 
Registered: Feb 2017
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
ck-list-sessions
Session5:
unix-user = '1001'
realname = 'sasha'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2018-07-15T17:30:45.074669Z'
login-session-id = '4294967295'
with new user
and with old user:
bash-4.3$ ck-list-sessions
Session4:
unix-user = '1000'
realname = 'unix'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2018-07-15T17:25:53.053906Z'
login-session-id = '4294967295'
volume keys works now with new user, but as happened many times, im afraid that after restart wont work.
 
Old 07-15-2018, 12:38 PM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
so I would try rebooting and see if they still work with the new user.
 
1 members found this post helpful.
Old 07-15-2018, 12:42 PM   #12
sasha01
LQ Newbie
 
Registered: Feb 2017
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
with the new user is working, with the old one no,

thank you very much, but whats the secret? and should i start to update the kernel and the whole system? it will work?

and should i do upgrade in runlevel 3 or desktop? does it matter?

Last edited by sasha01; 07-15-2018 at 12:44 PM.
 
Old 07-15-2018, 01:06 PM   #13
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by unix01 View Post
with the new user is working, with the old one no,

thank you very much, but whats the secret?
adding the users "the right way", as explained in the first link I posted
https://www.linuxquestions.org/quest...4/#post5879446

Quote:
and should i start to update the kernel and the whole system? it will work?

and should i do upgrade in runlevel 3 or desktop? does it matter?
maybe you better open a new topic for this...

this page might be useful
http://docs.slackware.com/slackware:beginners_guide
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade system with lvm on software raid-1 data volume w/o losing data BinWondrin Linux - General 1 01-13-2009 03:25 PM
Volume +/- Keys Poetics Linux - Laptop and Netbook 3 05-22-2005 05:37 PM
New keyboard with Volume keys, etc. vbguru12000 Debian 6 02-02-2005 10:13 AM
Volume control keys? mrurmil Linux - Laptop and Netbook 0 01-24-2005 09:32 PM
Adjusting how much volume jumps with volume keys vrillusions Linux - Laptop and Netbook 2 10-17-2003 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration