Results 1 to 4 of 4
  1. #1
    KOvitt is offline Member
    Join Date
    May 2011
    Posts
    3
    Rep Power
    0

    Default Java Detect Remote Users

    Hello, I am brand new to the forums.

    At work, we have two machines that are constantly being used by 7 people. I am looking to create an application that runs on each workstation and a server type program to run on the two machines that are shared.

    The purpose of the program is to notify which machine has someone connected to it, and who is connected. Also it will display if it is available.

    My question here is, how with java can I detect if someone is remotely logged into a machine, and pull their username?

    Also, does anyone know a way to display a notification window on a remote machine. basically I am going to have a request button in the client program where you can notify the current person logged in that you request the machine.

    Thanks in advance for your help!

  2. #2
    KOvitt is offline Member
    Join Date
    May 2011
    Posts
    3
    Rep Power
    0

    Default

    More info to clarify.

    Each of the 7 users have their own workstation and we all remote into one of these two machines to use bloomberg.

    So I will have a server on the bloomberg machines and a client program on each persons workstation.

    We remote in via windows Remote Desktop Connection, which is using Citrix.

    Thanks everyone!

  3. #3
    Toll's Avatar
    Toll is offline Senior Member
    Join Date
    May 2011
    Location
    Sweden
    Posts
    392
    Rep Power
    4

    Default

    Hmm. Since I'm not sure how Citrix or Remote Desktop Connection works, I'm far from sure if this will actually give you any meaningful info, but have a look at System.getProperty("user.name"). With luck, that'll give you who is connected to the machine.

  4. #4
    KOvitt is offline Member
    Join Date
    May 2011
    Posts
    3
    Rep Power
    0

    Default

    Yea, unfortunately that only gives the local user.

    I was able to find a tool called PSLoggedOn, which seems like it will provide the information I need.

    Thanks for the help!

Similar Threads

  1. Replies: 2
    Last Post: 11-30-2011, 07:36 AM
  2. How to detect beep sound using java
    By dkas in forum New To Java
    Replies: 10
    Last Post: 02-09-2011, 11:07 PM
  3. Replies: 0
    Last Post: 12-21-2010, 03:21 PM
  4. Replies: 5
    Last Post: 08-25-2009, 08:43 AM
  5. Replies: 4
    Last Post: 06-30-2009, 11:31 PM

Posting Permissions

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