[vlc-devel] running vlc (w/GUI) under different user account

U.Mutlu for-gmane at mutluit.com
Fri Sep 25 18:30:20 CEST 2015


[this was initially posted to the "general" list, but after posting I saw that 
there is no traffic since June, so now reposting to developer list]

Hi,
on my local linux box with X desktop (actually LXDE),
I have two user accounts: user1 and user2.
Logged in to the desktop as user1 I can start the webbrowser firefox
with the credentials of user2 by first giving permission to user2 to use the X 
display:
  user1 at box:/tmp$ xhost +SI:localuser:user2
then in the shell switching to user2 and starting the command
  su user2
  firefox &
This works fine.

I tried the same method also with vlc but I get errors:

user2 at box:/tmp$ vlc &
VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39)
[00000000012f3118] core libvlc error: cannot open config file 
(/home/user1/.config/vlc/vlcrc): Permission denied

Ie. vlc still tries to access the config files of user1.
Isn't that a bug?

What is the solution or workaround to this problem?

-- 
Thx



More information about the vlc-devel mailing list