I have a computer with ssh but no access to keyboard.

When I turn on the computer, the screen shows VT1.

Is there a way to startx on VT1 through SSH?

closed as unclear what you're asking by countermode, GAD3R, Mongrel, Satō Katsura, user34720 Jan 24 '17 at 9:32

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • What are you trying to do? You want to have some sort of remote desktop through SSH? – phk Jan 23 '17 at 22:52
  • ssh -Y user@host.example.com startx should open a local X session connected to an X server on the remote host. – DopeGhoti Jan 23 '17 at 23:05
  • @phk. Well, yes. Once I have X started, it's easy. Just set DISPLAY. The question is how to get there :) – X11 Jan 23 '17 at 23:05
  • 1
    for that, use sudo init 5. – DopeGhoti Jan 23 '17 at 23:07
  • 1
    @x11: you can switch the virtual terminal from the command line using chvt. (e.g. chvt 7 is equivalent to Ctrl+Alt+F7). If the issue is that it's on the wrong screen, that might help. – marinus Jan 23 '17 at 23:09

Browse other questions tagged or ask your own question.