On Thu, Aug 24, 2006 at 08:05:29PM +0200, Karel Zak wrote: > > Hi, > > On Wed, Aug 23, 2006 at 03:05:15PM +0100, Daniel P. Berrange wrote: > > * An embedded serial console viewer - no need to go to the shell and > > is there D-Bus interface for this feature? I assume that user has to > be root. Hmm, no I forgot to add one. Technically the test made is only whether the Psuedo-TTY is writable, but in practice it is only writable if you are root. Not all domains will have a serial console - you can test for this by looking at the XML for a domain - whether it has an element: <console tty='/dev/pts/3'/> Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|