| Prev |   1   2   3     4   | Next | Last
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)

mikomraz 2008-08-18 07:15

Re: New rDesktop (with new frontend)
 
thanks a lot.. but now I have the same problem as with the previous front end; when I click connect the window just disappears, with nothing happening afterward.

Sparks 2008-08-18 12:27

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by mikomraz (Post 214822)
thanks a lot.. but now I have the same problem as with the previous front end; when I click connect the window just disappears, with nothing happening afterward.

I would try running it manually in X-terminal to see what it says.

qwerty12 2008-08-18 12:49

Re: New rDesktop (with new frontend)
 
Quote:

~ $ python2.5 `which rdesktop.py`
Traceback (most recent call last):
File "/usr/local/bin/rdesktop.py", line 141, in <module>
handle = rdesktop()
File "/usr/local/bin/rdesktop.py", line 50, in __init__
self.host.set_text(self.client.get_string("/apps/rdesktop/server")) # The old rdesktop app called it server, let's keep compatibility
TypeError: GtkEntry.set_text() argument 1 must be string, not None
N800, Diablo with latest SSU update, python from diablo repositories. Maybe I'm being awkward but installing the old gui isn't a solution :)

EDIT: Looks like it is, done it anyway :)

mikomraz 2008-08-18 14:44

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by Sparks (Post 214862)
I would try running it manually in X-terminal to see what it says.

and how do I do that?

TrueJournals 2008-08-18 19:15

Re: New rDesktop (with new frontend)
 
mikomraz: What I can only assume to be happening is the program spawns an rdesktop session, but it fails to connect to the remote computer. Currently, I don't have any kind of error dialog to let you know this, but I'll try to get one in the next version. You can run it in xterm by opening xterm (Utilities > X Terminal in the application menu), and typing:
Code:

/usr/local/bin/rdesktop.py
(And pressing enter). The program will open, do whatever you normally do to connect, and post all the output it gives you in X Terminal here, and I'll see what I can do.

And now, for a small development update: I have most features planned for the next release all working. I plan to change how installing will work in the next version, though. The package will be split into two packages: rdesktop-cli, and pyrdesktop. They will both be in maemo extras (I'm working on that part right now). So, keep watching this thread! I should have everything in extras in a day or two...

TrueJournals 2008-08-19 00:53

Re: New rDesktop (with new frontend)
 
Good news! pyrdesktop and rdesktop-cli are now in diablo extras! Unfortunately, you can't upgrade from 1.0.0 to 1.3.1-2 (the current version). Just uninstall the current version and the new version will install no problem. I've fixed most bugs and implemented most features, but there's still a lot I want to add to this program.

pyrdesktop and rdesktop-cli are in chinook extras-devel right now. Does anyone with a n800 or n810 have chinook installed to test it out? It built fine, so there shouldn't be a problem, but just in case...

You can report all bugs here, or in the garage page for rdesktop! I've uploaded pyrdesktop and rdesktop-cli (for diablo), and the source there, also. Enjoy! Going to update the first post with the new information now...

sds910 2008-08-19 01:23

Re: New rDesktop (with new frontend)
 
Works marvelously for my XP box, but... as I feared above, with no obvious means to specify the -o switch, one cannot connect to the running console session on Windows Server 2003. Is this something you can implement in the next version?

TrueJournals 2008-08-19 01:38

Re: New rDesktop (with new frontend)
 
sds910: the -0 switch (It's a zero, not an "oh") was something I played with before making this release, but I was never able to see it having any affect on my connection. Perhaps, though, that's because I'm running Windows XP. You can try using whatever switches you want by running rdesktop-cli directly in the command line. I'm unfamiliar with this switch, so if you could give me a bit of a rundown on what it's supposed to do, that would be great.

sds910 2008-08-19 01:50

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by TrueJournals (Post 215118)
sds910: the -0 switch (It's a zero, not an "oh") was something I played with before making this release, but I was never able to see it having any affect on my connection. Perhaps, though, that's because I'm running Windows XP. You can try using whatever switches you want by running rdesktop-cli directly in the command line. I'm unfamiliar with this switch, so if you could give me a bit of a rundown on what it's supposed to do, that would be great.

Yes, of course it's a 0. Brain fart...

On XP, it's not necessary, but it's required on Windows server 2003 in order to connect to the running console session. Without it, you're logging on to a new session with no ability to interact with programs running on the console desktop... and you're potentially launching duplicate iterations of software that's set to run upon login. Y'see? For those of us that need to administer a 2003 box, this is vital...

bluesubaru 2008-08-19 02:14

Re: New rDesktop (with new frontend)
 
TrueJournals: I had this saved in my bookmarks from some Server 2003 work I did recently. I might give you some insight on the console connection.

http://support.microsoft.com/kb/278845 How to shadow the console

sds910 2008-08-19 02:31

Re: New rDesktop (with new frontend)
 
Right... bottom line: the old rdesktop on Chinook using -0 worked for W2K3...

TrueJournals 2008-08-19 02:32

Re: New rDesktop (with new frontend)
 
sds190: I just sent you a PM with a link to a new deb with experimental support for the -0 switch. Let me know if it works, and I'll push it to extras if it does.

bluesubaru: Thanks for the link, reading it now, and understanding this a bit more...

sds910 2008-08-19 02:41

Re: New rDesktop (with new frontend)
 
oh, yes indeedy,, it works like a charm.

Mega Thanks!!!!!

TrueJournals 2008-08-19 02:45

Re: New rDesktop (with new frontend)
 
Alright, thanks for the help with that!

I've pushed 1.3.2-1 to extras, so it should show up soon...

willplaice 2008-08-19 15:31

Re: New rDesktop (with new frontend)
 
question, if i'm running diablo is there a gui front end that works... am i doing something wrong, i get package not found errors (python i assume)


many thanks, Will

Benson 2008-08-19 16:39

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by willplaice (Post 215301)
question, if i'm running diablo is there a gui front end that works... am i doing something wrong, i get package not found errors (python i assume)


many thanks, Will

It installs fine here (with Diablo, all up-to-date); it should tell why it can't be installed in the info dialog.

TrueJournals 2008-08-19 16:57

Re: New rDesktop (with new frontend)
 
Yes, just make sure you have maemo extras for diablo enabled, and you should be able to install pyrdesktop with no problems... I'll try to make a big green install button for the first post here...

bluesubaru 2008-08-19 17:11

Re: New rDesktop (with new frontend)
 
Is desktop switching enabled in this version? It looks like something is there. When I push the full screen button, rdesktop goes out of fullscreen, but as soon as I release the button, it goes back to fullscreen

TrueJournals 2008-08-19 17:14

Re: New rDesktop (with new frontend)
 
Yeah, I thought I fixed that, but appearently not. If you press the fullscreen button really quick, it should go out of fullscreen, but it's a pain... I'll look into that and hopefully get a new version of rdesktop-cli in extras later today...

[edit]Oops! When I was making the fix for rdesktop-cli, I was in a python mindset when coding in C... Doesn't work so well... Fix just built in extras-devel, I'll test it out and push it to extras if everything is fixed.

[edit2]OK, there's a new version (1.6.1-maemo1) in maemo extras that has fixed the fullscreen bug! Check for updates, and you can just update rdesktop-cli

bluesubaru 2008-08-19 22:20

Re: New rDesktop (with new frontend)
 
OK, got rdesktop-cli 1.6.1 installed and the fullscreen switch works well. Good work.

Just one thing to comment on. When it's not full screen, if you hit the minimize button, the app is gone; because it does not show up in the home key list, so there is no way to switch back to it. But, it's not a big deal .

TrueJournals 2008-08-20 00:53

Re: New rDesktop (with new frontend)
 
Hmm.. this does not happen for me. How it acts is a bit weird, but it should add the window to the sidebar when you bring it out of fullscreen (it actually destroys and recreates the window, from what I can tell...). I'll look into this more tomorrow.

willplaice 2008-08-20 07:47

Re: New rDesktop (with new frontend)
 
just wanted to say a huge thanks for the development on this, having it run in a non full screen is fantastic !

cheers, Will

willplaice 2008-08-20 08:19

Re: New rDesktop (with new frontend)
 
i can't get any audio... i have audio if i remote into the session using a std rdesktop session, anyone else have that problem ?

mikomraz 2008-08-20 10:41

Re: New rDesktop (with new frontend)
 
now I upgraded to the new version, and it works!
the problem now is that the front end does not save the settings, and the audio not working, giving the following messaga: "WARNING: no working audio-driver found
".

markroedel 2008-08-20 14:23

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by mikomraz (Post 215678)
now I upgraded to the new version, and it works!
the problem now is that the front end does not save the settings

I had this problem too -- in my case, the save function on the file menu works fine, but the little disk icon to the lower left doesn't seem to do anything.

TrueJournals 2008-08-20 15:50

Re: New rDesktop (with new frontend)
 
Hmm, this is strange indeed. I am now getting the problems with bringing the rdesktop window out of fullscreen, so I'll look into that. Also, when I build rdesktop-cli on my computer, sound works fine, but it doesn't work when the autobuilder builds it. I'll look into this too. I have a feeling I'm missing a package needed to build sound support.

I've put a new version of pyrdesktop into extras, which fixes the buttons and adds icons to most of the menu items.

qwerty12 2008-08-20 16:42

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by TrueJournals (Post 215781)
Also, when I build rdesktop-cli on my computer, sound works fine, but it doesn't work when the autobuilder builds it. I'll look into this too. I have a feeling I'm missing a package needed to build sound support.

I hope you don't mind, I took a quick look as sound is important to me :) . You already specify libasound2-dev as a build depend which is correct, but you may also need to specify libc6-dev manually (I'm not sure on that one, I'm pretty sure libc6-dev would be essential anyway, it provides /usr/include/sys/soundcard.h at least which the configure script checks for).

You may also wish to specify --with-sound manually in the rules file for ./configure.

TrueJournals 2008-08-20 17:20

Re: New rDesktop (with new frontend)
 
qwerty12: Thanks. Are you looking in extras or extras-devel? I actually figured out the sound problem, and a version with sound fixed is in extras-devel. Right now, I'm trying to get rdesktop to show up in the task bar. I just don't understand why it used to work for me, but doesn't anymore...

willplaice 2008-08-20 18:26

Re: New rDesktop (with new frontend)
 
hi i've installed the latest version you've posted, i do now get audio, but it is very distorted... any ideas

bluesubaru 2008-08-20 18:54

Re: New rDesktop (with new frontend)
 
suggestion: In the description of the app that shows up in application manager, it would help if you list the items that the release fixes (or adds). That way we know what features to test out.

I'm running pydesktop 1.3.2-2 and version 1.3.2-3 is available.

TrueJournals 2008-08-20 20:15

Re: New rDesktop (with new frontend)
 
willplaice: The audio is distorted, I guess, because the libraries to get the audio from RDP aren't efficient enough for the tablets. Like I said earlier, audio works. It doesn't work well enough to be practical, but it does work. The main reason I gave audio options was for the ability to turn it off, but I put the option to play it on the tablet because it more or less worked. Since I am don't really know any C, and know even less about audio handling in RDP, I'm not going to do anything about the unoptimized code. If someone else wants to take a look at it, and makes it better, I will gladly give them credit for their work if they let me include it ;-)

bluesubaru: I really should start doing something like that... .deb files allow for a changelog (which I haven't been using in pyrdesktop), but the Application Manager doesn't show the changelog in a deb file...

1.3.2-3 fixes the save and delete buttons, and adds icons to the menu items. I forgot to add that to the main post... I'll go do that now :-P

[edit]I'm making progress on getting the rdesktop windows in the taskbar. It seems that if you have the old rdesktop frontend installed, it shows up... So, I'll look into that...

[edit2] Now, I've narrowed it down to one file. It seems that if you have rdesktop.desktop from the old frontend in /usr/share/applications/hildon, then the windows will show up, no problem... without that file... nothing... Any code gurus know why this is? Can you help me fix it? ;-)

[edit3] OK... I just need to include a .desktop file and some icons in the rdesktop-cli deb... How do I do that...?

IcyAirs 2008-08-21 03:11

Re: New rDesktop (with new frontend)
 
I'm not sure what's wrong, but pyrDesktop just never connects for me... I've tried at various different versions to see if it would work, but everytime it just gives me a "Sorry, there was an error in the remote desktop connection. Connection refused." error....

Running the latest diablo, latest pyRdesktop and WinXP professional

I'm fairly certain the settings are correct as i'm using the exact same settings as when i was using 0.4diablo1 rdesktop, and that one can connect no problem (although i need to run it 3 times for it to connect every time)...

Running rdesktop.py in xterm and connecting as usual gets me a fairly standard "how to use cli rdesktop" output, with the last 2 lines being:

-4: use RDP version 4
-5: use RDP version 5 (default)


any idea what's going on here?

TrueJournals 2008-08-21 03:34

Re: New rDesktop (with new frontend)
 
Does any of your information (username, password or domain) contain a space? If so, that would be the culprit. For a temporary fix, just put quotes around the item that has a space. Ex: if my username was True Journals, I would put "True Journals" for the username. I'll include a true fix in the next version...

On another note, I'm just about to test a fix for the taskbar bug... Hopefully a new version of rdesktop-cli will be in extras soon...

rdesktop-cli version 1.6.2-maemo1 is currently in extras! All users are STRONGLY recomended to upgrade! This version finally fixes taskbar issues!

IcyAirs 2008-08-21 11:09

Re: New rDesktop (with new frontend)
 
ahah! that would be the case... guess i wasted a few hours scratching my head while trying to figure out what's wrong

you are awesome, thanks!

sds910 2008-08-21 13:45

Re: New rDesktop (with new frontend)
 
Problem:

Use rDesktop and log in to a server. Walk away for a minute and allow the screen to automatically shut down. Tap the screen: rdesktop is gone. Did it exit? No. Run top in an XTerm window and there's your rdesktop process, happily running away in the background eating up 50% of your N800's CPU cycles.

Eek!

TrueJournals 2008-08-21 14:22

Re: New rDesktop (with new frontend)
 
Confirmed as a bug, thanks. I'm working on a fix now... this is a pretty big one, so it's in top priority currently.

TrueJournals 2008-08-21 19:48

Re: New rDesktop (with new frontend)
 
Wow! After a whole bunch of trial and error, I finally got a good fix for this bug! I've just pushed rdesktop-cli version 1.6.3-maemo1 to maemo extras, so it should show up there in about an hour. This new version correctly handles the power button being pressed, and the screen going black. If the power button is pressed, your session will come out of fullscreen, and be put in the taskbar, so you can see the power menu. If the screen goes black, the session will also come out of fullscreen.

Now, back to work on the frontend... :-P

sds910 2008-08-21 21:41

Re: New rDesktop (with new frontend)
 
Fixed! Way to go!

bluesubaru 2008-08-21 22:11

Re: New rDesktop (with new frontend)
 
I'll second that.

New version looks good!

mscdex 2008-08-22 09:20

Re: New rDesktop (with new frontend)
 
Quote:

Originally Posted by TrueJournals (Post 216201)
Wow! After a whole bunch of trial and error, I finally got a good fix for this bug! I've just pushed rdesktop-cli version 1.6.3-maemo1 to maemo extras, so it should show up there in about an hour. This new version correctly handles the power button being pressed, and the screen going black. If the power button is pressed, your session will come out of fullscreen, and be put in the taskbar, so you can see the power menu. If the screen goes black, the session will also come out of fullscreen.

Now, back to work on the frontend... :-P

1.6.3-maemo1 isn't showing up for me as an available update under chinook. I tried both apt-get update and refresh application catalog in the app manager gui. I currently have 1.6.2 installed.


| Prev |   1   2   3     4   | Next | Last
All times are GMT. The time now is 21:04.

vBulletin® Version 3.8.8