[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users 00937] Re: Problems embedding apps in presentations



Could anyone recomend another video player which should/would work?

Best
Grunde

On Fri, 7 Jun 2002, Chris Tyler wrote:

>
> I don't have experience with those applications, but the RTC error sounds
> like the permissions on /dev/rtc don't permit access to the user ID you
> are using.
>
> According to the mplayer homepage, it can interface with X11 through 4 or
> 5 different mechanisms, perhaps you should try different ones with command
> line options. Some require root priviledge, some require various server
> extensions to be loaded as part of your X server configuration, but one of
> them will probably work!
>
> (The simplest place to start would be trying to run xmgp as root if you
> haven't already and see what happens).
>
> (Between using options (1) and (2) below, you should use (1) where
> possible because it will permit the clients (mgp and embedded apps) to use
> fast local transports rather than TCP/IP -- the problem with TCP/IP is
> that the communication between the program traverses the entire TCP/IP
> stack twice (once down, once up) for each packet).
>
> --
> Chris Tyler
>
>
> On 2002.06.07 05:45 Grunde L|voll wrote:
> > Thanks again,
> > both (1) and (2) allmost works. Everithing works fine until I try to play
> > a mpeg-video (with mplayer or gtv) inside the presentation. Then I get
> > the
> > following error message (in the terminal where I  started (x)mgp):
> >   .
> >   .
> >   Linux RTC init error in ioctl (rtc_pie_on): Permission denied
> >   Using usleep() timing
> >   Input config file /etc/mplayer/input.conf parsed : 50 binds
> >   .
> >   .
> > And the presantation freezes, but I'm able to go to the other X-session
> > with Ctrl-Alt-F7 and kill the prosess.
> >
> > When I ran mgp without a wm  and with a single X-session as proposed in
> > another post on the list the videoplayer worked. Other X-apps like xeyes
> > or xclock works under both (1) and (2). So the question is if there is
> > something wrong with my videoplayer or the resources avalible to X in the
> > secon session? Would it help if the xmgp script is owned by root with
> > the sticky-bit set? It would be really neat to hav this thing working in
> > a secon X-session, and be able to switch between the presantation and the
> > desktop during presentations or while writing the presentation...
> >
> > Best
> > Grunde
> >
> >
> > On Thu, 6 Jun 2002, Chris Tyler wrote:
> >
> > > Actually, the hostname should be in front of the colon, if you're using
> > > TCP/IP; otherwise, it should be blank or "unix" to specify Unix domain
> > > sockets. I think the other poster actually meant to suggest ":0.0"
> > instead
> > > of "0:0", but display zero is the normal X server started by gdm/kdm in
> > > runlevel 5.
> > >
> > > Here are two other things to try:
> > >
> > > (1) Use the "-ac" option:
> > >
> > >     #!/bin/bash
> > >     #
> > >     # xmgp :: start mgp on its own display
> > >     #
> > >     DISPLAY=":1" export DISPLAY
> > >     X -ac $DISPLAY 2>/dev/null &
> > >     sleep 2      # give X a head-start
> > >     mgp $*
> > >     killall X            # terminate X when mgp exits
> > >
> > > (2) Use local loopback tcp/ip device:
> > >
> > >     #!/bin/bash
> > >     #
> > >     # xmgp :: start mgp on its own display
> > >     #
> > >     DISPLAY=":1" export DISPLAY
> > >     X -ac $DISPLAY 2>/dev/null &
> > >     sleep 2      # give X a head-start
> > >     DISPLAY="localhost$DISPLAY"
> > >     mgp $*
> > >     killall X            # terminate X when mgp exits
> > >
> > > Let me know how it goes...
> > >
> > > --
> > > Chris Tyler
> > >
> > >
> > > On 2002.06.06 15:52 Grunde L|voll wrote:
> > > > My distro is RH7.3 width ximian gnome.
> > > >
> > > > If DISPLAY="0:0" conflicts width my primary server would
> > > > DISPLAY="1:1" not? or?
> > > >
> > > >
> > > > Maby I'll try both...
> > > >
> > > > Best
> > > > Grunde
> > > >
> > > > On Thu, 6 Jun 2002, Chris Tyler wrote:
> > > >
> > > > > Don't use DISPLAY="0:0" or you'll conflict with your primary X
> > > > server...
> > > > >
> > > > > Try adding "-ac" to the X command (turns off access control).
> > > > >
> > > > > What is your distro?
> > > > >
> > > > > --
> > > > > Chris Tyler
> > > > >
> > > > >
> > > > >
> > > > > On 2002.06.06 10:32 Daniel Schlieper wrote:
> > > > > > Try
> > > > > >
> > > > > >   DISPLAY="0:0" export DISPLAY
> > > > > >
> > > > > > instead of
> > > > > >
> > > > > >   DISPLAY=":1" export DISPLAY
> > > > > >
> > > > > > maybe this helps.
> > > > > >
> > > > > >
> > > > > > Daniel
> > > > >
> > > >
> > > > -----
> > > > Grunde Løvoll
> > > > mailto:grundel@fys.uio.no
> > > > http://www.fys.uio.no/~grundel/work.html
> > > >
> > > >  f u cn rd ths u r prbly a gk
> > > >
> > >
> >
> > -----
> > Grunde Løvoll
> > mailto:grundel@fys.uio.no
> > http://www.fys.uio.no/~grundel/work.html
> >
> >  f u cn rd ths u r prbly a gk
> >
>

-----
Grunde Løvoll
mailto:grundel@fys.uio.no
http://www.fys.uio.no/~grundel/work.html

 f u cn rd ths u r prbly a gk