+ Reply
Results 1 to 14 of 14
  1. #1
    Green Apple tsunami78's Avatar
    Join Date
    Aug 2007
    Location
    SLO, CA
    Posts
    53
    Thanks
    2
    Thanked 9 Times in 7 Posts

    Default RDesktop via Cydia

    Hello all,

    I recently installed Cydia, and have been impressed by the number of applications available. One of the first ones I attempted to install was RDesktop, a RDP client used for administering Windows machines. For those who don't know, RDP is a protocol used by Windows 2000/2003/XP/Vista/2008 terminal services/Remote Desktop. Think VNC a la Microsoft. I manage numerous Windows machines, and would love to have a RDP client on my iPhone as it would allow me to do a lot of management tasks.

    After installing RDesktop, I noticed that there was no icon added for the application. When I attempt to call the RDesktop application from the command line, I get the error "ERROR: Failed to open display: X.X.X.X" Where the Xes == the ip address of my server. Has anyone had success getting RDesktop working on their iPhone? If so, I'd love a how-to.

    Cheers,
    Jason

  2. #2
    What's Jailbreak?
    Join Date
    Mar 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I've installed it as well, and I've seen that if you just run the rdesktop command (no arguments) from a terminal, that it cant locate libcrypto 0.9.8.

    I've run rdesktop on a bunch of different platforms, and it does require that it is run from an X11 environment. Is our terminal an xterm? If not, I haven't seen any apps out there that claim to be...

    If it is, how can I fulfill this dependency? I don't see any crypto libs in Cydia

  3. #3
    Green Apple tsunami78's Avatar
    Join Date
    Aug 2007
    Location
    SLO, CA
    Posts
    53
    Thanks
    2
    Thanked 9 Times in 7 Posts

    **Bump**

    Anyone? ... Anyone?

    Bueller? ... Bueller?

    This would make my iphone so much more useful If anyone has gotten it working, PLEASE respond.

  4. #4
    What's Jailbreak?
    Join Date
    Mar 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I can't find any info about the x server.. Maybe once we can get xeyes working, we can talk about rdesktop.

    So I guess there isn't a native X server?
    see: http://wickedpsyched.com/iphone/X11/
    Looks like while you can run rdesktop natively on the iPhone, you're still gonna need to send the display somewhere else. Oh well.
    Last edited by yek401; 03-26-2008 at 05:03 PM. Reason: Automerged Doublepost

  5. #5
    What's Jailbreak?
    Join Date
    Apr 2008
    Posts
    18
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Maaaaybe if-

    Maybe if we make a bluetooth mouse to work on the iphone for remoteDesktop we'd never have to go to work again

    Edit: Will consider donating to all who respond to this thread

  6. #6
    What's Jailbreak?
    Join Date
    Jul 2008
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Yup, I've done this, and it's a hoot :) Here's how.

    The iPhone doesn't have a way to display the x-applications (yet), but it can run them, and you can view/use them on another computer. I'm using a Mac as the computer that displays the apps in this example.


    On the Mac:

    Open up an xterm, then type:

    sudo xhost +iphonenamehere

    This adds the iphone to the white list, and allows it to connect to your Mac display.

    ssh into your iphone with the -Y switch

    i.e. ssh -Y root@youriphonenamehere

    default password is alpine

    On the iPhone: (this is in the SSH session from the Mac)

    export DISPLAY=192.168.1.11:0.0 (change IP address to whatever yours happens to be)

    then run your x-apps, i.e.

    rdesktop -a 16 -z -r disk:floppy=/var/root/ ipaddressorcomputername:port

    xeyes -display 192.168.1.11:0.0

    crazy stuff :)
    Last edited by vinividiiphone; 07-23-2008 at 12:19 PM.

  7. #7
    Green Apple
    Join Date
    Jul 2008
    Posts
    77
    Thanks
    1
    Thanked 3 Times in 3 Posts

    How would i go about doing this on a PC? Also moca VNC works great but the screen refresh is a slow. was there anyothre remote desktop apps that 1.1.4 had that could be ported to 2.0?

  8. #8
    What's Jailbreak?
    Join Date
    Jul 2008
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    the short answer to that is with an x-server on your pc, and (mostly) the method described above.

    i can confirm that it works with Cygwin/X. There are other X-Servers to choose from, ymmv.

    i found the major pita to be the display authentication. i haven't discovered how to add the iphone to the xhost list under cygwin (anyone?.) the docs say xhost +, i've also tried:

    xhost +iphonenameoripaddress and xhost iphonenameoripaddress

    to no avail.

    I finally used the undocumented (apparently) -ac switch when starting the X-server, i.e. Xwin -ac to circumvent authentication. Not my preference, but it works.

    I'll try to flesh this out as people have questions.

  9. #9
    What's Jailbreak?
    Join Date
    Feb 2008
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by vinividiiphone View Post
    the short answer to that is with an x-server on your pc, and (mostly) the method described above.

    i can confirm that it works with Cygwin/X. There are other X-Servers to choose from, ymmv.

    i found the major pita to be the display authentication. i haven't discovered how to add the iphone to the xhost list under cygwin (anyone?.) the docs say xhost +, i've also tried:

    xhost +iphonenameoripaddress and xhost iphonenameoripaddress

    to no avail.

    I finally used the undocumented (apparently) -ac switch when starting the X-server, i.e. Xwin -ac to circumvent authentication. Not my preference, but it works.

    I'll try to flesh this out as people have questions.
    you have to start X first, then xhost + works. so,

    startx
    <wait for xterm>
    xhost +
    ssh iPhone
    export DISPLAY=192.168.1.yourIP:0
    xeyes

  10. #10
    Green Apple
    Join Date
    Jul 2008
    Posts
    77
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Now I know that rdesktop cannot render A pc's desktop. Would this be possable in the future?

  11. #11
    What's Jailbreak?
    Join Date
    Jul 2008
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    do you mean, on the iphone itself? yeah, it's possible that someone will write/port the code to do so.

    for now we have VNC.

    Quote Originally Posted by georgc View Post
    Now I know that rdesktop cannot render A pc's desktop. Would this be possable in the future?

  12. #12
    What's Jailbreak?
    Join Date
    Jul 2008
    Posts
    8
    Thanks
    6
    Thanked 3 Times in 2 Posts

    Just a friendly comment from an old dog: Xwindows terminology actually is the reverse of what you migh be used to:

    Xserver is the terminal - it serves graphical requests (and other) from
    Xclient, which is the computer (Mac, PC, UNIX) on which the program is running and which wants the Xsever service the input/output requests
    Last edited by canook2008; 07-29-2008 at 02:51 AM.

  13. #13
    OS X - excellent enough to put on phones LGgeek's Avatar
    Join Date
    Aug 2007
    Location
    Los Gatos, Ca
    Posts
    392
    Thanks
    26
    Thanked 25 Times in 21 Posts

    I installed rdesktop and I connect via chicken of the vnc to rdesktop on my iphone all the time. A nice screen of my iphone shows on my monitor, I can do just about everything I normally do touching the iphone screen, clicking with the mouse. runs the apps only issue I haven't figured out how to simulate the home button to exit the current app.
    Attached Thumbnails Attached Thumbnails RDesktop via Cydia-screenshot_76.png   RDesktop via Cydia-screenshot_77.png  
    Last edited by LGgeek; 11-06-2008 at 04:28 PM. Reason: add pic
    I don't drink kool-Aid, I don't join cults.
    This is why I break out in cold sweat going to Apple retail store.

  14. #14
    Livin the iPhone Life 461am's Avatar
    Join Date
    Aug 2008
    Location
    Houston, TX
    Posts
    1,241
    Thanks
    28
    Thanked 183 Times in 159 Posts

    ^isn't that exactly what veency does? Why the roundabout method?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts