startx from a remote host on a local host (not forwarding)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












I have a Linux box which has no keyboard attached to it and it auto-logs in into the default user. I have SSH access to it. I would like to be able to login over SSH and "take over" the terminal I'm seeing on the monitor and type in "startx" from the remote host, but so it executes "locally" on the attached monitor, not over SSH (as I have no way of typing in "startx" from it locally).



In another words, I just want to use another computer as a "remote keyboard" to execute "startx" and disconnect (since I don't have a real keyboard to connect it too and type in the "startx" locally).



Any hints on how can I accomplish this? Thank you!










share|improve this question























  • You need to use something like VNC for full remote desktop sessions. To run a single GUI app over ssh, you can use X11 forwarding.
    – jordanm
    Dec 3 at 21:56










  • @jordanm Thanks! Correct me if I misunderstood, but I'm not trying to run any remote x seasons over another computer, I just want to use a computer with ssh client as a "temporary keyboard" so I can type in "startx" and disconnect, nothing else. The Linux box without a keyboard is actually a raspberry PI connected to a big TV on the wall, since for whatever reason I can't get it to login into GUI on boot automatically, it just boots up and stays in terminal, but since I don't have keyboard attached to this setup, I can't "startx" so I though maybe I can trigger it from remote connection :)
    – 0x29a
    Dec 3 at 22:04






  • 1




    What happens when you try it?
    – jordanm
    Dec 3 at 22:09














up vote
-1
down vote

favorite












I have a Linux box which has no keyboard attached to it and it auto-logs in into the default user. I have SSH access to it. I would like to be able to login over SSH and "take over" the terminal I'm seeing on the monitor and type in "startx" from the remote host, but so it executes "locally" on the attached monitor, not over SSH (as I have no way of typing in "startx" from it locally).



In another words, I just want to use another computer as a "remote keyboard" to execute "startx" and disconnect (since I don't have a real keyboard to connect it too and type in the "startx" locally).



Any hints on how can I accomplish this? Thank you!










share|improve this question























  • You need to use something like VNC for full remote desktop sessions. To run a single GUI app over ssh, you can use X11 forwarding.
    – jordanm
    Dec 3 at 21:56










  • @jordanm Thanks! Correct me if I misunderstood, but I'm not trying to run any remote x seasons over another computer, I just want to use a computer with ssh client as a "temporary keyboard" so I can type in "startx" and disconnect, nothing else. The Linux box without a keyboard is actually a raspberry PI connected to a big TV on the wall, since for whatever reason I can't get it to login into GUI on boot automatically, it just boots up and stays in terminal, but since I don't have keyboard attached to this setup, I can't "startx" so I though maybe I can trigger it from remote connection :)
    – 0x29a
    Dec 3 at 22:04






  • 1




    What happens when you try it?
    – jordanm
    Dec 3 at 22:09












up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I have a Linux box which has no keyboard attached to it and it auto-logs in into the default user. I have SSH access to it. I would like to be able to login over SSH and "take over" the terminal I'm seeing on the monitor and type in "startx" from the remote host, but so it executes "locally" on the attached monitor, not over SSH (as I have no way of typing in "startx" from it locally).



In another words, I just want to use another computer as a "remote keyboard" to execute "startx" and disconnect (since I don't have a real keyboard to connect it too and type in the "startx" locally).



Any hints on how can I accomplish this? Thank you!










share|improve this question















I have a Linux box which has no keyboard attached to it and it auto-logs in into the default user. I have SSH access to it. I would like to be able to login over SSH and "take over" the terminal I'm seeing on the monitor and type in "startx" from the remote host, but so it executes "locally" on the attached monitor, not over SSH (as I have no way of typing in "startx" from it locally).



In another words, I just want to use another computer as a "remote keyboard" to execute "startx" and disconnect (since I don't have a real keyboard to connect it too and type in the "startx" locally).



Any hints on how can I accomplish this? Thank you!







ssh






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 3 at 22:07

























asked Dec 3 at 21:52









0x29a

21




21











  • You need to use something like VNC for full remote desktop sessions. To run a single GUI app over ssh, you can use X11 forwarding.
    – jordanm
    Dec 3 at 21:56










  • @jordanm Thanks! Correct me if I misunderstood, but I'm not trying to run any remote x seasons over another computer, I just want to use a computer with ssh client as a "temporary keyboard" so I can type in "startx" and disconnect, nothing else. The Linux box without a keyboard is actually a raspberry PI connected to a big TV on the wall, since for whatever reason I can't get it to login into GUI on boot automatically, it just boots up and stays in terminal, but since I don't have keyboard attached to this setup, I can't "startx" so I though maybe I can trigger it from remote connection :)
    – 0x29a
    Dec 3 at 22:04






  • 1




    What happens when you try it?
    – jordanm
    Dec 3 at 22:09
















  • You need to use something like VNC for full remote desktop sessions. To run a single GUI app over ssh, you can use X11 forwarding.
    – jordanm
    Dec 3 at 21:56










  • @jordanm Thanks! Correct me if I misunderstood, but I'm not trying to run any remote x seasons over another computer, I just want to use a computer with ssh client as a "temporary keyboard" so I can type in "startx" and disconnect, nothing else. The Linux box without a keyboard is actually a raspberry PI connected to a big TV on the wall, since for whatever reason I can't get it to login into GUI on boot automatically, it just boots up and stays in terminal, but since I don't have keyboard attached to this setup, I can't "startx" so I though maybe I can trigger it from remote connection :)
    – 0x29a
    Dec 3 at 22:04






  • 1




    What happens when you try it?
    – jordanm
    Dec 3 at 22:09















You need to use something like VNC for full remote desktop sessions. To run a single GUI app over ssh, you can use X11 forwarding.
– jordanm
Dec 3 at 21:56




You need to use something like VNC for full remote desktop sessions. To run a single GUI app over ssh, you can use X11 forwarding.
– jordanm
Dec 3 at 21:56












@jordanm Thanks! Correct me if I misunderstood, but I'm not trying to run any remote x seasons over another computer, I just want to use a computer with ssh client as a "temporary keyboard" so I can type in "startx" and disconnect, nothing else. The Linux box without a keyboard is actually a raspberry PI connected to a big TV on the wall, since for whatever reason I can't get it to login into GUI on boot automatically, it just boots up and stays in terminal, but since I don't have keyboard attached to this setup, I can't "startx" so I though maybe I can trigger it from remote connection :)
– 0x29a
Dec 3 at 22:04




@jordanm Thanks! Correct me if I misunderstood, but I'm not trying to run any remote x seasons over another computer, I just want to use a computer with ssh client as a "temporary keyboard" so I can type in "startx" and disconnect, nothing else. The Linux box without a keyboard is actually a raspberry PI connected to a big TV on the wall, since for whatever reason I can't get it to login into GUI on boot automatically, it just boots up and stays in terminal, but since I don't have keyboard attached to this setup, I can't "startx" so I though maybe I can trigger it from remote connection :)
– 0x29a
Dec 3 at 22:04




1




1




What happens when you try it?
– jordanm
Dec 3 at 22:09




What happens when you try it?
– jordanm
Dec 3 at 22:09















active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f485774%2fstartx-from-a-remote-host-on-a-local-host-not-forwarding%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f485774%2fstartx-from-a-remote-host-on-a-local-host-not-forwarding%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)