System broadcast messages not showing in terminator 0.96

Asked by gman414 on 2011-12-23

In Ubuntu Oneiric (11.10) , system broadcact message such as those generated by shutdown are not showing up in terminator (0.96). System broadcast message seem to work fine in gnome-terminal. Running 'mesg' in terminator returned a 'y'. Any Ideas as to why the broadcast message are not showing up in terminator?. Thank you

Question information

English Edit question
Terminator Edit question
No assignee Edit question
Solved by:
David Caro
Last query:
Last reply:
David Caro (dcaro) said : #1

The problem is caused by python vte not updating the utmp and wtmp logs (not sure neither if it must do so).
I've dona a fast search for a python lib to edit (not just read), those data structures, but I didn't find any...

I'll keep searching.


David Caro (dcaro) said : #2

Mmm, I looked into the code and vte function fork_command() has the parameters logutmp and logwtmp set to true... maybe a bug of vte library?

David Caro (dcaro) said : #3

found this....

Also tried to run a vte terminal directly from the interactive python, and I was unable to update the wtmp and utmp recods (even as root).

>>> import vte
>>> import gtk
>>> w=gtk.Window()
>>> t=vte.Terminal()
>>> w.add(t)
>>> w.show_all()
>>> t.fork_command(logutmp=True, logwtmp=True, loglastlog=True, command='/bin/bash')
>>> t.fork_command(logutmp=True, logwtmp=True, loglastlog=True, command='/bin/bash')
>>> vte.__file__

David Caro (dcaro) said : #4

Found the bug on launchpad :)

Best David Caro (dcaro) said : #5

And it has a workaroud that works for me:
# cd /usr/lib
# sudo ln -s libvte9 vte

gman414 (gman414) said : #6

The workaround works for me as well. Thank you

gman414 (gman414) said : #7

Thanks David Caro, that solved my question.