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

mythbrowser crashes [now solved]
http://forum.linhes.org/viewtopic.php?f=6&t=8318
Page 1 of 1

Author:  declanh [ Sun Feb 05, 2006 6:00 pm ]
Post subject:  mythbrowser crashes [now solved]

Ive not used mythbrowser for a week or so but i dont think i have reconfigured anything since i last used it....

it wont start form the information center within KnoppMyth, and when i try to start it from a shell it barfs saying :

Link points to "/tmp/ksocket-mythtv"
OPixmap: cannot create a OPixmap when no GUI is being used
OPixmap: cannot create a OPixmap when no GUI is being used
Link points to "/tmp/ksocket-mythtv"
OPixmap: cannot create a OPixmap when no GUI is being used
OPixmap: cannot create a OPixmap when no GUI is being used
kbuildstsoca running ....
....
... (infor about res etc)

KCrash: Application 'mythbrowser' crashing ....
unable to start Dr Konqi
Mutex destroy failure: Device or resource busy
ICE default IO error handler doing an exit(), pid=4102, errno = 2


Anyone seen this and know a cure ?

(ive googled and searched in vain so far)

Author:  declanh [ Mon Feb 06, 2006 1:19 pm ]
Post subject: 

not fixed but I have discovered that mythbrowser runs ok when i run the frontend from an xterm logged in as root

so its a permissions issue ... I must have run mythbrowser some time in the past as root and its created some files it needs to overwrite/update as root


I could change mythtv to be in the root group (bad idea!) so id rather fix it properly

running from xterm as mythtv gives one more error message about

"The KDE libraries are not designed to run with suid privileges."

Author:  declanh [ Mon Feb 06, 2006 3:38 pm ]
Post subject: 

declanh wrote:
not fixed but I have discovered that mythbrowser runs ok when i run the frontend from an xterm logged in as root

so its a permissions issue ... I must have run mythbrowser some time in the past as root and its created some files it needs to overwrite/update as root


I could change mythtv to be in the root group (bad idea!) so id rather fix it properly

running from xterm as mythtv gives one more error message about

"The KDE libraries are not designed to run with suid privileges."


bad form following up to your own posts im sure but ....


i googled a bit more and found


Code:
void KApplication::init()
{
  if ((getuid() != geteuid()) ||
      (getgid() != getegid()))
  {
     fprintf(stderr, "The KDE libraries are not designed to run with suid privileges.\n");
     ::exit(127);
  }



i wonder is where the message im seeing is generated from and if so it thinks my gid or uid dont match my euid and egid -

what i cannot fathom is what has changed to bring this about

Author:  declanh [ Mon Feb 06, 2006 4:20 pm ]
Post subject: 

fixed the problem and remembered what i had changed....

I few weeks ago i read a mythtv performance tips article which suggested setting the setuid bit on mythfrontend would improve performance ....

i changed it and thought no more of it....

simply doing a

chmod g-s mythfrontend

fixed the problem....

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