| Prev |   4     5   6 |
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   New rDesktop (with new frontend) (https://talk.maemo.org/showthread.php?t=22716)

Snoshrk 2009-01-18 02:27

Re: New rDesktop (with new frontend)
 
:(:confused: Ok new problem:

When I try to connect (click the CONNECT button) I get Error #35584.

What is this? & How do I fix it?

Thanks

Matt

TrueJournals 2009-01-18 02:49

Re: New rDesktop (with new frontend)
 
Hmmm... the only thing I could find about error 35584 is an abnormal exit. Can you try running /usr/local/bin/rdesktop.py from the command line and post the output if the error happens again?

Snoshrk 2009-01-18 05:11

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by TrueJournals (Post 258354)
Hmmm... the only thing I could find about error 35584 is an abnormal exit. Can you try running /usr/local/bin/rdesktop.py from the command line and post the output if the error happens again?

;) Being somewhat proactive and re-reading this thread... I did just that...

When I ran it from the command line the GUI launches with no problems. I click connect and then: same error as if I launched the GUI from the App / Personal Menu.

I am able to connect via RDP from a Vista notebook to the target computer.

The only thing that I can think of that changed since the last time I made a successful connection from my N800 was HomeTools updated. :confused:


Thanks
m

Rohan 2009-01-20 21:16

Re: New rDesktop (with new frontend)
 
@TrueJournals

First of all, massive props for such great work. When I had pyrdesktop working it was absolutely fantastic.

Now I'm having problems. I've read and re read this whole thread and can seem to figure out what's going wrong.

I've got python launcher installed and I'm running OS2008 5.2008.43-7 not booting from the card.

Whenever, I launch pyrdesktop the GUI appears and then immediately closes. I've tried qwerty12's fix to no avail.

Please help, I'd love to have this working again!

Thanks again to everyone for all your contributions.

iLluFe 2009-02-08 21:37

Re: New rDesktop (with new frontend)
 
Just downloaded and installed pyrdesktop. I have been spending almost a day trying to figure it out. Did research in the forum already, and still haven't figure out how this thing work. Opened 3389 on my router and my firewall. Still doesn't work.

PS I'm using Windows XP Home sp3, can someone help me?

sic0048 2009-02-09 14:14

Re: New rDesktop (with new frontend)
 
Windows XP Home cannot host a RDP connection. So the PyRdesktop cannot connect to it since the XP Home OS cannot host the connection.

I am not sure whether or not there is a hack to allow XP Home to host a RDP connection. If not, you'll need to use XP Pro, Vista Business, Vista Ultimate, or one of the Windows Server OS.

skatebiker 2009-02-16 12:44

Re: New rDesktop (with new frontend)
 
There is a patch for Vista Home Premium which allows RDP input.
http://www.unet.fi/fransblog/2007/08...-home-premium/

On my Vista laptop it works fine as an RDP host !

Fionn 2009-04-23 18:49

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by gultig (Post 219783)
I think I've found a bug. Somehow I deleted the first profile, which was also the default profile, and rdesktop wouldn't load anymore. I then installed gedit and load_prof was set to the deleted profile. I've changed it back and now all is well.

Thanks for the excellent updates to rdesktop.

Quote:

Originally Posted by sunmercury (Post 242366)
This new pyrdesktop had worked fine for me till last week. For some reason, it just stopped working. It would come on briefly and shut itself down. Here is the error running from console:

Nokia-N800-23-14:/usr/local/bin# ./rdesktop.py
python[1517]: GLIB WARNING ** libglade - unknown property `program_name' for cla
ss `GtkAboutDialog'
python[1517]: GLIB WARNING ** libglade - could not convert string to type `GStrv
' for property `authors'
./rdesktop.py:134: GtkWarning: Mixing deprecated and non-deprecated GtkToolbar A
PI is not allowed
self.wTree = gtk.glade.XML(self.gladefile)
Traceback (most recent call last):
File "./rdesktop.py", line 466, in <module>
handle = rdesktop()
File "./rdesktop.py", line 205, in __init__
self.load_profile("", "", "", "/apps/rdesktop/prof"+load_prof)
File "./rdesktop.py", line 441, in load_profile
self.name.set_text(self.client.get_string(profile + "/name"))
TypeError: GtkEntry.set_text() argument 1 must be string, not None

It seems like some library is corrupt. I try to uninstall/reinstall pyrdesktop (and even python launcher) many times to no avail.
I can still run rdesktop-cli fine from console. So this must be a problem with the pyrdesktop front end. Would someone please help ? I am running diablo version 4.2008.30-2. Any advice is greatly appreciated. Thanks !!!

Quote:

Originally Posted by TrueJournals (Post 242411)
Hmm... I thought I fixed that bug... I'll try to get a new version of pyrdesktop in extras later today with a real fix later today. What version of pyrdeskop are you currently running? As a temporary fix, open xterm and type in
Code:

gconftool -u /apps/rdesktop/load_prof
and hit enter.

I've run into the same problem that seems to have afflicted a few users here - namely whereby pyrdesktop doesn't load anymore after you delete some old profiles.

I've quoted some posts above which suggest that there's a solution but it seems to be escaping me.

Typing
Code:

gconftool -u /apps/rdesktop/load_prof
in xterm seems to have no effect. What is it supposed to do?

guiltig's post seems to suggest that pyrdesktop is trying to pick up a deleted profile. Is there a way via the command line to specify a profile that pyrdesktop will pick up?

Any help is gratefully appreciated.

I'm using :
Code:

pyrdesktop Version 1.5.0-6
rdesktop_cli Version 1.6.3-maemo2
OS 2008 (5.2008.43-7)


TrueJournals 2009-04-24 00:34

Re: New rDesktop (with new frontend)
 
Hmm... the gconftool line should unset the setting that tells pyrdesktop which profile to load by default, causing it to not load any profile. Since that doesn't fix the problem, it seems you're having a different issue. Can you run
Code:

python2.5 /usr/local/bin/rdesktop.py
from xterm and post the output?

Fionn 2009-04-24 00:57

Re: New rDesktop (with new frontend)
 
Running that command in Xterm gives the following:

Code:

~ $ python2.5 /usr/local/bin/rdesktop.py
python2.5[3543]: GLIB WARNING ** libglade - unknown property `program_name' for class `GtkAboutDialog'
python2.5[3543]: GLIB WARNING ** libglade - could not convert string to type `GStrv' for property `authors'
/usr/local/bin/rdesktop.py:134: GtkWarning: Mixing deprecated and non-deprecated GtkToolbar API is not allowed
self.wTree = gtk.glade.XML(self.gladefile)
Traceback (most recent call last):
File "/usr/local/bin/rdesktop.py", line 466, in <module>
handle = rdesktop()
File "/usr/local/bin/rdesktop.py", line 205, in __init__
self.load_profile("", "", "", "/apps/rdesktop/prof"+load_prof)
File "/usr/local/bin/rdesktop.py", line 441, in load_profile
self.name.set_text(self.client.get_string(profile + "/name"))
TypeError: GtkEntry.set_text() argument 1 must be string, not None
~ $

As that's the same output as reported upthread by others I assumed it was the same problem.

Is there a way to check if the
Code:

gconftool - u /apps/rdesktop/load_pref
was run correctly? e.g. a more verbose version of that command?
When I ran it I was just returned to the command line with no indication of failure or success.

TrueJournals 2009-04-24 01:25

Re: New rDesktop (with new frontend)
 
Hmm.. that does indicate that you're trying to load a profile that's been deleted (just wanted to verify). Also, be careful with your spaces! There should be no space between the dash and the u in the gconftool command. On top of that it's load_prof, not load_pref.

To verify, you can install gconf-editor, and browse to /apps/rdesktopand check what value the load_prof key is set to. You can also edit or unset the key by right clicking on it in gconf-editor.

Fionn 2009-04-24 10:45

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by TrueJournals (Post 281741)
Also, be careful with your spaces! There should be no space between the dash and the u in the gconftool command. On top of that it's load_prof, not load_pref.

Yep, my bad. I really shouldn't be posting in the early hours of the morning :o.

Quote:

Originally Posted by TrueJournals (Post 281741)
To verify, you can install gconf-editor, and browse to /apps/rdesktopand check what value the load_prof key is set to. You can also edit or unset the key by right clicking on it in gconf-editor.

I installed gconf-editor as you suggested and the entries for the rdesktop key are shown below.

http://i39.tinypic.com/125tfg1.png

http://i39.tinypic.com/24zljj6.png

I reset the server keys to match my IP.
Initially it didn't appear to solve the issue but I ran
Code:

gconftool -u /apps/rdesktop/load_prof
again and that appears to have cleared the loadprof 8 entry.

In any case the issue seems to be resolved without having to reflash. Thanks a lot for your patience and help :).

P.S. Out of curiosity what does the load_prof key do?

nry 2009-07-05 15:02

Re: New rDesktop (with new frontend)
 
Just out of curiousity, running this on my 770 with OS2007HE, problem im having is when the screen turns off (got this set for 5 mins at the moment) then is turned back on the rdesktop application is not full screen.

Is there any way to keep it full screen?

Besides that, excellent application!

TrueJournals 2009-07-07 05:00

Re: New rDesktop (with new frontend)
 
nry: Not that I know of... I experimented a lot with getting fullscreen/unfullscreen to work. I have no experience in C, much less dealing with X windows, so my implementation of getting it fullscreen is pretty hacky. I welcome anyone to look over the code and see if something can be done better, but you'll just have to deal with putting it back to full screen until that happens.

qwerty12 2009-07-07 10:58

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by TrueJournals (Post 302469)
nry: Not that I know of... I experimented a lot with getting fullscreen/unfullscreen to work. I have no experience in C, much less dealing with X windows, so my implementation of getting it fullscreen is pretty hacky. I welcome anyone to look over the code and see if something can be done better, but you'll just have to deal with putting it back to full screen until that happens.

libosso has a function that lets you do things when the display goes off (generally for power saving etc)

Here's my half-working (well, it catches the display going off but the fullscreening is iffy), lame attempt (my C sucks; hoping to catch the Vala and Python ship myself) of getting it to toggle fullscreen when the display goes off:
http://pastebin.com/f54a1b074

Actually, come think of it: You'd want to enable fullscreen when state is OSSO_DISPLAY_ON as you unfullscreen it beforehand.
And I should really osso_deinitialize...

But, anyway, many thanks for this: I find it usable now that I have a keyboard.

munky261 2009-08-07 06:10

Re: New rDesktop (with new frontend)
 
I just started using this for the first time and had a question, is it possible to copy a file from a folder on my pc to my tablet?

munky261 2009-08-08 01:18

Re: New rDesktop (with new frontend)
 
Nevermind, figured that one out....any idea why this will connect to my xp machine, but not to my vista, will most routers with a firewall not let you open a port to two different computers on the same network?

TrueJournals 2009-08-08 02:57

Re: New rDesktop (with new frontend)
 
munky261: It'd be impossible to have one port forwarded to two different computers... Your router would never know where to put the traffic! Try following Microsoft's directions for how to change the port RDP uses... http://support.microsoft.com/kb/306759

munky261 2009-08-08 23:50

Re: New rDesktop (with new frontend)
 
It seems I cant connect cause my vista machine is only home premium. Dammit...lol

munky261 2009-08-11 00:02

Re: New rDesktop (with new frontend)
 
Ok, another question, my xp machine connects fine when on the same network but wont connect outside of that, any ideas what I have to do to get it to connect from anywhere?

pinguino89 2009-08-11 00:16

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by munky261 (Post 310648)
Ok, another question, my xp machine connects fine when on the same network but wont connect outside of that, any ideas what I have to do to get it to connect from anywhere?

same problem!!!
they adviced me to port-forward the por 3389 (wich rdesktop use)
try to do this!!!

it didn't work for me...but it might be my router (alice gate 2 plus...sh*t :( )

munky261 2009-08-11 00:52

Re: New rDesktop (with new frontend)
 
I already had to open that port in the router for it to work as it is. Do I need to use a different IP address when Im away from the home network?

Cruelkix 2009-08-11 01:40

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by munky261 (Post 310664)
I already had to open that port in the router for it to work as it is. Do I need to use a different IP address when Im away from the home network?

Yes. You have an IP address that your ISP gives you. When you RDP in you need to use that IP address. From there you need to tell your router which computer to forward the request on to. Most likely you will be coming in on port 3389. SO you need to tell your router, "hey router, when somebody makes a request for info on 3389 send it to this comp, 192.168.xxx.xxx." Thats when you will get asked for the password that you set up. You need to do this in teh port forwarding section of your router.

I have two different Profiles for rdp. One for home and one for not at home. I forget hgow I have it set up but if I use a different user name I can get it to go to 1 of my 2 comps on my home network from outside.

HTH.

Good luck!

munky261 2009-08-11 10:51

Re: New rDesktop (with new frontend)
 
I already have port3389 forwarded for that computer, and the IP that is entered is 192.168.xxx.xxx but that wont work outside my home network. If the address I have entered that works when I am at home isnt the one my isp gives me, what else would I use?

Addison 2009-08-31 02:43

Re: New rDesktop (with new frontend)
 
Okay. I think I'm lost.

Thought I would post and beg for some help. :)

I'm using
Microsoft Windows XP
Home Edition
Version 2002
Service Pack 2

I've followed all of these steps with success I believe.
Remote Desktop

On my tablet, I'm just getting a connection refused error.

I finally got around to getting VNC viewer working perfectly but I thought I would try this one out as well.

Any advice from you guys?

Thanks!

Edit:
Forgot to mention that the only thing I have installed is pyrdesktop from the application menu and I'm using the most currrent version of Diablo.

JayOnThaBeat 2009-08-31 02:55

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by munky261 (Post 310780)
I already have port3389 forwarded for that computer, and the IP that is entered is 192.168.xxx.xxx but that wont work outside my home network. If the address I have entered that works when I am at home isnt the one my isp gives me, what else would I use?

The whole point of port-forwarding is to tell your router that when a request comes from the outside world to your external ip address, looking to access a certain port, it points that request to a certain machine on your network (ie 192.168.x.x)

Visit http://whatismyipaddress.com from your browser. That is your external ip address.

Then, you can goto http://DynDNS.com and set up a url that forwards to your ip address. There is software that you can download from them, something like "dyndns updater" and it will change where your new url forwards to every time your ip address changes.

SO,

if your connecting to, say your.ip.add.ress:3389 right now, you can assign yourdomain.whatever.com (which is free to set up) to point to your.ip.add.ress.

The result is that you can connect to yourdomain.whatever.com:3389 and it will always point to your port on your machine, even if your ip address changes.

sic0048 2009-08-31 18:53

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by Addison (Post 318556)
Okay. I think I'm lost.

Thought I would post and beg for some help. :)

I'm using
Microsoft Windows XP
Home Edition
Version 2002
Service Pack 2

I've followed all of these steps with success I believe.
Remote Desktop

On my tablet, I'm just getting a connection refused error.

I finally got around to getting VNC viewer working perfectly but I thought I would try this one out as well.

Any advice from you guys?

Thanks!

Edit:
Forgot to mention that the only thing I have installed is pyrdesktop from the application menu and I'm using the most currrent version of Diablo.

Do you have another windows computer (or any other OS that supports RDP I guess) on your network that you can use to try and RDP into the computer? This would allow you to find out if it is a setup issue with the host computer or if it is a connection issue with the Nokia.

It honestly sounds like a host issue with the Windows computer since you get a connection refused error. If the error was something like connection timed out, that would be something else. But it sounds like you are getting communication between the host computer and the Nokia, but it is refusing the connection.

You are entering your Windows user ID credentials and password into the PyRDesktop connection manager, correct? Are you typing in the host computer's name or IP address? Or have you tried it both ways?

Addison 2009-08-31 19:27

Re: New rDesktop (with new frontend)
 
I only have one home computer with one Operating System of Windows XP Home Edition Service Pack 2.

It does have the Remote Desktop Connection application on it so I'm not quite sure what little step I'm missing here.

I supposed I could possibly hack my wife's laptop that's running Vista but I would have to hide all of the kitchen knives first. :D

So here's my setup:
http://img134.imageshack.us/img134/3...simagesscr.png

Paige is the name of my computer and my password and host address should be correct.

I did install Pyrdesktop on my old Tablet, would that make a difference? I never edited any settings in the Home Network on my router except for my PC so I don't see why that should matter.

Also, am I supposed to install any Python apps for this to work correctly? All I chose was Pyrdesktop from the application manager.

Anyway, post some suggestions to keep me going on this.

Thanks! :)

Saturn 2009-08-31 20:18

Re: New rDesktop (with new frontend)
 
Hi,

Don't use the computer name (paige) but the user name.

hih

Addison 2009-08-31 20:24

Re: New rDesktop (with new frontend)
 
Sorry, I should have mentioned that they're both the same.

jlslate 2009-08-31 20:28

Re: New rDesktop (with new frontend)
 
I don't believe XP Home can be used for an RDP host, only as a client, at least without doing a little hacking.;)

Saturn 2009-08-31 20:52

Re: New rDesktop (with new frontend)
 
check for some old threads through google.

here is one for example:
http://talk.maemo.org/showthread.php?t=15448

i'm sure there was a howto for xp home.

sic0048 2009-09-01 13:56

Re: New rDesktop (with new frontend)
 
Yeah, I have no doubt that the "connection rejected" issue you are having is due to the fact you are using Windows XP Home. RDP hosting was specifically left out of the Home addition.

Google "XP Home RDP Hack" for more information. It should be possible to modify Home to host a RDP session, but you'll have to do this before it will work on that machine.

Addison 2009-09-01 14:33

Re: New rDesktop (with new frontend)
 
I've got TightVNC plus the Mirage Driver for TightVNC on my home computer with VNC Viewer on my tablet.

The end result on my side is pretty, darn fantastic.

Any additional benefits for opting on pyRDesktop over my current set up that I have?

The Windows home hack is a little spooky for me, but certainly is something I think I could manage if it would be worth the extra trouble.

rcboyit 2010-01-19 01:52

Re: New rDesktop (with new frontend)
 
Hi there!
This IS the killer app for my tablet as it works great and is fast and reliable. I would just like on simple (I hope) thing that I've seen somewhere for the older app but I can't find how to do.
Basically I'd like to know if there's a config file that can be changed in order to make hardware buttons act in a different way.
I'd like the "back" hardware button to send "backspace" keystroke instead of "esc" and maybe it would be nice if the volume buttons on the uper part of the tablet could be programmed to increase or decrease volume on the desktop pc.
This rdp is perfect for controlling your mediacenter (xp or vista or seven mce) without turning the tv on but just playing some music with the screen off, so remapping those buttons wold be the best thing for me!
If there's someone who could explain me how to do it I would really appreciate.
Thanks in advance

MartinNZ 2010-01-19 02:52

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by rcboyit (Post 481168)
Hi there!
This IS the killer app for my tablet as it works great and is fast and reliable. I would just like on simple (I hope) thing that I've seen somewhere for the older app but I can't find how to do.
Basically I'd like to know if there's a config file that can be changed in order to make hardware buttons act in a different way.
I'd like the "back" hardware button to send "backspace" keystroke instead of "esc" and maybe it would be nice if the volume buttons on the uper part of the tablet could be programmed to increase or decrease volume on the desktop pc.
This rdp is perfect for controlling your mediacenter (xp or vista or seven mce) without turning the tv on but just playing some music with the screen off, so remapping those buttons wold be the best thing for me!
If there's someone who could explain me how to do it I would really appreciate.
Thanks in advance

Try this:
http://wiki.maemo.org/Remapping_keyboard

Netweaver 2010-01-26 09:49

Re: New rDesktop (with new frontend)
 
any chance of getting pyRdesktop compiled also for N900 ?

Thanks.

gokuman56 2010-10-05 00:35

Re: New rDesktop (with new frontend)
 
Sound is not working, well it is, but it is clunky and robotic, so you can't tell a difference between the types of sounds.
Is there a fix for this?
I'm using the N810.
Thanks


| Prev |   4     5   6 |
All times are GMT. The time now is 21:04.

vBulletin® Version 3.8.8