Improved RemoteDesktopClient GUI - Feb 28, 2007

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#31 Post by WhoDo »

rarsa wrote:This version should be solid as a rock. (yes, it is a challenge to see if you find bugs)
Just call me The Wrecker! :P

Found a bug with v2.15-2 running under Puppy 2.15CE. When I start the application I get TWO windows, one with the GUI and one empty one. If I close either then both get closed.

Looked in the /usr/local/remotedesktopclient folder and found the following:

1. If I click remotedesktopclient.tcl then I get the two windows
2. If I click on remotedesktopclientGUI.tcl then I only get the empty one

Also found that I can no longer save and retrieve my profile settings after saving them.

Hope that helps.

Cheers

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#32 Post by rarsa »

WhoDo wrote:Found a bug with v2.15-2 running under Puppy 2.15CE.
You found a bug in Puppy 2.15CE thanks to my beautifyl and solid Remote desktop client? Woow, you are lucky...

I'm guessing that the reason is that in 2.15CE you associated the .tcl extension with wish instead of associating it with tclsh.

If you execute wish, you are forcing a tk window even if Gnocl applications do not use tk.

Thats something to fix in Puppy 2.15CE... Gotcha!

My challenge is still standing ;)

Good luck.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

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

#33 Post by WhoDo »

rarsa wrote:I'm guessing that the reason is that in 2.15CE you associated the .tcl extension with wish instead of associating it with tclsh.
Hmmmm....that still makes ME the Wrecker! :P

I'll fix for the next Beta.

Cheers.

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#34 Post by rarsa »

WhoDo wrote:I'll fix for the next Beta.
Be carefull how you fix it.

Some tcl programs may be implicitly expecting to be run from wish instead of explicitly requiring the tk package.

If you find a program that do not start after changing to tclsh, then add the "package require Tk" line near the top.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

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

#35 Post by WhoDo »

rarsa wrote:If you find a program that do not start after changing to tclsh, then add the "package require Tk" line near the top.
Don't mean to seem obtuse, but can you explain this bit to me, please mate? I've fixed the wish/tclsh call for the next Beta, but knowing my luck it WILL break something and I'd like to know what to do when that happens. Thanks again, mate.

Cheers

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#36 Post by rarsa »

I don't know how the rox MIME association works so I am just speaking in general terms.

When you execute with wish, the Tk libraries are included implicitly as they are included by wish.

Some developers rely on executing the program from wish or use a 'trick' in which the script is started as bash which then executes wish. They have something like the following at the top of the script

Code: Select all

#!/bin/sh -
# the next line restarts using wish \
exec wish "$0" "$@"
When you execute the script from bash, it gets to the third line and executes wish passing as parameters the same script name and parameters.

Once in wish, the same script is interpreted as tcl code, where the backslash in the comment line previous to "exec wish" makes the comment continue to the next line, so the "exec wish" line is interpreted as a comment, and the rest of the script is executed.

So, if you have a script that expects to be executed by wish and you execute it with tclsh, the Tk libraries may not be included and the program won't run. The solution is to add the following line near the top:

Code: Select all

package require Tk
to explicitly include the libraries.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

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

#37 Post by WhoDo »

rarsa wrote:The solution is to add the following line near the top:

Code: Select all

package require Tk
to explicitly include the libraries.
Aha! Got it now. Thanks, rarsa. Much appreciated. :wink:

Wilsonb
Posts: 57
Joined: Wed 04 Jul 2007, 00:10

Puppy being the Host.. for Remote desktop

#38 Post by Wilsonb »

2 Questions...

1.)Does this updated RemoteDesktopClient Gui come built in Puppy 3.01?
Where is the repository for the latest?


2.)Im actually trying to do the opposite.
I was wondering if it was possible to HOST Puppy?

I would like to access Puppy via Windows Remote desktop pref.
I know how to host a Windows box and give permissions, but not sure on the Linux puppy side..

I would like to use Puppy on a Notebook as a picture frame and access it via Remote desktop..

Thanks

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

#39 Post by HairyWill »

remote desktop isn't going to do you any good

vnc would do the trick
http://www.murga-linux.com/puppy/viewtopic.php?t=1144

you need to install the vncserver on the picture frame

search the forum for vncserver

if you are happy on the commandline you could just install the sshd server
http://www.murga-linux.com/puppy/viewtopic.php?t=1106
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]

Wilsonb
Posts: 57
Joined: Wed 04 Jul 2007, 00:10

#40 Post by Wilsonb »

Thank you so much...

Finally got it figured out and working..


For some stupid reason, the internal HD wouldn't boot, had to format with ex2 and install grub. Now, it prompts me to select the Grub menu to point to the hd1. Would like to make it go strait in without having to press enter.

#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
title Puppy Linux (on /dev/hda1)
rootnoverify (hd0,0)
kernel /vmlinuz pmedia=idehd
initrd /initrd.gz
# Linux bootable partition config ends

_______________________________
Also, would like to make the VNCserver startup 1 display session automaticly.

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

#41 Post by HairyWill »

remove the # symbol in front of
#timeout 30
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]

Wilsonb
Posts: 57
Joined: Wed 04 Jul 2007, 00:10

#42 Post by Wilsonb »

Is there a way to keep a live-cd from using the saved file on the HD?

I would like to resize the original partition, but when booting with a live-cd it takes hold of the save file and I can not un-mount the HD. Locked..

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

#43 Post by HairyWill »

at the 5 second pause type
puppy pfix=ram
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]

Wilsonb
Posts: 57
Joined: Wed 04 Jul 2007, 00:10

#44 Post by Wilsonb »

Hairy,

Thank you so much for your feedback...
I was playing with the tightVNC server and thought it was the coolest thing..


I will post and ask how to incorporate the service automatically.

so when the puppy system boots up, I will have access to it without intervention.

Wilsonb
Posts: 57
Joined: Wed 04 Jul 2007, 00:10

#45 Post by Wilsonb »

Stupid quick question.....

I have been using the TightVNC, and was wondering if there was a way to select the initial display.


Meaning, I want to make changes on the actual display. Can it display and let you VNC the actual current screen?

Also, trying to find a GOOD slide show app.
Will be making a picture frame

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

#46 Post by HairyWill »

Wilsonb wrote:I have been using the TightVNC, and was wondering if there was a way to select the initial display.
Meaning, I want to make changes on the actual display. Can it display and let you VNC the actual current screen?
I don't think you can do this with straight vnc though I have seen someone recommend a server that you could.

Please keep this thread on topic. There are lots of threads about vnc.
Wilsonb wrote:IAlso, trying to find a GOOD slide show app.
yes and you have received lots of replies
http://www.murga-linux.com/puppy/viewtopic.php?t=24721
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]

User avatar
RobertB
Posts: 145
Joined: Tue 03 Jan 2006, 01:06
Location: Big D
Contact:

#47 Post by RobertB »

I got out of 2am system checks because I didn't have a Windows box at home, but my sympathy for my co-workers got the better of me. I tried the Cisco VPN client in Pizzasgood's PCPuppyOS, but it didn't connect to the work server at all. Luckily, our guy who requests IDs suggested searching on PPTP, which led to this thread!

From the internal network, RemoteDesktopClient (and RDesktop) work great! It's already clear that I'll be able to connect to my Windows workstation after all. There are some access issues on the server side, but we're working on those.

But outside of the internal network, I need to use PPTP. The packages from HairyWill do everything promised... I installed the pptpconfig.pup and his version of the "IP" command, and it runs with diagnostic messages in a window and everything.

But he admits one problem: this process doesn't update /etc/resolv.conf with the nameserver of the host system. I was able to make RemoteDesktopClient work by using an IP address I spotted in the output from ifconfig, but I can't get to the in-network Intranet -- that's the main thing I need to be able to do at 2am.

HairyWill suggests putting the nameserver in resolv.conf manually, and I'll try that tonight if I get a chance.

But what would be better for converting my Windows friends would be a way to automatically get the information. Isn't there some existing protocol for finding out the nameservers? Without that information, I may not be able to access the system at 2am. Help me be overworked *and* underpaid! :)

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#48 Post by rarsa »

This thread is just for the Remote Desktop client which assumes you already have a connection to the network where the windows computer is.

I would recommend starting a new thread for those questions and adding your comments to one of the VPN threads. You may get more comments and responses that way.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
RobertB
Posts: 145
Joined: Tue 03 Jan 2006, 01:06
Location: Big D
Contact:

#49 Post by RobertB »

rarsa wrote:This thread is just for the Remote Desktop client which assumes you already have a connection to the network where the windows computer is.

I would recommend starting a new thread for those questions and adding your comments to one of the VPN threads. You may get more comments and responses that way.
Thanks -- it turns out that the main pptpconfig thread doesn't come up on a forum search! Google was my friend, and maybe this link will help prevent future thread hijacks.

By the way, I was way off on the actual problem. The VPN details are in the other thread. I was doing the wrong thing on RemoteDesktopClient, too -- I was putting the IP address of the VPN gateway machine and attempting to establish a session with it, instead of with the box on my desk. The attempt failed, of course -- which is good, because I don't *like* having access to things I shouldn't on the work network!

But once VPN was configured correctly and I entered the right host in RemoteDesktopClient, things are working great. I'll be trying it next on a dialup connection, so wish me luck. See you at 2am! :?

User avatar
RobertB
Posts: 145
Joined: Tue 03 Jan 2006, 01:06
Location: Big D
Contact:

#50 Post by RobertB »

Ok, I'm ready to ask a RemoteDesktopClient question. :)

I've got it working on my laptop, which is great. Mucho happiness from my co-workers who don't have to take my place because of my non-"standard" home setup. But I can't seem to get RemoteDesktopClient to work on my desktop, which has a much bigger screen.

The worst part is not knowing what's wrong. If you hit "Connect" and the connection fails, then the GUI dialogs just go away. I'm running from the command line, but no messages are reported back there, either -- in fact, it seems to return to the # prompt whether the connection is successful or not. The only diagnostic on the console is about an apparently unrelated icon that it can't find.

I'm about to leap forward to the 1990s and get a high-speed Internet connection, so I expect to use Remote Desktop more and more. It would be nice to be able to do so on the big screen, instead of pulling out the laptop every time -- and worse yet, hoping that it works, since if it stops working I won't know why!

(Note: both the laptop and the desktop are running Puppy 2.17)

Post Reply