Remote Desktop Sharing

I am making a project on desktop sharing which will show servers desktop to all the client connected to server. Exactly how will I proceed can any one tell me or can give me the code for simple operation ?

1.) Use java.awt.Robot which can simulate user mouse and keyboard events
2.) Call the java.awtRobot methods from the server class in the client
Here is an example of an interface to use:
import java.rmi.*;
import java.awt.*;
import javax.swing.*;
public interface RemoteDesktopInterface extends Remote {
     public ImageIcon captureScreen(Rectangle screenRect) throws    RemoteException;
     public void keyPress(int keycode) throws RemoteException;
     public void keyRelease(int keycode) throws RemoteException;
     public void mouseMove(int x, int y) throws RemoteException;
     public void mousePress(int buttons) throws RemoteException;
     public void mouseRelease(int buttons) throws RemoteException;
     public void mouseWheel(int wheelAmt) throws RemoteException;
     public Dimension getScreenSize() throws RemoteException;
}

Similar Messages

  • Remote Desktop Sharing from Mobile Phone

    hello guys.. for my final year project i have selected to develop a software throught which user can control its home pc from a mobile phone.. i need help i have no idea where to start with but i do have passion and some coding experience for it can any one plzzz helpme in this matter

    I've already done this, and as such it is very tempting just to post a link to my version. But you will get nothing from that.
    You have a few questions to answer: first what is your target platform? Does "Mobile Phones" mean "any J2ME compliant phone", or Windows Mobile 5.0 devices, or Symbain Devices, or Brew compliant devices, or ...
    What does "Remote Desktop Sharing" mean to you? Which protocol do you wish to use? (VNC, Windows Terminal Services, PC Anywhere, X Windows, etc).
    This is for a "final year project" I'm guessing university level? If so, investigating, and research each of the options above is going to make a fair chunk of you work.
    The next (IMO) would be designing an interface that will let you interact with a full desktop on a device with a joystick, and two buttons. Not easy I can tell you.
    The "making it connect" bit is (IMO) easy. A basic (unthought out) VNC client took me one night to write.

  • Browser-based remote desktop sharing

    Hi, I must develop a completely browser-based desktop sharing solution.
    Can I, with a signed applet, get the host screen and allow him to grant access to his mouse and keyboard? Or will I need to write a browser add-in to make it possible?
    My solution must be cross-platform and cross-browser( >=FF3.0 and >=IE7 ).
    Performance will be an important factor too.
    So, can it be done with java or should I start thinking about using C++ ?
    Best regards,
    Leonardo C.

    No. Not as far as I know.
    Flash collaboration service is a service api that helps to develop collaborative apps (in Flex).
    Aside from that, screen sharing requires an add-on download for the player that I think is only available to Adobe's Connect service. At least I haven't heard it being available in other ways.

  • Remote Desktop sharing in java

    Hi,
    I want to make a program through which I can access a PC remotely.I can run that PC from any remote location.
    it is possible to make this in java.
    How can i start ?? please tell. I have knowledge of java and RMI

    I assume you are well familiar about how to make comminication between 2 PCs Via RMI. In that case you may need to do following(Windows Machine):
    1. Develop a communication protocol between(Client and Host) - This includes user logon, send/ receive of screenshots, keybaord strokes, mouse clicks,mouse position.
    2. Develop a Host Program - Use Java.awt.Robot class to virtually press keyboard, mouse control, You may also need to call some native APIs like user32.dll for user logon etc. This can be more easier if you use Jinvoke(jinvoke.com) utility but its not free, so you may want to use a free version JNA(http://www.ohloh.net/p/jna) toolkit.
    3. Develop a Client Program - Here you can develop a window app that should offer the following services:
    a. Keep refreshing of remote screen-shots at regular interval.
    b. Use a keyboard hook that captures your keyboard strokes and send it the host machine.
    c. Use a Mouse hook that captures your Mouse activitis and send it the host machine.
    To implement various hook use Jinvoke or JNA.(You can easily find out examples in the download packages)
    Hope this is far enough to start...

  • Can not use any remote desktop like VNC after installing Oracle Linux 6.3

    Hi
    I just installed OL 6.3 on a HP Proliant ML380 g7. Now I want to connect to the server using any Remote Desktop tools but I can not!
    I've activated system>pref>Remote Desktop
    But I can not access any of servers from:
    - a Mac using, Mac server sharing screen, VNC viewer or Microsoft Remote connection which is in a same subnet
    - Other Server Using KRDC, Remote Desktop Viewer, terminal server client or tiger VNC viewer
    Also I tried to connect to servers after activating krfb
    but it always says no rout to server/ server not found/ connection closed
    and remote desktop viewer can not find any host when I try to use option "find"
    Please Advise
    Thank you in advance

    Make sure to enable "require a password..." in the Remote Desktop Preference on the Linux system. Some clients won't work unless this is set. Unfortunately the Remote Desktop Preferences panel on the Linux side does not show you the port it is listening on, but you can get it by clicking on the IP or name that it shows as a link. The first user or vnc server is usually listening on port 5900, then 5901, and so on.
    Your problem is probably the firewall on your Linux system. You can disable the firewall on the Linux system:
    service iptables stop
    However, probably a better idea, simply tunnel the connection through SSH as following:
    On the Mac, open the Terminal application from the Applications/Utilities folder. Then type the following:
    <pre>
    ssh -L local_port:localhost:remote_port -N -f -l username server_address
    </pre>
    local_port = port on your Mac that does not conflict with any of your own screen-sharing or other services, e.g. 5555
    remote_port = vnc server port on your Linux system
    username = user for which you have enabled remote desktop sharing
    server_address = ip address or FQDN of your Linux system.
    For instance:
    <pre>
    ssh -L 5555:localhost:5900 -N -f -l root 10.0.1.2
    </pre>
    The trick is now to connect to a local port on your Mac, instead using the address of your Linux server. The communication will be encrypted using ssh going over tcp port 22, which is normally enabled in the firewall.
    The Mac screen sharing application is working fine. On your Mac, select "Go>Connect to Server" from the Finder menu and type:
    vnc://localhost:5555

  • I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    Close ... before going for a specific Cisco app ... lets find out some details:
    Host we need more details:
    What is your server environment (Windows Server, or Mac OS X Server, or Linux)?
    What security is implemented in your environment - as what is restricted (RDP for all or specifc credentials on all machines? Are you part of local admin group to the server you wish to connect)?
    Does your environment Support CISCO IPSec connection? If so use Settings> VPN and IPSec tab to enter VPN details, if not then go with above suggestion. IF your restricted to RSA then either built in VPN settings or 3rd party app for RSA would suffice.
    Finally, there are many RDP applications out there I use "Mocha RDP Light" (free minimal ads when launched not when connecting).

  • Apple TV, iPad, iPhone home sharing how to wake a sleeping mac from these devices? Can wake from iMac using remote desktop fine.

    Hello all!
    To give you an over view of system I have, iMac, Mac Mini, Apple TV 3, ipad 1, IPhone 4.
    I have all music and video stored on the mac mini that is in the roof and I control it using apple remote desktop from my iMac. I can wake it no problem etc and I have now been using it with home sharing and it works fantasticly with the apple tv and ipad etc but the issue is as follows.
    How can I wake the mac mini in the roof from the apple tv when it dissapears off the ipad / apple tv when it goes to sleep?
    Its the only issue I can see in an amazing setup that I think apple needs to advertise more as its flipping brilliant!
    I hope you can help me with this other wise I will have to leave the mini on 24/7 which is poor!
    Please don't say turn wake fromlan on the mini as its on and working.
    Thanks for any help!!
    Spoony

    This problem, for reasons unknown to me, has resolved itself on its own. After several attempts finally everything decided to work. How does stuff like this happen? Thank you.

  • Remote desktop and screen sharing with RMI

    Iam developing an application for screen sharing and remote desktop
    the problem is a performance problem
    in the screen sharing application server screen is captured and the image is sent to all connected clients through rmi connection
    I used JPEGImageEncoder to compress the image and convert it to array of bytes
    then zipped the resulted array using deflater.
    the result is sent through rmi connection
    the performance is so poor
    i tried JMF but the performance is worse
    i am thinking of a way to send the server screen only if it is changed but i don't know how
    anyone could help me to enhance it with acceptable quality for the image
    thanks

    As you said, you need to only send the changes over the line.
    Java can not tell you what has changed, so you need to either write some JNI, or do a check on the current image, with the last image. (this would eat quite a bit of CPU time on the server).
    It might be worth looking at the source for VNC, and other simler products.
    The simpliest solution would be to split the image into blocks of x by y pixels, then do a pixel-by-pixel check on that block, and only send the block if it has changed.
    Next thing to think about is scrapping RMI, and using raw sockets. RMI has a fair sized overhead.
    Zipping a JPEG is unlikely to have any effect. A JPEG is already compressed.
    You might want to look at a lossless compression format, like PNG, as the JPEG will have articles. This might be acceptable. If so, changing the compression ratio of the JPEG might be an option.
    Finally, the bottle neck might be the call to Robot.createScreenCapture. This is not the fastest method.

  • Lync Application and Desktop Sharing - Restrict remote access/Telnet

    I have a customer and they are paranoid about using Lync application/desktop sharing which could potentially enable remote users from getting into their internal IT systems.  They are asking if we could restrict application/desktop sharing specifically
    for appls with remote access capabilities (e.g. Telnet, etc.)? Anyone could share any information relating to this? Thanks!

    We can’t do this with Lync Server natively. Maybe you want to vote idea at
    http://lync.ideascale.com/a/dtd/Limit-AppSharing-for-specific-applications/467874-16285
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found
    there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Lisa Zheng
    TechNet Community Support

  • Mac Mini not visible in Mac network (shared drives, remote desktop)

    Hi,
    I got the following problem since a few months and can't figure what the problem could be.
    My Mac Mini in not visible on my other macs in Finder oder Path Finder.
    With unsing Apple + K shortcut I can connect to alle Mac Mini drives.
    - Both machines have 10.8.4. installed
    - Router is a Time Capsule
         -> MBP connected via WiFi
         -> Mac Mini via LAN cable
    - IP Adress will be set via DHCP (static IPs won't help, tried that of course)
    - Remote Desktop und Sharing is activated on both machines within preferences
    - MacMini sees my MBP und my GFs MB
    - MBP is able to see my GFs MB, but not my MacMini
    - No Firewall acticated on both machines
    - rights have been checked and repaired with the harddrive tool
    Anybody an idea what I can try next?
    Thanks!

    Error resolved. It's was obviously my fault...
    I changed the plist to deactivate multicasts a long long time ago
    http://blog.tsunanet.net/2010/02/how-to-disable-bonjour-on-osx-106-snow.html
    After deleting the entire line my mac mini is visible again.

  • Apple Remote Desktop Not Listed in Sharing

    Hey everyone,
    I'm trying to enable a laptop with the apple remote desktop service so i could connect to it from my computer. I have done this with other computers in the office and each of them had "Apple Remote Desktop" listed in the Sharing left-side pane under "Service" but this one doesnt.
    How do i add it?
    im fairly new with ARD...
    cheers.
    Martin

    If the system is Mac OS X 10.5 or 10.6, the item will be titled "Remote Management" in the Sharing preference.
    Regards.

  • Apple Remote Desktop 3 screen sharing performance

    Apple Remote Desktop 3 screen sharing performance
    Apple should licence citrix terminal technology to improve screen sharing experience and performance over low bandwidth connections like the internet.
    ARD works very nice on LANs. But the screen sharing performance for remote offices really has to be improved. Look at Citrix and MS Terminal Server - these products work very snappy over low bandwidth connections like 3G UMTS or Cable, DSL.
    Also adding the terminal server technology (multi user over network) to the OS would be great. Not only redirect the hole client screen - map a GUI user session over the network for an admin while the user on the client has his own usual local session.
    The curtain mode is good beginning.
    Kind regards,
    Bjoern

    Hi,
    I mean that MS Terminal Server is a completely different beast, because you don't transfer the whole bitmap here as VNC or ARD does.

  • Remote Desktop: Apple Remote Desktop NOT showing in the Sharing Area

    I have installed the latest Apple Remote Desktop to both my Admin and client computer. In Preferences>Sharing Apple Remote Desktop does NOT show up as a choice to be clicked. Is there something that I have missed?

    I have installed the latest Apple Remote Desktop to both my Admin and client computer. In Preferences>Sharing Apple Remote Desktop does NOT show up as a choice to be clicked. Is there something that I have missed?

  • I am accessing a windows server using remote desktop and I am wondering if I can transfer files by sharing drives?

    I am accessing a windows server using remote desktop and I am wondering if I can transfer files by sharing drives?

    Probably. You may be able to use Finder > Go > Connect to server to access the server. You may be able to share folders using Remote Desktop too. Whichever one you like the best.

  • Sharing local devices with remote computers like in Windows Remote Desktop

    Morning all,
    I'm attempting to access my local machine's CD drive on the remote computer across Apple Remote Desktop. It's ubiquitously possible even in the Windows Remote Desktop Client for OS X but for the life of me can't figure out how to share my drive over the network with a remote client.
    Any help would be greatly appreciated!
    Thanks

    By Remote Desktop, I literally meant from the remote computer. So let me rephrase..
    After I've enabled CD/DVD sharing, while I'm in Apple Remote Desktop controlling the remote computer, can I access my CD/DVD drive remotely?
    Or to be even clearer, could a remote user on that machine access my CD/DVD drive and how?

Maybe you are looking for

  • Customer Outstanding line item reversal

    Hi Experts... As per Clients requirement we developed a report for customer Outstanding Payments.  Which will displays the customers bills sequential.  When ever they receive money post the transactions as per Outstanding bill wise. Now my problem is

  • Does IC WebClient require a J2EE engine for any of its component

    Does IC WebClient requires a J2EE engine for any of its component? What's the need to install j2ee engine on CRM server? I would appreciate if anybody could give a good answer or any kind of documentation on it.

  • Output Blank

    Please help me . I've the problem as following : DEFINE GLOBAL: CONN_TEXT @TEXT1 @TEXT2 CONN_TEXT is a field on the template TEXT1 and TEXT2 are the global fields in the Datastream. It works perfect, if the fields TEXT1 and TEXT2 exist in the datastr

  • Is it posible  by metadata navegator scheduling and stop scenarios?

    is it posible by metadata navegator setup scheduling from a scenario and stop a scenario from a user ? thanks, Daniel Daniele

  • Chinese sort in JTable

    Hello I used the thread to sort a JTable in Chinese : http://forum.java.sun.com/thread.jsp?forum=16&thread=369970 First, fsato4 (from the thread) says : The array java.text.CollationKey[] generated from the method getCollatingKey of the class Collato