1

Let's imagine we have this situation - we have 2 PCs some distance apart (one is at home, the other in an office). The PC in the office had restarted and awaits login (via virtual console, no fancy login manager; it's running Arch btw :)). Its SSH daemon is running so the PC at home can reach it with no problems. The question is how the PC at home can (via SSH) access the virtual console #1 on the office PC, login (if needed) and then run startx, so X will run as usual (as if it was ran locally). As you know running startx directly from SSH terminal doesn't work.

  • Why do you need to start X remotely? You won't be able to do anything useful with it anyway. – Satō Katsura Oct 8 '17 at 9:44
  • I will run x0vncserver and then connect to it with TigerVnc client. Running vncserver "unnatached" to the physical display is undesirable for me – Tihomir Mitkov Oct 8 '17 at 9:48
  • Does the office PC have Lights Out Management, such as iLO or iDRAC? Or, does its kernel support the vnc and vncpassword options? – Mark Plotnick Oct 8 '17 at 19:14
  • The office PC doesn't have Light Out Management. I'm not aware of vnc options to the kernel. It's a standart Arch distribution (kernel is not customized by me) – Tihomir Mitkov Oct 9 '17 at 16:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.