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

Clash 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!
ssh
add a comment |
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!
ssh
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
add a comment |
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!
ssh
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
ssh
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
add a comment |
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
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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