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

Please post any bugs you have found
Post Reply
Message
Author
User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

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

#1 Post 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
Last edited by WhoDo on Wed 14 Feb 2007, 11:07, edited 2 times in total.

Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

Re: 2.14 Alpha

#2 Post 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

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

Re: 2.14 Alpha

#3 Post 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. :?

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#4 Post 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
Last edited by HairyWill on Tue 30 Jan 2007, 07:46, edited 1 time in total.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

Re: 2.14 Alpha

#5 Post 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

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

Re: 2.14 Alpha

#6 Post 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?

Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

#7 Post by Leon »

Btw, I installed remotedesktopclient-0.3.pup to fresh frugal install of Puppy 2.14a.

PaulBx1
Posts: 2312
Joined: Sat 17 Jun 2006, 03:11
Location: Wyoming, USA

#8 Post 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.

Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

#9 Post 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

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#10 Post 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!

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#11 Post 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.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Post Reply