Is it possible to login to desktop session from SSH?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
We have Ubuntu desktop 16.04 running on a remote workstation, and we have VNC access to it. This is great if the user account is logged in.
If the OS gets knocked out to the login screen, the VNC window becomes black and unusable.
We still have SSH and Telnet connectivity... Is there a way to force login of a user account via SSH remotely?
ssh login vnc remote
add a comment |
We have Ubuntu desktop 16.04 running on a remote workstation, and we have VNC access to it. This is great if the user account is logged in.
If the OS gets knocked out to the login screen, the VNC window becomes black and unusable.
We still have SSH and Telnet connectivity... Is there a way to force login of a user account via SSH remotely?
ssh login vnc remote
Use a different VNC server, vncserver allows separate logins. A better question is why are you forwarding an entire desktop ? You can forward single apps. FreeNX is faster and more secure. Web based solutions are better for server management.
– Panther
Sep 14 '17 at 20:12
we have a particular workflow that requires some users who aren't familiar with command line to perform some tasks in the GUI.
– Eldorado
Sep 14 '17 at 20:25
And security isn't a concern.
– Eldorado
Sep 14 '17 at 20:26
There is no way to log into the graphical interface over ssh.
– Panther
Sep 14 '17 at 20:31
1
Well, technically that strictly the case, but the desktop would be forwarded over ssh and not available to the local user. My suggestion is to enable auto login - help.ubuntu.com/community/AutoLogin maketecheasier.com/enable-automatic-login-in-ubuntu
– Panther
Sep 14 '17 at 20:42
add a comment |
We have Ubuntu desktop 16.04 running on a remote workstation, and we have VNC access to it. This is great if the user account is logged in.
If the OS gets knocked out to the login screen, the VNC window becomes black and unusable.
We still have SSH and Telnet connectivity... Is there a way to force login of a user account via SSH remotely?
ssh login vnc remote
We have Ubuntu desktop 16.04 running on a remote workstation, and we have VNC access to it. This is great if the user account is logged in.
If the OS gets knocked out to the login screen, the VNC window becomes black and unusable.
We still have SSH and Telnet connectivity... Is there a way to force login of a user account via SSH remotely?
ssh login vnc remote
ssh login vnc remote
asked Sep 14 '17 at 19:55
EldoradoEldorado
1
1
Use a different VNC server, vncserver allows separate logins. A better question is why are you forwarding an entire desktop ? You can forward single apps. FreeNX is faster and more secure. Web based solutions are better for server management.
– Panther
Sep 14 '17 at 20:12
we have a particular workflow that requires some users who aren't familiar with command line to perform some tasks in the GUI.
– Eldorado
Sep 14 '17 at 20:25
And security isn't a concern.
– Eldorado
Sep 14 '17 at 20:26
There is no way to log into the graphical interface over ssh.
– Panther
Sep 14 '17 at 20:31
1
Well, technically that strictly the case, but the desktop would be forwarded over ssh and not available to the local user. My suggestion is to enable auto login - help.ubuntu.com/community/AutoLogin maketecheasier.com/enable-automatic-login-in-ubuntu
– Panther
Sep 14 '17 at 20:42
add a comment |
Use a different VNC server, vncserver allows separate logins. A better question is why are you forwarding an entire desktop ? You can forward single apps. FreeNX is faster and more secure. Web based solutions are better for server management.
– Panther
Sep 14 '17 at 20:12
we have a particular workflow that requires some users who aren't familiar with command line to perform some tasks in the GUI.
– Eldorado
Sep 14 '17 at 20:25
And security isn't a concern.
– Eldorado
Sep 14 '17 at 20:26
There is no way to log into the graphical interface over ssh.
– Panther
Sep 14 '17 at 20:31
1
Well, technically that strictly the case, but the desktop would be forwarded over ssh and not available to the local user. My suggestion is to enable auto login - help.ubuntu.com/community/AutoLogin maketecheasier.com/enable-automatic-login-in-ubuntu
– Panther
Sep 14 '17 at 20:42
Use a different VNC server, vncserver allows separate logins. A better question is why are you forwarding an entire desktop ? You can forward single apps. FreeNX is faster and more secure. Web based solutions are better for server management.
– Panther
Sep 14 '17 at 20:12
Use a different VNC server, vncserver allows separate logins. A better question is why are you forwarding an entire desktop ? You can forward single apps. FreeNX is faster and more secure. Web based solutions are better for server management.
– Panther
Sep 14 '17 at 20:12
we have a particular workflow that requires some users who aren't familiar with command line to perform some tasks in the GUI.
– Eldorado
Sep 14 '17 at 20:25
we have a particular workflow that requires some users who aren't familiar with command line to perform some tasks in the GUI.
– Eldorado
Sep 14 '17 at 20:25
And security isn't a concern.
– Eldorado
Sep 14 '17 at 20:26
And security isn't a concern.
– Eldorado
Sep 14 '17 at 20:26
There is no way to log into the graphical interface over ssh.
– Panther
Sep 14 '17 at 20:31
There is no way to log into the graphical interface over ssh.
– Panther
Sep 14 '17 at 20:31
1
1
Well, technically that strictly the case, but the desktop would be forwarded over ssh and not available to the local user. My suggestion is to enable auto login - help.ubuntu.com/community/AutoLogin maketecheasier.com/enable-automatic-login-in-ubuntu
– Panther
Sep 14 '17 at 20:42
Well, technically that strictly the case, but the desktop would be forwarded over ssh and not available to the local user. My suggestion is to enable auto login - help.ubuntu.com/community/AutoLogin maketecheasier.com/enable-automatic-login-in-ubuntu
– Panther
Sep 14 '17 at 20:42
add a comment |
1 Answer
1
active
oldest
votes
If you have root access, then (of course) everything is possible. One way of solving your the problem is to force login of the local graphical session, by typing the password into the login screen remotely via ssh. I know a way to do that in Xorg: https://askubuntu.com/a/1020172/55241. The Wayland will be another story.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});
}
});
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%2faskubuntu.com%2fquestions%2f955900%2fis-it-possible-to-login-to-desktop-session-from-ssh%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you have root access, then (of course) everything is possible. One way of solving your the problem is to force login of the local graphical session, by typing the password into the login screen remotely via ssh. I know a way to do that in Xorg: https://askubuntu.com/a/1020172/55241. The Wayland will be another story.
add a comment |
If you have root access, then (of course) everything is possible. One way of solving your the problem is to force login of the local graphical session, by typing the password into the login screen remotely via ssh. I know a way to do that in Xorg: https://askubuntu.com/a/1020172/55241. The Wayland will be another story.
add a comment |
If you have root access, then (of course) everything is possible. One way of solving your the problem is to force login of the local graphical session, by typing the password into the login screen remotely via ssh. I know a way to do that in Xorg: https://askubuntu.com/a/1020172/55241. The Wayland will be another story.
If you have root access, then (of course) everything is possible. One way of solving your the problem is to force login of the local graphical session, by typing the password into the login screen remotely via ssh. I know a way to do that in Xorg: https://askubuntu.com/a/1020172/55241. The Wayland will be another story.
answered Mar 24 at 7:17
Adam RyczkowskiAdam Ryczkowski
2,45252253
2,45252253
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f955900%2fis-it-possible-to-login-to-desktop-session-from-ssh%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
Use a different VNC server, vncserver allows separate logins. A better question is why are you forwarding an entire desktop ? You can forward single apps. FreeNX is faster and more secure. Web based solutions are better for server management.
– Panther
Sep 14 '17 at 20:12
we have a particular workflow that requires some users who aren't familiar with command line to perform some tasks in the GUI.
– Eldorado
Sep 14 '17 at 20:25
And security isn't a concern.
– Eldorado
Sep 14 '17 at 20:26
There is no way to log into the graphical interface over ssh.
– Panther
Sep 14 '17 at 20:31
1
Well, technically that strictly the case, but the desktop would be forwarded over ssh and not available to the local user. My suggestion is to enable auto login - help.ubuntu.com/community/AutoLogin maketecheasier.com/enable-automatic-login-in-ubuntu
– Panther
Sep 14 '17 at 20:42