[arch-general] X11vnc in xbmc archlinux

geralt at gmail.com geralt at gmail.com
Mon Apr 7 07:24:13 EDT 2014


On Mon, Apr 7, 2014 at 1:06 PM, Maykel Franco <maykeldebian at gmail.com>wrote:

> 2014-04-07 13:00 GMT+02:00 geralt at gmail.com <geralt at gmail.com>:
>
> > On Mon, Apr 7, 2014 at 12:55 PM, Maykel Franco <maykeldebian at gmail.com
> > >wrote:
> >
> > > Hi, I configured the archlinux + xbmc. I will like remote control xbmc
> > > with x11vnc from other machine.
> > >
> > > Now, I control the xbmc with xbmc remote from android.
> > >
> > > And also start x11vnc when archlinux boot...
> > >
> > > Thanks in advanced.
> > >
> >
> >
> > You should be able to connect to the x11vnc server with any vnc client,
> > like Vinagre. Once a vnc connection is established, if xbmc is running,
> you
> > can control it with the keyboard/mouse of the machine running the vnc
> > client. What problem are you experiencing, exactly?
> > -----------
> > I'd flash you my business card, but my hands are too full of guns.
> > - Peter Quill, aka Star-Lord, making another dashing rescue
> >
>
>
> No problem for connect...The problem is:
>
> I need start x11vnc when computer boot...
>
> Sorry for my english.
>
> Thanks for your response.
>

Are you using a display manager and desktop environment? I once had a setup
exactly like you're describing.  What I did was:

- I had LightDM set to autologin the "xbmc" user, see
https://wiki.archlinux.org/index.php/Lightdm#Enabling_Autologin

- When the "xbmc" user was logged in, XFCE was autostarted using .xinitrc,
see https://wiki.archlinux.org/index.php/Xinitrc

- I wrote a simple bash script that started x11vnc. Using XFCE's settings
GUI, I added two autostart applications: XBMC and the start_x11vnc.sh
script I had written. See
https://wiki.archlinux.org/index.php/Xfce#Custom_Startup_Applications

With this setup when the machine starts, it will autologin the "xbmc" user,
it will start the XFCE desktop environment, and immediately XBMC will start
(normally full-screen) and the x11vnc server will also start.

There are more lightweight ways of doing this, but I liked being able to
exit XMBC and still have a full desktop environment for any file
manipulations or whatever.


More information about the arch-general mailing list