[mythtv-users] running mythtv-setup remotely via ssh -X

Jim Abernathy jfabernathy at outlook.com
Mon Jan 8 11:42:32 UTC 2018



On 01/08/2018 04:41 AM, Tim Draper wrote:
>
>
>   ---- On Mon, 08 Jan 2018 00:00:39 +0000 James Linder <jam at tigger.ws> wrote ----
>   >
>   >
>   > > On 7 Jan 2018, at 7:54 pm, mythtv-users-request at mythtv.org wrote:
>   > >
>   > >>>
>   > >>> So I?ve done the bit about installing a server based Ubuntu and mythtv and then running mythtv-setup via ssh -X to configure the backend so that I don?t have to have a GUI on the ubuntu server with mythtv backend running.
>   > >>>
>   > >>> The problem is that I could only do the ssh -X from a Linux PC.  Is there a way to do this from a Mac or windows PC?
>   > >>>
>   > >>> Also if I install XFCE on top of Ubuntu Server that would allow me to do the mythtv-setup via a monitor/keyboard/mouse and unplug them when done.  I would think that is minimal and stable if not using the GUI after setup, Right??
>   > >>
>   > >> Jim another answer that works well
>   > >>
>   > >> I installed x11vnc on my server
>   > >> I installed this file in /etc/systemd/system/x11vnc.service
>   > >>
>   > >> [Unit]
>   > >> Description=x11vnc VNC Server for X11
>   > >> After=multi-user.target
>   > >>
>   > >> [Service]
>   > >> Type=simple
>   > >> ExecStart=/usr/bin/x11vnc -ncache 10 -auth guess -forever -loop -noxdamage -repeat -nopw -rfbport 5900 -o /tmp/x11vnc.log -xkb -norc -noxrecord -nomodtweak
>   > >>
>   > >> [Install]
>   > >> WantedBy=multi-user.target
>   > >>
>   > >> enabled it at boot time
>   > >> # systemctl enable x11vnc.service
>   > >>
>   > >> Then using any vnc viewer (I use chickenvnc) you can connect, get a desktop, do all you be admin (then you can use start in place of enable or just reboot)
>   > >>
>   > >> James
>   > >
>   > > Doesn't installing x11vnc require you to also have x11?? Or is x11 not
>   > > the problem, it's installing the whole Xubuntu desktop environment the
>   > > problem?
>   >
>   > Indeed and sorry I did not read your question well enough.
>   > ssh -X (with or without a desktop) has irritating lags (that vnc does not) caused I believe by the GL stuff.
>   > It was irratating enough for me to go the vnc route. but not often or intrusive enough to for me tp spelunk.
>   >
>   > I really don’t think wasting a couple of Gs on xfce is worth the pain of not having a desktop :-)
>   >
>   > James
>   > _______________________________________________
>   > mythtv-users mailing list
>   > mythtv-users at mythtv.org
>   > http://lists.mythtv.org/mailman/listinfo/mythtv-users
>   > http://wiki.mythtv.org/Mailing_List_etiquette
>   > MythTV Forums: https://forum.mythtv.org
>   >
> did you try it with the -C switch aswell (enables compression)... so 'ssh -XC hostname'?
> i did find X laggy when i first started using it ( when my BE was mythbuntu i think it was) but recently (since my move to fedora/centos distros) i've not seen any issues with X11 performance. could be a distro thing, could be the fact i always use '-XC' now.
>
> _

I have not installed x11vnc server yet, but answered my own question 
about X11 being installed on a base Ubuntu Server and it is or was 
installed by the mythtv install. So adding x11vnc would not be a storage 
burden.  The reason I care is my whole Ubuntu server is running off a 
Sandisk 16GB usb flash drive.  All my data storage is on 4 - 2TB hard 
drives.

I didn't find the ssh -XC to be any faster than -X alone. But it's good 
enough to run once every few month for maintenance of the BE.

Thanks,
Jim A

> ______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org



More information about the mythtv-users mailing list