Re: [Thinstation-general] x11vnc question
Brought to you by:
doncuppjr
|
From: Ed <thi...@wa...> - 2016-11-30 22:24:43
|
I seem to recall that it worked fine if you're running as root, but if you set ts_user to non-root, it wouldn't. I think I had it working via .xinitrc or autostart, but abandoned it because Teamviewer was desired. This was back around 5.2 or 5.3. I'll look to see if I have my diffs from that still. For anyone who wants to try Teamviewer, it works if you're using version 8 or less and you have replace "readlink -e" with "readlink -f". After version 8 there are problems with the teamviewer ID regenerating on each boot. The ID used to be generated by MAC address, but they must use something else in addition now. e.g UUID of root fs. On 1/12/2016 3:35 AM, Don Cupp wrote: > I never use that package, so I never made it pretty, but basically > whats happening, is that during init, a cron job is added to start > x11vnc sometime in the future, as X is not yet available. The cron job > calls that script periodically, and when X is available, but vnc is > not started, to start vnc. I think someone came back later and said, > start it with --forever, and remove the cron job. The whole approach > is a little awkward, and I would prefer that vnc was started in .xinitrc > > > On Wednesday, November 30, 2016 7:38 AM, Brian Koch > <bk...@ci...> wrote: > > > Hello, x11vnc is not auto-starting in my build even though I have the > package xorg7vnc as active. > > What is check_x11vnc doing in this script? > > if [ -z "`pidof x11vnc`" ]; then > x11vnc -forever -q -usepw -httpdir /lib/www/html/x11vnc -o > /var/log/x11vnc & > # Now we have got it started stop this cron nonsense: > sed -i s/"*\/1 \* \* \* \* \/bin\/check_x11vnc"// /tmp/crontab > crontab /tmp/crontab > fi > > I need the process to run so that I can remote in to support users > when needed. Shouldn't I need: > > x11vnc -forever -rfport 5900 -q -usepw -o /var/log/x11vnc & > > if so, what is > > "sed -i s/"*\/1 \* \* \* \* \/bin\/check_x11vnc"// /tmp/crontab > crontab /tmp/crontab" > > doing? > > > > Brian Koch > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Thinstation-general mailing list > Thi...@li... > <mailto:Thi...@li...> > https://lists.sourceforge.net/lists/listinfo/thinstation-general > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Thinstation-general mailing list > Thi...@li... > https://lists.sourceforge.net/lists/listinfo/thinstation-general |