Page 1 of 1

2.14 Alpha: Remote Desktop Client won't run [Solved]

Posted: Sun 28 Jan 2007, 09:26
by WhoDo
Remote Desktop Client refuses to run under 2.14a - running from a terminal produces the following output:

Code: Select all

sh-3.00# remotedesktopclient
Error in startup script: cannot open libpng.so.2.1.0.8: libpng.so: cannot open shared object file: No such file or directory
    while executing
"image create photo -file $imgLocation -format png"
    (procedure "screen" line 6)
    invoked from within
"screen"
    (file "/usr/sbin/remotedesktopclient" line 640)
I am using rarsa's improved remotedesktopclient GUI v0.3 to no avail. Any ideas? Original script worked ok, so I can see no reason why rarsa's improved script shouldn't function. It works fine in 2.13

Re: 2.14 Alpha

Posted: Mon 29 Jan 2007, 10:27
by Leon
WhoDo wrote:Remote Desktop Client refuses to run under 2.14a - running from a terminal produces the following output:

Code: Select all

sh-3.00# remotedesktopclient
Error in startup script: cannot open libpng.so.2.1.0.8: libpng.so: cannot open shared object file: No such file or directory
    while executing
"image create photo -file $imgLocation -format png"
    (procedure "screen" line 6)
    invoked from within
"screen"
    (file "/usr/sbin/remotedesktopclient" line 640)
I am using rarsa's improved remotedesktopclient GUI v0.3 to no avail. Any ideas? Original script worked ok, so I can see no reason why rarsa's improved script shouldn't function. It works fine in 2.13
See topic about bugs in Pup 2.14ALPHA on Puppy Developer Forum:
http://www.puppyos.net/forum/?1169851092;2

Solution:
Download and install remotedesktopclient-0.3.pup.

Dotpup:
http://www.murga-linux.com/puppy/viewto ... ch&id=2994

Re: 2.14 Alpha

Posted: Mon 29 Jan 2007, 10:57
by WhoDo
Leon wrote:
WhoDo wrote:I am using rarsa's improved remotedesktopclient GUI v0.3 to no avail. Any ideas? Original script worked ok, so I can see no reason why rarsa's improved script shouldn't function. It works fine in 2.13
Solution:
Download and install remotedesktopclient-0.3.pup.
Actually, Leon, that is what I'm running already (see quote). Thanks, anyway. :?

Posted: Mon 29 Jan 2007, 11:19
by HairyWill
I think that the file remotedesktopclient.png got left out of the iso by mistake. It should be at /usr/local/lib/X11/pixmaps.
update
[color="red]<wrong>No actually barry has recompressed it to a gif called rdp.gif.</wrong>From the creation date I think this was the original file, but there certainly isn't a remotedesktopclient.png in the iso.[/color]
So if you want to make it work either convert to png and rename
or try changing line 5ish of the remotedesktopclient script to refer to the correct file

Re: 2.14 Alpha

Posted: Mon 29 Jan 2007, 11:35
by Leon
WhoDo wrote:
Leon wrote:
WhoDo wrote:I am using rarsa's improved remotedesktopclient GUI v0.3 to no avail. Any ideas? Original script worked ok, so I can see no reason why rarsa's improved script shouldn't function. It works fine in 2.13
Solution:
Download and install remotedesktopclient-0.3.pup.
Actually, Leon, that is what I'm running already (see quote). Thanks, anyway. :?
That's interesting. After I installed Puppy 2.14a I noticed that remotedesktopclient won't start. Then I installed remotedesktopclient-0.3.pup and now it starts OK.

Maybe remotedesktopclient-0.3.pup was not installed properly.

See if this file exists in your Puppy 2.14a:
/usr/local/lib/X11/pixmaps/remotedesktopclient.png

Re: 2.14 Alpha

Posted: Mon 29 Jan 2007, 12:02
by WhoDo
Leon wrote:That's interesting. After I installed Puppy 2.14a I noticed that remotedesktopclient won't start. Then I installed remotedesktopclient-0.3.pup and now it starts OK.

Maybe remotedesktopclient-0.3.pup was not installed properly.

See if this file exists in your Puppy 2.14a:
/usr/local/lib/X11/pixmaps/remotedesktopclient.png
Yep, it's there alright - as is the old rdp.gif, too.

It's got me beat. Darn thing works fine in Puppy 2.13 so I don't get it really. May be a libpng issue?

Posted: Mon 29 Jan 2007, 13:57
by Leon
Btw, I installed remotedesktopclient-0.3.pup to fresh frugal install of Puppy 2.14a.

Posted: Tue 30 Jan 2007, 01:30
by PaulBx1
The error seems to indicate a libpng issue; maybe a missing link.

I am running Puppy 211, and don't use remotedesktopclient, but I did a search for libpng and found these:

Code: Select all

sh-3.00# ls -la /usr/lib/libpng*
lrwxrwxrwx    1 root     root           19 Oct 14 16:22 /usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.8
-rwxr-xr-x    1 root     root       258172 Aug  7 14:57 /usr/lib/libpng12.so.0.1.2.8
lrwxrwxrwx    1 root     root           17 Oct 14 16:22 /usr/lib/libpng.so.3 -> libpng.so.3.1.2.8
-rwxr-xr-x    1 root     root       258172 Aug  7 14:57 /usr/lib/libpng.so.3.1.2.8
I find it strange that my libpng.so has a larger number (3.1.2.8 ) which usually implies a later revision, than you have when running 214a.

Do the same ls command, see what you have in 214a.

Posted: Tue 30 Jan 2007, 09:56
by Leon
PaulBx1 wrote:The error seems to indicate a libpng issue; maybe a missing link.

I am running Puppy 211, and don't use remotedesktopclient, but I did a search for libpng and found these:

Code: Select all

sh-3.00# ls -la /usr/lib/libpng*
lrwxrwxrwx    1 root     root           19 Oct 14 16:22 /usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.8
-rwxr-xr-x    1 root     root       258172 Aug  7 14:57 /usr/lib/libpng12.so.0.1.2.8
lrwxrwxrwx    1 root     root           17 Oct 14 16:22 /usr/lib/libpng.so.3 -> libpng.so.3.1.2.8
-rwxr-xr-x    1 root     root       258172 Aug  7 14:57 /usr/lib/libpng.so.3.1.2.8
I find it strange that my libpng.so has a larger number (3.1.2.8 ) which usually implies a later revision, than you have when running 214a.

Do the same ls command, see what you have in 214a.
Puppy 2.14a:

Code: Select all

sh-3.00# ls -la /usr/lib/libpng*
lrwxrwxrwx    1 root     root           19 Jan 26 13:48 /usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.8
-rwxr-xr-x    1 root     root       258172 Aug  8 05:57 /usr/lib/libpng12.so.0.1.2.8
lrwxrwxrwx    1 root     root           11 Jan 26 13:48 /usr/lib/libpng.so -> libpng.so.3
lrwxrwxrwx    1 root     root           17 Jan 26 13:48 /usr/lib/libpng.so.3 -> libpng.so.3.1.2.8
-rwxr-xr-x    1 root     root       258172 Aug  8 05:57 /usr/lib/libpng.so.3.1.2.8

Posted: Wed 14 Feb 2007, 10:22
by WhoDo
PaulBx1 wrote:Do the same ls command, see what you have in 214a.
Here is my output:

Code: Select all

sh-3.00# ls -la /usr/lib/libpng*
lrwxrwxrwx    1 root     root           19 Dec 11 19:52 /usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.8
-rwxr-xr-x    1 root     root       258172 Aug  8  2006 /usr/lib/libpng12.so.0.1.2.8
lrwxrwxrwx    1 root     root           17 Dec 11 19:52 /usr/lib/libpng.so.3 -> libpng.so.3.1.2.8
-rwxr-xr-x    1 root     root       258172 Aug  8  2006 /usr/lib/libpng.so.3.1.2.8
sh-3.00# 
Hmmm...looks like they're all different?

UPDATE: Ok, so I solved the problem by creating a symlink from libpng.so.3.1.2.8 called libpng.so.2.1.0.8 and now it runs as it should! Go figure!

Posted: Wed 14 Feb 2007, 11:32
by HairyWill
I'm not sure how many people this problem is affecting but I've had the same problem in Muppy6 with remotedesktopclient-0.3.pup. I've got the same libpng libraries as WhoDo.
It seems silly for the functionality of this package to be blocked by a library error that it really doesn't need to be concerned about.
I suggest resaving the image /usr/localX11/pixmaps/remotedesktopclient.png in another format and amending the script.
/usr/sbin/remotedesktopclient then needs two changes one at line 8 to change the imagefilename ie:

Code: Select all

set imgLocation "/usr/local/lib/X11/pixmaps/remotedesktopclient.gif"
and the other at line 294 to change the image format

Code: Select all

set myimage [image create photo -file $imgLocation -format gif]
I can see that the libpng problem is something that needs to be addressed but at least this fix allows the dotpup to be functional

I did find that putting a symlink into /usr/lib for the libary solved the problem

Code: Select all

ln -s libpng.so.3 libpng.so.2
but I have no idea of the differences between libpng.so.2 and .so3 so this may break something else later.