LinHES Forums
http://forum.linhes.org/

[SOLVED] wine got permission problems
http://forum.linhes.org/viewtopic.php?f=14&t=21148
Page 1 of 1

Author:  dfdario [ Wed Jun 16, 2010 3:18 am ]
Post subject:  [SOLVED] wine got permission problems

I use to grab EPG by mean of Xvfb, wine and TVxb.
I never had problems before on my previous Mythbuntu installations then I used the same script for LinHES 6.02 too.
The problem arise when TVxb tries to write the log file into its log directory.
When it tries to write a windows pop-up message comes up saying that TVxb doesn't have the permissions to write that file. This is weird to me because I chmoded directory with 766. I know the file has to have the right permissions but since it is generated by TVxb I don't know why it couldn't write it.
Commands involved are:
Code:
XUSER=mythtv
export DISPLAY=:1
/usr/bin/Xvfb :1 &
sudo -H -u ${XUSER} sh -c 'DISPLAY=:0.0 /usr/bin/wine  /home/mythtv/bin/TVxb/bin/TVxb.exe -NoConsole'
/usr/bin/killall Xvfb
unset DISPLAY

also tried with
Code:
export DISPLAY=:1
/usr/bin/Xvfb :1 &
#
DISPLAY=":0.0" sudo -H -u mythtv sh -c '/usr/bin/wine  /home/mythtv/bin/TVxb/bin/TVxb.exe -NoConsole'
/usr/bin/killall Xvfb
unset DISPLAY

But nothing change

If I run the program from console and mythtv account all end properly.

Any idea?

Author:  dfdario [ Fri Jul 02, 2010 1:56 pm ]
Post subject: 

I got it working by calling the scrip in mythfilldatabase section available in MythTV setup.
No issue at all.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/