maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900- Remote Desktop (https://talk.maemo.org/showthread.php?t=33770)

Renesis 2009-12-12 22:26

Re: N900- Remote Desktop
 
Quote:

Originally Posted by dreixel (Post 424545)
2) I use rdesktop-cli in fullscreen mode, because else I can't see the taskbar. However, I don't know how to terminate the program without killing it (using the power button), since I can't get away from the remote desktop. How should I do this?
3) Any tips on how to (safely) store passwords? I use keyboard (username/password) and public key authentication for ssh. After this I have again to input username/password for rdesktop. I'd like to know how to bypass typing these passwords, if at all possible.

2: Go to the start menu (on your windows box) and select "Disconnect"

3: Enter this as the command to start rdesktop, substituting your own information where applicable:
Code:

rdesktop-cli -f -u *your Username* -p *your Password* *your Computers URL or IP address*

IcyAirs 2009-12-13 02:17

Re: N900- Remote Desktop
 
Is it just me or is it even harder to tap things on the top and bottom edge of the screen now (ie windows taskbar or the window controls on top right)

On the N810 the only issue i had was with the right scrollbars, and i assumed that with the N900's screen being flush it would be able to detect everything just fine, but it seems like in practice the bottom and top are much less accurate than before (left and right edges seems perfect now, though, for what its worth). I wonder if making the resistive contact surface larger than theviewable area would make touches to the edge of the screen reasonably accurate.

Yeah, so are you guys having issues hitting the taskbar? I've tried calibrating the screen multiple times, but it seems like its once again a hardware limitation

HugoSon 2009-12-13 09:52

Re: N900- Remote Desktop
 
rdesktop-cli -f -u username -p password 123.123.123.123:1234 works perfect for me. But the rdesktop app not - and it would have been so nice to have some UI...

Any hints?

wizbowes 2009-12-13 10:03

Re: N900- Remote Desktop
 
Don't forget you can use the accessability on screen keyboard if you need specific keys that the N900 can't handle.

askarir 2009-12-14 18:02

Re: N900- Remote Desktop
 
Quote:

Originally Posted by HugoSon (Post 425345)
rdesktop-cli -f -u username -p password 123.123.123.123:1234 works perfect for me. But the rdesktop app not - and it would have been so nice to have some UI...

Any hints?

I am having the exact same problem but at least rdesktop-cl is working.

HugoSon 2009-12-14 18:07

Re: N900- Remote Desktop
 
Quote:

Originally Posted by askarir (Post 427444)
I am having the exact same problem but at least rdesktop-cl is working.

...and fast. Just great - any ideas how to make a batch/script and a shortcut on the desktop. That would help so much already... tired of typing into the terminal prompt each time.

casper27 2009-12-14 18:11

Re: N900- Remote Desktop
 
Download the Rdesktop-cl it already comes with a GUI that saves most of the setting for you.

HugoSon 2009-12-14 18:17

Re: N900- Remote Desktop
 
rdesktop-cli you mean? No UI at all - rdesktop (1.7 something) has a UI yes - but does not work for me (and a couple of others as you can read here...)

casper27 2009-12-14 18:38

Re: N900- Remote Desktop
 
Very strange I have no probs at all with 1.7. Using it through ssh on Lan and over internet gateway. All I can suggest are the problems I faced when setting up initially.
1)Make sure you have a server running on the windows machine. I use Cygwin which is free and easy to set up.
2) If you are running Vista home or Xp home it will need to be patched to get the term server running.
3)Make sure to open port 22 on your router and forward to appropriate ip.
4)Make sure to allow remote access to computer and open port 22 on firewall if needed.
5)Try sending it through ssh tunnel specific to local host
ssh -L3389:localhost:3389 user@remotemachine
Then when connection is established log into rdesktop and instead of putting ip address type
localhost:3389
6)Make sure your workgroup matches that of the workgroup computer you are logging into.
7)Double check that you are using the correct ip address if you are trying to connect outside of your LAN you will need your public ip address.
8) Finally make sure that port 3389 or whatever port you choose to use is listening on remote computer. For windows type:-
Netstat -a -n
into cmd prompt.

Sorry if these are basics to alot of you these are just issues that I have come accross and overcome to make it work. Hope it comes together.

ewan 2009-12-14 18:51

Re: N900- Remote Desktop
 
Quote:

Originally Posted by HugoSon (Post 425345)
rdesktop-cli -f -u username -p password 123.123.123.123:1234 works perfect for me. But the rdesktop app not - and it would have been so nice to have some UI...

Any hints?

Judging by this post earlier in the thread it appears that the new rdesktop doesn't understand the syntax for non-standard ports and tries to resolve the whole thing as a hostname. With a server on the usual port 3389 it works very nicely though.

HugoSon 2009-12-14 18:59

Re: N900- Remote Desktop
 
Quote:

Originally Posted by ewan (Post 427535)
Judging by this post earlier in the thread it appears that the new rdesktop doesn't understand the syntax for non-standard ports and tries to resolve the whole thing as a hostname. With a server on the usual port 3389 it works very nicely though.

Indeed - we changed the ports back to default, opened the port on the ff again - here we go. Changed back - nothing...

soleil 2009-12-14 19:04

Re: N900- Remote Desktop
 
There are a chance for a VNC Server on N900 ? So if my freind can't configure his N900 I will can help him

Rob1n 2009-12-15 09:01

Re: N900- Remote Desktop
 
Quote:

Originally Posted by soleil (Post 427556)
There are a chance for a VNC Server on N900 ? So if my freind can't configure his N900 I will can help him

There's already x11vnc in one of the extras repositories.

IcyAirs 2009-12-16 02:07

Re: N900- Remote Desktop
 
Anyone using cli to connect having issues with strange lines appearing on screen refreshes and having text show up really wierdly, and is there any way to fix that? The rdesktop on N810 should be pretty much the same and doesn't exhibit this behavior, wonder what's up.


For those of you who think typing in your information each time is a hassle, I think there's basically 3 ways to quickly be able to connect using the cli.

1) If you don't use xterminal often, pushing up will show history of what you typed (apparently there's a bug that makes it so it doesn't save history if you use the right top X to quit, but if you use the "exit" command to quit it'll save the history... regardless, the default history list only shows the last 15 items or so, so if it doesn't show up it probably just went out of buffer)

2) Set up an alias with .profile with a command to connect to your server, works out pretty well if you have multiple machines you connect to regularly. Instructions for aliases is here, just replace "ssh etc etc" with the rdesktop-cli commands: http://talk.maemo.org/showthread.php?t=6161

3) Set up a .desktop shortcut. This is probably useful in that you can make it show up on your desktop, just tap it and it'll connect to the remote machine. Following the instructions at:
http://talk.maemo.org/showpost.php?p=409122&postcount=3
and
http://talk.maemo.org/showpost.php?p...0&postcount=26

I ended up with a .desktop file that looks something like

Code:

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=RDP Home1
Exec=/usr/bin/osso-xterm "rdesktop-cli -f -u UserName -p Password -a 16 -r disk:N900=/home/user/MyDocs -r sound:remote -0 xxx.xx.xxx.xx:####"
Icon=rdpicon
X-Osso-Type=application/x-executable

the -a and -r commands are extra stuff you don't really need, but I find useful (16 bit color, setting up the N900 MyDocs as a drive during the remote session, and playing sound on the remote machine)

Anyways, this is just a quickfix for those of you who use a different port and want to be able to connect to RDP without all the hassles of typing in your full information every time (even given the security risks of having your login information in plaintext), it would be best if the people in charge of rdesktop would fix the custom port bug and maybe even have the saved login profiles that PyRdesktop had.

z3phyr 2009-12-16 02:48

Re: N900- Remote Desktop
 
what client or how do i use this? is it compatible with tightvnc?

z3phyr 2009-12-16 04:25

Re: N900- Remote Desktop
 
dont worry i got it working with tightvnc but its real basic? how come i cant see my tskbar? does it have file transfer or anything?

HugoSon 2009-12-16 08:57

Re: N900- Remote Desktop
 
Quote:

Originally Posted by IcyAirs (Post 429903)
...
Anyways, this is just a quickfix for those of you who use a different port and want to be able to connect to RDP without all the hassles of typing in your full information every time
...

Great - thank you very, very much!

markedsword 2009-12-17 17:49

Re: N900- Remote Desktop
 
Hi, i recently started using rdesktop-cli a few days ago, and everything worked fine.
but now, starting today. My keyboard wont work on the remote desktop, but the mouse input still works. none of my settings changed.
Is anyone able to help me?

asidana 2009-12-17 18:04

Re: N900- Remote Desktop
 
anyone knows how to do right click?

jkq 2009-12-17 18:15

Re: N900- Remote Desktop
 
Quote:

Originally Posted by asidana (Post 432190)
anyone knows how to do right click?

With rdesktop 1.7, push 'Ctrl' twice.

-jkq

asidana 2009-12-17 22:36

Re: N900- Remote Desktop
 
just tried and it didnt do anything. i have selected item before double clicking ctrl

jkq 2009-12-18 00:55

Re: N900- Remote Desktop
 
Quote:

Originally Posted by asidana (Post 432611)
just tried and it didnt do anything. i have selected item before double clicking ctrl

Are you using the rdesktop-cli or the rdesktop package?

The double-click Ctrl thing is for rdesktop. Although trying it now, I find that sometimes I have to hit Fn (the blue arrow) first.

-jkq

asidana 2009-12-18 08:16

Re: N900- Remote Desktop
 
im using package

braincreation 2009-12-21 05:19

Re: N900- Remote Desktop
 
Quote:

Originally Posted by jkq (Post 432754)
Are you using the rdesktop-cli or the rdesktop package?

The double-click Ctrl thing is for rdesktop. Although trying it now, I find that sometimes I have to hit Fn (the blue arrow) first.

-jkq

this did it for me, fn+ctrl then each click is right click, do it again (or just ctrl alone) to swap back.:p

N900_NEWBIE 2009-12-24 15:28

Help!!
 
Help me, so I bought this phone now and installed this DEB file (trying to remote desktop into a Windows vista Laptop)

rdesktop_1.7-maemo1_armel under my Documents folder.

Now I open X-TERMINAL and type in root followed by

"dpkg -i /N\ 900/Documents/rdesktop_1.7-maemo1_armel.DEB"

but this just says file not found!!!

Remote desktop is the only reason I got his phone please help!

Newbie

pwngu!n 2009-12-24 15:59

Re: N900- Remote Desktop
 
@N900_NEWBIE
The file is not found, because you are specifying a file that doesn't exist. There is no "/N 900" directory. I think you are getting confused with the name of the mount point. You can find where you placed your file (or any deb file) by doing this:

e.g.
Code:

find / -iname "*.deb" -type f
Then use the full path to the deb with dpkg. Although since I take it you are not familiar with linux commands you should know that you could potentially damage your device.

Edit: Here is the find manual, so you know what the switches do.

N900_NEWBIE 2009-12-24 17:47

Re: N900- Remote Desktop
 
Thanks but this dont work for me. It says not found. I typed in exact as you- are there any spaces in between?


Quote:

Originally Posted by pwngu!n (Post 440410)
@N900_NEWBIE
The file is not found, because you are specifying a file that doesn't exist. There is no "/N 900" directory. I think you are getting confused with the name of the mount point. You can find where you placed your file (or any deb file) by doing this:

e.g.
Code:

find / -iname "*.deb" -type f
Then use the full path to the deb with dpkg. Although since I take it you are not familiar with linux commands you should know that you could potentially damage your device.

Edit: Here is the find manual, so you know what the switches do.


pwngu!n 2009-12-24 18:03

Re: N900- Remote Desktop
 
Please elaborate. What says "not found"? When you run "dpkg" or "find"?

Yes there are spaces between every word. You must type it exactly as I typed it.

If would help if you could install the load applet which lets you take screenshots, and post the output of running the find command after logging in as root (if you still have trouble).

N900_NEWBIE 2009-12-24 18:10

Re: N900- Remote Desktop
 
Hi yes it says not found with the find command

Let me try again with spaces

Btw, could you type in a command exactly as you would assuming you had a .deb file in your documents directory?

I would really appreciate this!

Quote:

Originally Posted by pwngu!n (Post 440591)
Please elaborate. What says "not found"? When you run "dpkg" or "find"?

Yes there are spaces between every word. You must type it exactly as I typed it.

If would help if you could install the load applet which lets you take screenshots, and post the output of running the find command after logging in as root (if you still have trouble).


pwngu!n 2009-12-24 18:20

Re: N900- Remote Desktop
 
What documents directory do you mean? Take this scenario and go from there.

1) Plug your N900 into your usb port and select mass storage.
2) You will get a "Nokia N900" drive. Copy your deb file here, e.g. "file.deb".
3) Unmount your phone.
4) Open a terminal
5) Type "root"
- Your terminal name will change to "Nokia-N900-42-11:~#"
6) Type: "cd /home/user/MyDocs"
7) Type "ls"
- You will see the contents of this directory, including "file.deb" which you copied.
8) Type "dpkg -i file.deb"

Obviously do not include the quotations above, they include what you need to type. And note that directory names are CASE-sensitive, so write them exactly as shown above.

N900_NEWBIE 2009-12-24 18:21

Re: N900- Remote Desktop
 
now it just says permission denied :mad:

Quote:

Originally Posted by N900_NEWBIE (Post 440600)
Hi yes it says not found with the find command

Let me try again with spaces

Btw, could you type in a command exactly as you would assuming you had a .deb file in your documents directory?

I would really appreciate this!


N900_NEWBIE 2009-12-24 18:23

Re: N900- Remote Desktop
 
Ok please let me reproduce this

Quote:

Originally Posted by pwngu!n (Post 440618)
What documents directory do you mean? Take this scenario and go from there.

1) Plug your N900 into your usb port and select mass storage.
2) You will get a "Nokia N900" drive. Copy your deb file here, e.g. "file.deb".
3) Unmount your phone.
4) Open a terminal
5) Type "root"
- Your terminal name will change to "Nokia-N900-42-11:~#"
6) Type: "cd /home/user/MyDocs"
7) Type "ls"
- You will see the contents of this directory, including "file.deb" which you copied.
8) Type "dpkg -i file.deb"

Obviously do not include the quotations above, they include what you need to type. And note that directory names are CASE-sensitive, so write them exactly as shown above.


N900_NEWBIE 2009-12-24 18:29

Re: N900- Remote Desktop
 
:D superb!! I got that installing, one war won! Thanks so much, I am a total linux newbie. How can I award points for your most helpful psost??

Quote:

Originally Posted by pwngu!n (Post 440618)
What documents directory do you mean? Take this scenario and go from there.

1) Plug your N900 into your usb port and select mass storage.
2) You will get a "Nokia N900" drive. Copy your deb file here, e.g. "file.deb".
3) Unmount your phone.
4) Open a terminal
5) Type "root"
- Your terminal name will change to "Nokia-N900-42-11:~#"
6) Type: "cd /home/user/MyDocs"
7) Type "ls"
- You will see the contents of this directory, including "file.deb" which you copied.
8) Type "dpkg -i file.deb"

Obviously do not include the quotations above, they include what you need to type. And note that directory names are CASE-sensitive, so write them exactly as shown above.

:D

N900_NEWBIE 2009-12-24 18:31

Re: N900- Remote Desktop
 
Installed rdesktop succesfully now. One more question- what do I put inside the parameters?

I have a windows vista PC.

RDP Server
username
password
domain

pwngu!n 2009-12-24 18:35

Re: N900- Remote Desktop
 
You can click "Thanks" under a useful post I guess. :)

Quote:

Originally Posted by N900_NEWBIE (Post 440635)
Installed rdesktop succesfully now. One more question- what do I put inside the parameters?

I have a windows vista PC.

RDP Server
username
password
domain

I don't have the app installed, but have used rdesktop on my PC before, so it is most likely:

RDP server is the IP of your windows machine where you want to connect.
Username/Password are your credentials to log in.
Domain is optional, and only used if you are connecting through a windows domain. If it is a home PC you can leave it blank.

These are the details you log in normally with from the PC.

jkq 2009-12-24 18:36

Re: N900- Remote Desktop
 
RDP Server = ip address of your vista machine
username = user name on your vista machine
password = password for above user name
domain = leave blank

-jkq

N900_NEWBIE 2009-12-24 18:53

Re: N900- Remote Desktop
 
Hi

I get Rdesktop cannot work properly because there is some problem with the connection network

I am confused because I have 2 computers on and the IP on them is the same. So how would Rdesktop know where which one to connect :confused:

Quote:

Originally Posted by jkq (Post 440645)
RDP Server = ip address of your vista machine
username = user name on your vista machine
password = password for above user name
domain = leave blank

-jkq


N900_NEWBIE 2009-12-24 18:54

Re: N900- Remote Desktop
 
Thanks, I am sure I will figure that out now that the basic part is resolved. :o

Quote:

Originally Posted by pwngu!n (Post 440640)
You can click "Thanks" under a useful post I guess. :)



I don't have the app installed, but have used rdesktop on my PC before, so it is most likely:

RDP server is the IP of your windows machine where you want to connect.
Username/Password are your credentials to log in.
Domain is optional, and only used if you are connecting through a windows domain. If it is a home PC you can leave it blank.

These are the details you log in normally with from the PC.


bunion 2009-12-24 18:58

Re: N900- Remote Desktop
 
Sorry, this is pissing me off. Can someone show me where to find a simple step by step guide to getting remote desktop / VNC viewer working on the N900?

Thanks.

jkq 2009-12-24 19:12

Re: N900- Remote Desktop
 
Quote:

Originally Posted by N900_NEWBIE (Post 440654)
I get Rdesktop cannot work properly because there is some problem with the connection network

I am confused because I have 2 computers on and the IP on them is the same. So how would Rdesktop know where which one to connect :confused:

Try turning off the computer that you don't want to connect to?

It's probably best if you make sure each computer has its own IP address, though.

-jkq


All times are GMT. The time now is 12:07.

vBulletin® Version 3.8.8