LinHES Forums
http://forums.linhes.org/

How to install VNC on LinHES 7.4
http://forums.linhes.org/viewtopic.php?f=25&t=24036
Page 1 of 1

Author:  TVBox [ Mon Jul 28, 2014 12:36 am ]
Post subject:  How to install VNC on LinHES 7.4

Dos any one have in there notes how to install / setup VNC in LinHES 7.4 . Pacman says it is not installed. I have found http://www.linhes.org/projects/linhes/wiki/Settings but It dos not state if it is R6, R7 or R8. I also found this http://www.linhes.org/projects/linhes/wiki/Vnc it must refer to R6 or R7 because it states fluxbox.

TVBox

Author:  graysky [ Mon Jul 28, 2014 12:58 am ]
Post subject:  Re: How to install VNC on LinHES 7.4

Post the output of:
Code:
pacman -Ss vnc


If LH packages x11vnc, tigervnc, or ... can't remember the discontinued one, you can use either of them. See the vnc article on the Arch wiki for syntax and methods.

Author:  TVBox [ Mon Jul 28, 2014 9:53 am ]
Post subject:  Re: How to install VNC on LinHES 7.4

Thanks graysky for the reply
Quote:
Post the output of: pacman -Ss vnc

Code:
> pacman -Ss vnc
extra/tightvnc 1.3.10-2
    VNC Unix server && viewer
extra/x11vnc 0.9.12-2
    a VNC server for real X displays

I did a global file search and can up with this
/data/var/cache/pacman/pkg/tightvnc-1.3.10-2-i686.pkg.tar.xz

So the tightvnc package is sitting there like it is suppose to be installed by a script.
Both of the wiki links I posted use x11vnc. This could be a R6 left over.
I have fingers pointing both directions.

Usually the dev's design around specific software and have little tweeks that they install to make things work smoothly.
So which one is the current chosen child. for 7.4

Also which vnc is used in R8. I don't currently have a working R8 box.

Thanks
TVBox

Author:  graysky [ Mon Jul 28, 2014 12:59 pm ]
Post subject:  Re: How to install VNC on LinHES 7.4

TVBox wrote:
So the tightvnc package is sitting there like it is suppose to be installed by a script.
Both of the wiki links I posted use x11vnc. This could be a R6 left over.
I have fingers pointing both directions.

Usually the dev's design around specific software and have little tweeks that they install to make things work smoothly.
So which one is the current chosen child. for 7.4


If your goal is to have vnc control over your main monitor (i.e. X:0) then go ahead and install x11vnc. There are many ways to initiate the vncserver. One method is to add a 'x11vnc.desktop' file to the mythtv user's start-up (~/.config/autostart/x11vnc.desktop) which contains:

Code:
[Desktop Entry]
Type=Application
Name=vnc
Exec=/home/mythtv/bin/x11vncup


Now just make ~/bin/x11vncup:
Code:
!/bin/bash
x11vnc -nap -wait 50 -shared -display :0 -forever -o /tmp/x11vnc.log -bg


Don't forget to make it +x:
Code:
chmod +x  ~/bin/x11vncup


Now restart X.

Author:  TVBox [ Mon Jul 28, 2014 11:40 pm ]
Post subject:  Re: How to install VNC on LinHES 7.4

Thanks graysky for the direction.
I went with the link that installed x11vnc and used fluxbox to start up
http://www.linhes.org/projects/linhes/wiki/Vnc
Quote:
pacman -Sy x11vnc

If you want VNC to run automatically whenever your system reboots, add the following line to the end of your the file /home/mythtv/.fluxbox/apps

[startup] {sudo /usr/bin/x11vnc -ncache -nap -wait 50 -passwd mythtv -display :0 -forever -o /var/log/mythtv/x11vnc.log -bg }

Works just like it did in R5.5
TVBox

Author:  RacerX [ Tue Jul 29, 2014 6:56 am ]
Post subject:  Re: How to install VNC on LinHES 7.4

Here is an example of x11vnc setup requirements using Enlightenment

http://wiki.bodhilinux.com/doku.php?id=howto_setup_x11vnc

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/