Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Can i turn on, logout, login one ubuntu pc from another ubuntu pc through remote desktop. I have also try remote desktop but i can only when pc is turn on.

share|improve this question
3  
If your PC is turned off there's no network connection - hence there's no way to reach the device. However, you might be interested in a feature called Wake on LAN. Note the LAN in the name - it only works on the same local network. –  gertvdijk Jun 27 '13 at 11:49
    
Take a look at this [Post], see if it might help, or get you starting on the right track. –  Mitch Jun 27 '13 at 11:56
    
@bodhi.zazen You're right. Done. Thanks! –  gertvdijk Jun 27 '13 at 17:52

1 Answer 1

Powered off → unreachable.

You'll only be able to connect to your PC whenever it's on, because if it's off, then there's nothing running on the machine to contact to and there's no network active. A device in a powered off state is really off, you see. Similarly - your can't receive phone calls on your mobile phone without it having turned on. Some software can't do magic here.

However, I know of two techniques exist to manage the power without the machine being turned on, although it needs the wall socket power to be connected of course.

  • Wake on LAN. It's a feature of your network card - it will listen to "magic packets" to arrive on the interface to trigger a "power on" event on the PCI bus. It needs some standby power and another device in the same local network to be able to send such magic packets. So, basically, you'll have to

    1. configure your BIOS to listed to WoL events.
    2. have a network card that supports this.
    3. configure your network card to do so (see manpage of ethtool).
    4. have some device connected to the internet fire up the PC by sending the magic packet on the local network.

    Major limitation: no available directly over the internet.

    See also:

  • Out of Band management module. Some motherboards, mostly server and business-line desktop machines feature the Intel vPro with AMT. In servers you'll notice most have a dedicated card for this - HP iLO, Dell iDRAC, etc. With such a module you'll be able to control power (and usually more). See the manual of your desktop if you have it and how that works.

    Major limitation: hardware requirements.

After the machine has been powered on with one of the techniques above, you'll have to make sure your remote desktop server (e.g. VNC server, NX server, etc.) is started and the network is automatically connected properly, so you can connect to it.

share|improve this answer
    
Thanks for your help but I want to login the ubuntu pc when it's logoff same as windows server 2003 works. I have start the cpu and then connect to remote desktop and enter user name and password and login the pc. If is it possible then pls reply me I have really greatful to you for your co-operation. –  Rakesh Jun 28 '13 at 8:06
    
Logged off is not the same as powered off. Ask a new question, please. With Windows you also cannot reach the machine if it's powered off. –  gertvdijk Jun 28 '13 at 8:33
    
My friend's Ubuntu pc is logged off condition, How can i connect from my ubuntu pc to my friend's pc –  Rakesh Jun 28 '13 at 11:53
    
@Rakesh Again: Ask a NEW question. Your issue is different from the one you described in your question in a way that editing it would make it a different question. –  gertvdijk Jun 28 '13 at 11:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.