I recently moved to Ubuntu 18.04 from Ubuntu 16.04 and trying to re-task my **Rare Blue Audio Jack** as **Headphone Jack [Line Out(front)]**. I did this in 16.04 using *hdajackretask*. But when I am trying to Override the jack in my current OS, I am getting the following error:

[![enter image description here](https://i.stack.imgur.com/xoyek.png)](https://i.stack.imgur.com/xoyek.png)

My terminal output looks like-

```
~$ sudo hdajackretask
E: [pulseaudio] core-util.c: Home directory not accessible: Permission denied
E: [pulseaudio] main.c: Failed to kill daemon: No such file or directory
0x11 0x99430130
0x14 0x01014010
0x15 0x01011012
0x16 0x01016011
0x17 0x01012014
0x18 0x01a19040
0x19 0x02a19050
0x1a 0x01014010
0x1b 0x02214020
0x1e 0x4037d500
1

```

I tried *alsamixer* automute disabling and pulseausio restart. None worked.

Any idea how to make it work?