webOS Nation Forums >  webOS apps and software >  webOS development > sdlVNC - VNC Client
sdlVNC - VNC Client

  Reply
Like Tree1Likes

 
LinkBack Thread Tools Display Modes
Old 01/14/2010, 11:06 AM   #1 (permalink)
Member
 
Join Date: Apr 2004
Posts: 187
Likes Received: 2
Thanks: 6
Thanked 57 Times in 25 Posts
Default sdlVNC - VNC Client

sdlVNC - v1.0.0

I have created / uploaded the source for a VNC client that runs natively in WebOS (SDL/PDK).

* This has not been packaged yet, so please wait on this unless you have an understanding of how to compile and run native apps on WebOS.

Please see the following for more details.
Application:SdlVNC - WebOS Internals

This is a work in progress, however as it stands right now it does what I need (connect to a local Xtightvncserver). From within X11 I can run vncviewer and rdesktop, etc.

Last edited by zonyl; 01/14/2010 at 11:15 AM.
zonyl is offline   Reply With Quote
Liked by geekpeter likes this.
Old 01/14/2010, 12:29 PM   #2 (permalink)
Member
 
Join Date: Aug 2008
Location: Oregon, USA
Posts: 310
Likes Received: 3
Thanks: 3
Thanked 62 Times in 43 Posts
Default

This is great news. Good work!
BoraWare is offline   Reply With Quote
Old 01/14/2010, 04:05 PM   #3 (permalink)
Member
 
Join Date: Nov 2003
Posts: 334
Likes Received: 0
Thanks: 20
Thanked 22 Times in 9 Posts
Default

Hooray!
dirtygreek is offline   Reply With Quote
Old 01/14/2010, 04:16 PM   #4 (permalink)
Member
 
adambomb13's Avatar
 
Join Date: Jun 2009
Location: Colorado
Posts: 62
Likes Received: 0
Thanks: 25
Thanked 9 Times in 6 Posts
Default

Awesome news, Thank you
adambomb13 is offline   Reply With Quote
Old 01/14/2010, 05:33 PM   #5 (permalink)
Member
 
Join Date: Oct 2009
Posts: 674
Likes Received: 0
Thanks: 105
Thanked 203 Times in 107 Posts
Default

Has the issue with connecting to remote sessions been resolved?
dallashigh is offline   Reply With Quote
Old 01/14/2010, 08:55 PM   #6 (permalink)
Member
 
Join Date: Nov 2003
Posts: 334
Likes Received: 0
Thanks: 20
Thanked 22 Times in 9 Posts
Default

I can get it to configure, but when running make:
Quote:
sdlvnc.c:20:25: error: SDL/SDL_ttf.h: No such file or directory
sdlvnc.c:26:1: warning: "VERSION" redefined
<command-line>: warning: this is the location of the previous definition
sdlvnc.c: In function 'SplashScreen':
sdlvnc.c:58: error: 'TTF_Font' undeclared (first use in this function)
sdlvnc.c:58: error: (Each undeclared identifier is reported only once
sdlvnc.c:58: error: for each function it appears in.)
sdlvnc.c:58: error: 'font' undeclared (first use in this function)
sdlvnc.c:84: warning: assignment makes pointer from integer without a cast
sdlvnc.c:92: warning: assignment makes pointer from integer without a cast
sdlvnc.c: In function 'GetHostname':
sdlvnc.c:151: error: 'TTF_Font' undeclared (first use in this function)
sdlvnc.c:151: error: 'font' undeclared (first use in this function)
sdlvnc.c:168: warning: return makes pointer from integer without a cast
sdlvnc.c:171: warning: assignment makes pointer from integer without a cast
sdlvnc.c:207: warning: assignment makes pointer from integer without a cast
sdlvnc.c:213: warning: assignment makes pointer from integer without a cast
make: *** [sdlvnc.o] Error 1
edit: ah, maybe I didn't properly grab the lib
dirtygreek is offline   Reply With Quote
Old 01/15/2010, 04:21 AM   #7 (permalink)
Member
 
Join Date: Nov 2009
Posts: 321
Likes Received: 1
Thanks: 2
Thanked 61 Times in 29 Posts
Default

had the same problem... seems like something is missing hope there is a package soon.
Sonic-NKT is offline   Reply With Quote
Old 01/15/2010, 07:11 AM   #8 (permalink)
Member
 
Join Date: Apr 2004
Posts: 187
Likes Received: 2
Thanks: 6
Thanked 57 Times in 25 Posts
Default

- It can connect to remote servers. Use the IP address as resolv isnt working

- SDL/TTF.h .. You need to have libSDL_TTF installed on you build machine.

On debian apt-get install libsdl-ttf2.0-dev
zonyl is offline   Reply With Quote
Old 01/15/2010, 08:08 AM   #9 (permalink)
Member
 
Join Date: Nov 2009
Posts: 321
Likes Received: 1
Thanks: 2
Thanked 61 Times in 29 Posts
Default

installing libsdl-ttf2.0-dev wont fix it for me, had it allready installed.
Sonic-NKT is offline   Reply With Quote
Old 01/15/2010, 08:11 AM   #10 (permalink)
Member
 
sudoer's Avatar
 
Join Date: Nov 2002
Location: Boston, MA, USA (but in America's Dairyland for an extended visit)
Posts: 1,727
Likes Received: 0
Thanks: 1,508
Thanked 369 Times in 302 Posts
Default

zonyl, thanks for the effort on this!
__________________
I'm both super! ... and a doer!
sudoer is offline   Reply With Quote
Old 01/15/2010, 08:16 AM   #11 (permalink)
Member
 
sudoer's Avatar
 
Join Date: Nov 2002
Location: Boston, MA, USA (but in America's Dairyland for an extended visit)
Posts: 1,727
Likes Received: 0
Thanks: 1,508
Thanked 369 Times in 302 Posts
Default

Quote:
Originally Posted by zonyl View Post
...
Please see the following for more details.
Application:SdlVNC - WebOS Internals

This is a work in progress, however as it stands right now it does what I need (connect to a local Xtightvncserver). From within X11 I can run vncviewer and rdesktop, etc.
That's pretty cool in itself!
__________________
I'm both super! ... and a doer!
sudoer is offline   Reply With Quote
Old 01/15/2010, 09:53 AM   #12 (permalink)
Member
 
Join Date: Jun 2006
Posts: 53
Likes Received: 0
Thanks: 3
Thanked 3 Times in 3 Posts
Default

Is the plan to polish this up and put it in the app catalog? I will pay for a decent VNC client. I'm so tired of using PalmVNC in Classic.
unclegeek is offline   Reply With Quote
Old 01/15/2010, 10:11 AM   #13 (permalink)
Member
 
Join Date: Nov 2003
Posts: 334
Likes Received: 0
Thanks: 20
Thanked 22 Times in 9 Posts
Default

Quote:
installing libsdl-ttf2.0-dev wont fix it for me, had it allready installed.
I installed it but am still getting the same errors. I wouldn't think I'd have to do anything else after installing it for it to be found?
dirtygreek is offline   Reply With Quote
Old 01/15/2010, 10:41 AM   #14 (permalink)
Member
 
Join Date: Nov 2003
Posts: 334
Likes Received: 0
Thanks: 20
Thanked 22 Times in 9 Posts
Default

Well, managed to get past that by copying over the sdl_ttf.h file only to get "cannot find -lSDL_ttf"

Doing everything I've seen recommended but still getting the same error. Ah well
dirtygreek is offline   Reply With Quote
Old 01/15/2010, 02:43 PM   #15 (permalink)
Member
 
Join Date: Apr 2004
Posts: 187
Likes Received: 2
Thanks: 6
Thanked 57 Times in 25 Posts
Default

Quote:
Originally Posted by dirtygreek View Post
Well, managed to get past that by copying over the sdl_ttf.h file only to get "cannot find -lSDL_ttf"

Doing everything I've seen recommended but still getting the same error. Ah well
That is strange if you have SDL_ttf installed. What build environ are you using?

Here are the bins (its really a tgz not a zip.. forum software wants zip)
Attached Files
File Type: zip sdlvnc.tgz.zip (45.9 KB, 64 views) Email Attachment
zonyl is offline   Reply With Quote
Thanked by dirtygreek, rwong48
Old 01/15/2010, 02:45 PM   #16 (permalink)
Member
 
Join Date: Nov 2003
Posts: 334
Likes Received: 0
Thanks: 20
Thanked 22 Times in 9 Posts
Default

Ubuntu 9.10, following the instructions on the internals page. But no matter - thanks for the bins! Trying them out now.
dirtygreek is offline   Reply With Quote
Old 01/15/2010, 02:58 PM   #17 (permalink)
Member
 
Join Date: Nov 2009
Posts: 321
Likes Received: 1
Thanks: 2
Thanked 61 Times in 29 Posts
Default

me too.. and thanks for the binary... gives me an error tho.
root@palm-webos-device:/media/internal/sdlvnc# ./sdlvnc
./sdlvnc: error while loading shared libraries: libSDL_vnc.so.0: cannot open shared object file: No such file or directory


PS: both files are in the same folder.... just so you know
Sonic-NKT is offline   Reply With Quote
Old 01/15/2010, 03:00 PM   #18 (permalink)
Member
 
Join Date: Nov 2003
Posts: 334
Likes Received: 0
Thanks: 20
Thanked 22 Times in 9 Posts
Default

I am just a ton of trouble, I know, but I'm now getting
Quote:
error while loading shared libraries: libSDL_vnc.so.0: cannot open shared object file: No such file or directory
The file's there, though... does it look for it in a specific place?
dirtygreek is offline   Reply With Quote
Old 01/15/2010, 03:04 PM   #19 (permalink)
Member
 
Join Date: Nov 2003
Posts: 334
Likes Received: 0
Thanks: 20
Thanked 22 Times in 9 Posts
Default

Wonder if this will help at all

Quote:
nstall the library. The default location for the installation is /usr/local/lib and /usr/local/include. The libary path /usr/local/lib might need to be added to the file /etc/ld.so.conf
dirtygreek is offline   Reply With Quote
Old 01/15/2010, 03:08 PM   #20 (permalink)
Member
 
Join Date: Apr 2004
Posts: 187
Likes Received: 2
Thanks: 6
Thanked 57 Times in 25 Posts
Default

Yes, libraries need to be in the /usr/lib folder. Then you need to run ldconfig

'man ldconfig' for more info.
zonyl is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0