View previous topic :: View next topic |
Author |
Message |
DumbAss Apprentice


Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Fri Dec 12, 2003 10:18 am Post subject: x11vnc |
|
|
Hi people,
Does anyone have any experience with x11vnc? It's a new vncserver much like x0rfbserver.
http://www.karlrunge.com/x11vnc/
If it's good maybe I'll try to install it. Emerging would be much nicer  |
|
Back to top |
|
 |
fleed l33t


Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Fri Dec 12, 2003 10:26 am Post subject: |
|
|
Looks really good, and better than x0rfbserver. Thanks for bringing that up...err... DumbAss! |
|
Back to top |
|
 |
fleed l33t


Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Fri Dec 12, 2003 10:35 am Post subject: |
|
|
Actually, reading through the page you pointed out, it looks like x11vnc is in libvncserver, which is in portage. I'm trying to emerge it now (after copying version 0.5 to 0.6 in my portage tree). |
|
Back to top |
|
 |
DumbAss Apprentice


Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Fri Dec 12, 2003 10:37 am Post subject: |
|
|
fleed wrote: | Actually, reading through the page you pointed out, it looks like x11vnc is in libvncserver, which is in portage. I'm trying to emerge it now (after copying version 0.5 to 0.6 in my portage tree). |
Is saw it too I emerged it at once. How do you replace the version? I really hope it works better than x0rfbserver.
[edit]
Hmm... I get: Xlib: connection to ":0.0" refused by server.
[/edit] |
|
Back to top |
|
 |
fleed l33t


Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Fri Dec 12, 2003 10:49 am Post subject: |
|
|
Yup, x11vnc is in there! I wasn't successful hacking a version 0.6 of libvncserver.
Try xhost + when connected to your X11 server |
|
Back to top |
|
 |
DumbAss Apprentice


Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Fri Dec 12, 2003 10:59 am Post subject: |
|
|
fleed wrote: | Yup, x11vnc is in there! I wasn't successful hacking a version 0.6 of libvncserver.
Try xhost + when connected to your X11 server |
x11vnc works beautiful but now I can only export :1 & :2 but not :0. But I'm trying to solve it. Xhost + worked but I think it is because I'm not connect to my X11 server.
What I can't understand is that no one ever told me about this beautiful server. In a couple of hours I can go home and I try how fast it really is. |
|
Back to top |
|
 |
jonnymalm n00b

Joined: 26 Jun 2002 Posts: 68
|
Posted: Fri Dec 12, 2003 4:53 pm Post subject: |
|
|
Please let us know how well it works. I use XDMCP & cygwin/X server to connect to my box on my internal home lan. I find that this works great with a light wm like fluxbox.
It looks like this would be great for remote connections over the Internet, especially since you can tunnel it over ssh |
|
Back to top |
|
 |
DumbAss Apprentice


Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Sat Dec 13, 2003 10:42 pm Post subject: |
|
|
Hi, well I tested it and it works OK. Not great OK. BUT... still a lot better than x0rfbserver or a casual vnc server. KRFB is just a little bit faster. On the other hand x11vnc is rock-stable. In the past x0rfbserver kept crashing over and over but I have had not a single crash with x11vnc. I even made a rc-script for it
One thing though ( ? ),
How do I make it run as a background service when I start it in a terminal. I used the option -bg but that didn't work for me. Anyone?
For the viewers: try it! Really! |
|
Back to top |
|
 |
DumbAss Apprentice


Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Wed Dec 17, 2003 8:36 am Post subject: |
|
|
today I compiled the 0.6 version myself and the newest x11vnc.c that wasn't in the package. The -bg option works now and a higher compression can be achieved. I'm now trying to crash it, but I haven't managed to do it.
I'm verry happy with it. If I can figure out how ebuilds work maybe I'll make an ebuild in the future. |
|
Back to top |
|
 |
ericpartington n00b


Joined: 10 Feb 2004 Posts: 20
|
Posted: Thu Mar 25, 2004 3:33 am Post subject: x11vnc emerge problems |
|
|
I tried to emerge x11vnc today - i am running on a PPC machine and i have accepted unstable "~PPC" but it looks like the libvncserver is stable for bot ppc and x86. These are the errors that i get when the emerge fails :
Code: |
zrle.c:82: structure has no member named `zrleData'
zrle.c:83: structure has no member named `zrleData'
zrle.c:84: structure has no member named `zrleData'
zrle.c:126: `rfbEncodingZRLE' undeclared (first use in this function)
zrle.c:126: (Each undeclared identifier is reported only once
zrle.c:126: for each function it appears in.)
zrle.c: In function `FreeZrleData':
zrle.c:179: structure has no member named `zrleData'
zrle.c:180: structure has no member named `zrleData'
zrle.c:181: structure has no member named `zrleData'
make[2]: *** [zrle.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/libvncserver-0.6/work/LibVNCServer-0.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libvncserver-0.6/work/LibVNCServer-0.6'
make: *** [all] Error 2
!!! ERROR: net-libs/libvncserver-0.6 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)
|
any ideas? i noticed that DumbAss mentioned that he compiled it himself, i am in the process of trying to do this myself. Any suggestions as to how i can compile it myself? any locations that i should save the code to?
thanks for any help, trying to create a digital picture frame here and this will help me to manage the remote screen/laptop/pictureframe with a wireless connection.
eric |
|
Back to top |
|
 |
DumbAss Apprentice


Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Thu Mar 25, 2004 11:12 pm Post subject: |
|
|
Really cool idea that pictureframe. I was thinking about that myself. If you're done could you post some pictures?
Ok, back to business. What I did was: ebuild fetch *package*
That downloaden a tar.gz. I opened it and replaced te x11vnc.c file. After that I had te do ebuild *package* digest and after that I could emerge it as an usual package.
I hope I was of any assistence. |
|
Back to top |
|
 |
ericpartington n00b


Joined: 10 Feb 2004 Posts: 20
|
Posted: Fri Mar 26, 2004 2:14 am Post subject: ebuild libvncserver failing |
|
|
I will definitley post ome pictueres if ic an get this part solved.
This is what happens when i try
Code: | ebuild libvncserver fetch |
Code: |
root@Blackmac eric # ebuild libvncserver fetch
!!! Name error in libvn: missing a version or name part.
!!! Error: PF is null 'libvn'; exiting.
|
so what to do next? i have looked at the man pages for ebuild and found the apropriate structure for ebuild. There is also a fresh ebuild for libvncserver but again trying to emerge the fresh ebild gives me the same error i had in my same previous post. I have also tried emerging the full path tp the ebuild and no such luck so far.
Any more suggestions for how to get this app going? |
|
Back to top |
|
 |
DumbAss Apprentice


Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Fri Mar 26, 2004 8:36 am Post subject: |
|
|
Well, you have done an emerge already so the .tar.gz has been downloaded already. It's somewhere in /usr/portage/distfiles/ |
|
Back to top |
|
 |
ericpartington n00b


Joined: 10 Feb 2004 Posts: 20
|
Posted: Fri Mar 26, 2004 4:47 pm Post subject: Slowly moving forward |
|
|
Yup, i did some poking around and found the .tar.gz file. I expanded it to my /home/eric directory, opened it up, found the x11vnc.c and replaced it with the one from the x11vnc website. I tried running the
Code: |
ebuild *package* digest
|
and it fails with an error :
Code: | !!! Name error in libvn: missing a version or name part.
!!! Error: PF is null 'libvn'; exiting.
|
i have tried specifyin the path to the newly edited epanded folder in my home folder. Any more suggestions? i have also tried to emerge gemsvnc and it fails on the install with and eror that i dont have right now as i am at work.
suggestions anyone? should i post something in the portage area to see if there are suggestion?
Eric |
|
Back to top |
|
 |
DumbAss Apprentice


Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Sun Mar 28, 2004 8:56 pm Post subject: |
|
|
What happens if you do:
Code: | ebuild /fullpathtopackage/package-version.ebuild digest |
|
|
Back to top |
|
 |
ericpartington n00b


Joined: 10 Feb 2004 Posts: 20
|
Posted: Tue Mar 30, 2004 2:05 am Post subject: ebuild still... |
|
|
when i try
Code: |
ebuild /usr/tmp/portage/libvncserver-0.6/build-info/libvncserver-0.6.ebuild digest
|
i get this error
Code: | !!! aux_get(): ebuild for 'libvncserver-0.6/libvncserver-0.6' does not exist at:!!! /usr/portage/libvncserver-0.6/libvncserver/libvncserver-0.6.ebuild
doebuild(): aux_get() error; aborting.
|
that is after i have copied the new x11vnc.c file into the libvncserver-0.6 directory.
- do i need to run that digest feature? is there a way to try simply emerging the files in the dist directory? how do i tell emerge to not unpack a new copy fo the files in the tar.gz file that overwrite the dist files ? there must be a way to run those files instead of unpacking again...
this is beginning to be a pain in the butt. anyways i'll keep trying of people keep sending suggestions.
thanks for the help so far everyone
eric |
|
Back to top |
|
 |
ericpartington n00b


Joined: 10 Feb 2004 Posts: 20
|
Posted: Tue Mar 30, 2004 3:37 am Post subject: followup |
|
|
Alright , i noticed something funny here ....
when i tried the previous operation:
Code: | !!! aux_get(): ebuild for 'libvncserver-0.6/libvncserver-0.6' does not exist at:!!! /usr/portage/libvncserver-0.6/libvncserver/libvncserver-0.6.ebuild
doebuild(): aux_get() error; aborting.
|
it tells me that it cant find the ebuild file a path that is not the same as i typed. The error gives me that it is looking in the path :
Code: | /usr/portage/libvncserver-0.6/libvncserver/libvncserver-0.6.ebuild//usr/portage/libvncserver-0.6/libvncserver/libvncserver-0.6.ebuild | and when i try to find the path it obviously doesnt exist. so i try to locate the path and this is where the ebuild exists:
Code: | /usr/portage/libvncserver-0.6/libvncserver/libvncserver-0.6.ebuild |
which is not the same. how do i change the path that it looks in? |
|
Back to top |
|
 |
ericpartington n00b


Joined: 10 Feb 2004 Posts: 20
|
Posted: Tue Mar 30, 2004 3:57 am Post subject: gettin somewhere |
|
|
again an update - so much good stuf can happen on a monday
Code: | root@Blackmac libvncserver # ebuild libvncserver-0.6.ebuild digest
>>> Generating digest file...
<<< LibVNCServer-0.6.tar.gz
<<< libvncserver-0.6-20040101-x11vnc.c.bz2
>>> Generating manifest file...
<<< ChangeLog
<<< libvncserver-0.5-r1.ebuild
<<< libvncserver-0.6.ebuild
<<< files/0.5-optional-configure.ac.patch
<<< files/digest-libvncserver-0.5-r1
<<< files/digest-libvncserver-0.6
>>> Computed message digests.
| so now i got that to work, but when i try emerging the package again it gives me the same error that exits the build. How can i get past this last hurdle? |
|
Back to top |
|
 |
DumbAss Apprentice


Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Tue Mar 30, 2004 6:33 am Post subject: |
|
|
I really don't know. I searched on google but I couldn't find anything about the error message.
I suggest you check you CFLAGS in /etc/make.conf
Maybe if you use other CFLAGS it will compile. |
|
Back to top |
|
 |
ericpartington n00b


Joined: 10 Feb 2004 Posts: 20
|
Posted: Tue Mar 30, 2004 5:10 pm Post subject: how to emerge an ebuild |
|
|
alright i guess the question here is how does one emerge and ebuild? everytime i run emerge libvncserver i seem to be emerging the .tar.gz file and overwriting the files that i have changed. How did you manage to run emerge on the new ebuild digest that you created dumbass? just curious here, getting closer by the day.
thanks again for all the help
Eric |
|
Back to top |
|
 |
DumbAss Apprentice


Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Tue Mar 30, 2004 7:25 pm Post subject: |
|
|
If you do
there's a list of commands that go with ebuild. I thought I used:
Code: | ebuild package-version.ebuild install |
then it doesn't download the package again but uses the one on your harddisk. |
|
Back to top |
|
 |
opm8 n00b

Joined: 10 Sep 2003 Posts: 56
|
Posted: Fri May 14, 2004 12:11 am Post subject: Re: x11vnc emerge problems |
|
|
ericpartington,
This is the same error I got on two different boxes by using the ebuild. What I did was download the source off sourceforge and compile it myself. Worked great!
I usually download stuff to /usr/local/src, unpack it with 'tar -xvzf LibVNCServer-0.6.tar.gz' which creates a LibVNCServer-0.6 directory. In there follow the directions in the README file. It's painfully easy.
Hope this helps.
--opm8
ericpartington wrote: | I tried to emerge x11vnc today - i am running on a PPC machine and i have accepted unstable "~PPC" but it looks like the libvncserver is stable for bot ppc and x86. These are the errors that i get when the emerge fails :
Code: |
zrle.c:82: structure has no member named `zrleData'
zrle.c:83: structure has no member named `zrleData'
zrle.c:84: structure has no member named `zrleData'
zrle.c:126: `rfbEncodingZRLE' undeclared (first use in this function)
zrle.c:126: (Each undeclared identifier is reported only once
zrle.c:126: for each function it appears in.)
zrle.c: In function `FreeZrleData':
zrle.c:179: structure has no member named `zrleData'
zrle.c:180: structure has no member named `zrleData'
zrle.c:181: structure has no member named `zrleData'
make[2]: *** [zrle.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/libvncserver-0.6/work/LibVNCServer-0.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libvncserver-0.6/work/LibVNCServer-0.6'
make: *** [all] Error 2
!!! ERROR: net-libs/libvncserver-0.6 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)
|
any ideas? i noticed that DumbAss mentioned that he compiled it himself, i am in the process of trying to do this myself. Any suggestions as to how i can compile it myself? any locations that i should save the code to?
thanks for any help, trying to create a digital picture frame here and this will help me to manage the remote screen/laptop/pictureframe with a wireless connection.
eric |
|
|
Back to top |
|
 |
agarthe n00b

Joined: 17 Nov 2004 Posts: 1
|
Posted: Wed Mar 09, 2005 5:29 pm Post subject: rc-script?? |
|
|
I am obviously not too bright when it comes to rc-scripts. DumbAss can you supply your rc-script? I have tried a couple of different ways to do an rc-script but each time they fail. I can start from the command line with no problems...
Thanks in advance |
|
Back to top |
|
 |
|