Connecting with vinagre (VNC) through intermediary ssh serverError in accessing the remote server from local machine through VNCvncserver grey screen ubuntu 16.04 LTSUsing sshfs on C accessed via A and Busing x11 forwarding with ssh and vnc?VNC Server SecurityVNC vino over SSH tunnel ONLYVNC connection results in grey or black screenUnable to connect through VNC
How can mages regard fast magic as a form of evil?
Where is the node created timestamp stored in the database?
Unique magic triplets
Debugging cplex model
ASCII texturing
Is the genre 'fantasy' still fantasy without magic?
Is there a bulletproof way to know a file has been successfully decrypted?
How to determine minimum word length of regular language
Why does Rome municipality seem to have a hard time maintaining the city?
How to remove empty lines from begin and end of file?
Why does the asymptote succession compilation result in a non-vector pdf?
Does the coriolis force have an effect on the direction in which an aircraft travels?
Why don't we shield existing CPUs from radiation instead of designing new ones?
How do I get actual values from a Jacobian matrix?
What is an example of a sequence which "thins out" and is finite?
How to translate old German (before 1920)
Were any DOS games (or software) known to use VBE/AF?
Why has no one requested the tape of the Trump/Ukraine call?
Can a microwave oven cook chicken?
Why is super hero technology never used by civilians?
Insets around a clock
What kinds of sanctions would be applied if you wrongly invoked the fifth amendment?
How to truncate all lines at a certain length?
Are there concrete advantages for being proficient at social skills in a table that rewards roleplaying these interactions?
Connecting with vinagre (VNC) through intermediary ssh server
Error in accessing the remote server from local machine through VNCvncserver grey screen ubuntu 16.04 LTSUsing sshfs on C accessed via A and Busing x11 forwarding with ssh and vnc?VNC Server SecurityVNC vino over SSH tunnel ONLYVNC connection results in grey or black screenUnable to connect through VNC
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
Ok, I cannot seem to get VNC connection to work. I'm not sure if I understand it. So:
I want to connect from my home pc (let's call it athome
) to my work desktop (let's call it atwork
, but I have to tunnel through a connection server (let's call it workserver
).
So can someone explain me how I can use, e.g., Vinagre to connect from athome
to atwork
via workserver
(and share the desktop, which I enabled at atwork
vino-preferences)? I can get access them all fine via ssh in the terminal, but I can't get Vinagre to connect.
I've tried with the "Use host ... as SSH tunnel" option. It didn't work.
I've tried ssh -v -N -R 5902:atwork:5902 user@workserver
in the terminal and then connect to localhost:5902
, but it didn't work.
I'm probably doing something wrong, so I would be very happy if someone could explain me clearly how it should be done.
Thanks
ssh remote-desktop vnc vinagre
add a comment
|
Ok, I cannot seem to get VNC connection to work. I'm not sure if I understand it. So:
I want to connect from my home pc (let's call it athome
) to my work desktop (let's call it atwork
, but I have to tunnel through a connection server (let's call it workserver
).
So can someone explain me how I can use, e.g., Vinagre to connect from athome
to atwork
via workserver
(and share the desktop, which I enabled at atwork
vino-preferences)? I can get access them all fine via ssh in the terminal, but I can't get Vinagre to connect.
I've tried with the "Use host ... as SSH tunnel" option. It didn't work.
I've tried ssh -v -N -R 5902:atwork:5902 user@workserver
in the terminal and then connect to localhost:5902
, but it didn't work.
I'm probably doing something wrong, so I would be very happy if someone could explain me clearly how it should be done.
Thanks
ssh remote-desktop vnc vinagre
I understand how to ssh into a server and then get its remote desktop via VNC, but I'm not sure my answer will work whenatwork
andworkserver
are different machines. How are they connected?
– Organic Marble
Nov 27 '17 at 23:24
Euhm, not sure. It's a local network at work I guess. I ssh fromathome
toworkserver
and then do again an ssh intoatwork
. But they are indeed different machines.
– Lu Kas
Nov 27 '17 at 23:39
This is probably why your method listed above didn't work; sort of a double tunnel is needed. I will see if I can simulate such a thing on my LAN, interesting question!
– Organic Marble
Nov 27 '17 at 23:42
Hmm, ok, I guess I was really misunderstanding. I thought this was standard practice. Thanks for the help.
– Lu Kas
Nov 27 '17 at 23:49
add a comment
|
Ok, I cannot seem to get VNC connection to work. I'm not sure if I understand it. So:
I want to connect from my home pc (let's call it athome
) to my work desktop (let's call it atwork
, but I have to tunnel through a connection server (let's call it workserver
).
So can someone explain me how I can use, e.g., Vinagre to connect from athome
to atwork
via workserver
(and share the desktop, which I enabled at atwork
vino-preferences)? I can get access them all fine via ssh in the terminal, but I can't get Vinagre to connect.
I've tried with the "Use host ... as SSH tunnel" option. It didn't work.
I've tried ssh -v -N -R 5902:atwork:5902 user@workserver
in the terminal and then connect to localhost:5902
, but it didn't work.
I'm probably doing something wrong, so I would be very happy if someone could explain me clearly how it should be done.
Thanks
ssh remote-desktop vnc vinagre
Ok, I cannot seem to get VNC connection to work. I'm not sure if I understand it. So:
I want to connect from my home pc (let's call it athome
) to my work desktop (let's call it atwork
, but I have to tunnel through a connection server (let's call it workserver
).
So can someone explain me how I can use, e.g., Vinagre to connect from athome
to atwork
via workserver
(and share the desktop, which I enabled at atwork
vino-preferences)? I can get access them all fine via ssh in the terminal, but I can't get Vinagre to connect.
I've tried with the "Use host ... as SSH tunnel" option. It didn't work.
I've tried ssh -v -N -R 5902:atwork:5902 user@workserver
in the terminal and then connect to localhost:5902
, but it didn't work.
I'm probably doing something wrong, so I would be very happy if someone could explain me clearly how it should be done.
Thanks
ssh remote-desktop vnc vinagre
ssh remote-desktop vnc vinagre
asked Nov 27 '17 at 23:05
Lu KasLu Kas
1051 silver badge8 bronze badges
1051 silver badge8 bronze badges
I understand how to ssh into a server and then get its remote desktop via VNC, but I'm not sure my answer will work whenatwork
andworkserver
are different machines. How are they connected?
– Organic Marble
Nov 27 '17 at 23:24
Euhm, not sure. It's a local network at work I guess. I ssh fromathome
toworkserver
and then do again an ssh intoatwork
. But they are indeed different machines.
– Lu Kas
Nov 27 '17 at 23:39
This is probably why your method listed above didn't work; sort of a double tunnel is needed. I will see if I can simulate such a thing on my LAN, interesting question!
– Organic Marble
Nov 27 '17 at 23:42
Hmm, ok, I guess I was really misunderstanding. I thought this was standard practice. Thanks for the help.
– Lu Kas
Nov 27 '17 at 23:49
add a comment
|
I understand how to ssh into a server and then get its remote desktop via VNC, but I'm not sure my answer will work whenatwork
andworkserver
are different machines. How are they connected?
– Organic Marble
Nov 27 '17 at 23:24
Euhm, not sure. It's a local network at work I guess. I ssh fromathome
toworkserver
and then do again an ssh intoatwork
. But they are indeed different machines.
– Lu Kas
Nov 27 '17 at 23:39
This is probably why your method listed above didn't work; sort of a double tunnel is needed. I will see if I can simulate such a thing on my LAN, interesting question!
– Organic Marble
Nov 27 '17 at 23:42
Hmm, ok, I guess I was really misunderstanding. I thought this was standard practice. Thanks for the help.
– Lu Kas
Nov 27 '17 at 23:49
I understand how to ssh into a server and then get its remote desktop via VNC, but I'm not sure my answer will work when
atwork
and workserver
are different machines. How are they connected?– Organic Marble
Nov 27 '17 at 23:24
I understand how to ssh into a server and then get its remote desktop via VNC, but I'm not sure my answer will work when
atwork
and workserver
are different machines. How are they connected?– Organic Marble
Nov 27 '17 at 23:24
Euhm, not sure. It's a local network at work I guess. I ssh from
athome
to workserver
and then do again an ssh into atwork
. But they are indeed different machines.– Lu Kas
Nov 27 '17 at 23:39
Euhm, not sure. It's a local network at work I guess. I ssh from
athome
to workserver
and then do again an ssh into atwork
. But they are indeed different machines.– Lu Kas
Nov 27 '17 at 23:39
This is probably why your method listed above didn't work; sort of a double tunnel is needed. I will see if I can simulate such a thing on my LAN, interesting question!
– Organic Marble
Nov 27 '17 at 23:42
This is probably why your method listed above didn't work; sort of a double tunnel is needed. I will see if I can simulate such a thing on my LAN, interesting question!
– Organic Marble
Nov 27 '17 at 23:42
Hmm, ok, I guess I was really misunderstanding. I thought this was standard practice. Thanks for the help.
– Lu Kas
Nov 27 '17 at 23:49
Hmm, ok, I guess I was really misunderstanding. I thought this was standard practice. Thanks for the help.
– Lu Kas
Nov 27 '17 at 23:49
add a comment
|
1 Answer
1
active
oldest
votes
I was able to simulate (I hope) your situation, if I understood it.
The need is to connect to a machine atwork
's VNC server. atwork
is not accessible via ssh from the client machine athome
. However, atwork
is accessible via ssh from the intermediate machine workserver
. workserver
is accessible via ssh from athome
.
If this is the correct scenario, I was able to connect in a similar situation. I used remmina
which by default tries to connect on port 5900. Here is how I did it using intermediate port 5901. Adjust ports as necessary in your situation.
Set up first tunnel from
athome
toworkserver
.ssh -L 5900:localhost:5901 -N -f -l username workserver
Set up 2nd tunnel from
workserver
toatwork
SSH into
workserver
and enter the next command. Leave this ssh window open.ssh -L 5901:localhost:5900 -N -f -l username atwork
Back on
athome
, startremmina
and connect tolocalhost
Somewhat to my surprise, it worked.
When done, go back into the workserver
ssh window and killall ssh
.
Then killall ssh
on athome
.
(sorry for my late reply, really had to go to sleep)----------------------------------------------------------------------------------- Yes, that is indeed my situation. This seems to work, although I had to change the port to 5901 in the ssh line for workserver (vncserver seems to start at port 5900 + desktop). Thanks. Now just one (small) problem, thekillall ssh
doesn't seem to work onworkserver
. Probably has to do with that it's a Sun Microsystem.
– Lu Kas
Nov 28 '17 at 9:35
Also, I had to solve the grey screen issue, which I did following the instructions here. However, I don't seem to get any kind of taskbar on the remote desktop, nor do I manage to open a terminal. Any ideas why or how to solve?
– Lu Kas
Nov 28 '17 at 9:39
I haven't run into those issues, I'm especially not sure why the killall didn't work. The idea of that is to stop the tunnel but maybe it got stopped some other way? As for the other issues, they may be vinagre related, which I've never used. I'm a novice at this stuff myself and looking into questions like this helps me learn. Which also means that my answer may not be the optimal solution.
– Organic Marble
Nov 28 '17 at 14:03
No, I also used Remmina, like you said. It might be vnc4server related, since I used it to reproduce the "grey screen" solution. The killall might not work due to it being a different operating system.workserver
is setup by the IT department at work for ssh login purposes, but it runs SUN OS. I've noticedps aux
also doesn't work, for example. I understand it was to stop the tunnel, but it was certainly not stopped in another way. I had to stop them individually withkill
(yes them, had to try a few times to make it work :P)
– Lu Kas
Nov 28 '17 at 14:59
I've had some issues with remmina but mostly involving scaling of the screen, plus it seems to hang up sometimes, especially when the client is an old pc. re: the taskbar, were you viewing the entire screen? No idea on the terminal.
– Organic Marble
Nov 28 '17 at 15:07
|
show 1 more 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/4.0/"u003ecc by-sa 4.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%2f980883%2fconnecting-with-vinagre-vnc-through-intermediary-ssh-server%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
I was able to simulate (I hope) your situation, if I understood it.
The need is to connect to a machine atwork
's VNC server. atwork
is not accessible via ssh from the client machine athome
. However, atwork
is accessible via ssh from the intermediate machine workserver
. workserver
is accessible via ssh from athome
.
If this is the correct scenario, I was able to connect in a similar situation. I used remmina
which by default tries to connect on port 5900. Here is how I did it using intermediate port 5901. Adjust ports as necessary in your situation.
Set up first tunnel from
athome
toworkserver
.ssh -L 5900:localhost:5901 -N -f -l username workserver
Set up 2nd tunnel from
workserver
toatwork
SSH into
workserver
and enter the next command. Leave this ssh window open.ssh -L 5901:localhost:5900 -N -f -l username atwork
Back on
athome
, startremmina
and connect tolocalhost
Somewhat to my surprise, it worked.
When done, go back into the workserver
ssh window and killall ssh
.
Then killall ssh
on athome
.
(sorry for my late reply, really had to go to sleep)----------------------------------------------------------------------------------- Yes, that is indeed my situation. This seems to work, although I had to change the port to 5901 in the ssh line for workserver (vncserver seems to start at port 5900 + desktop). Thanks. Now just one (small) problem, thekillall ssh
doesn't seem to work onworkserver
. Probably has to do with that it's a Sun Microsystem.
– Lu Kas
Nov 28 '17 at 9:35
Also, I had to solve the grey screen issue, which I did following the instructions here. However, I don't seem to get any kind of taskbar on the remote desktop, nor do I manage to open a terminal. Any ideas why or how to solve?
– Lu Kas
Nov 28 '17 at 9:39
I haven't run into those issues, I'm especially not sure why the killall didn't work. The idea of that is to stop the tunnel but maybe it got stopped some other way? As for the other issues, they may be vinagre related, which I've never used. I'm a novice at this stuff myself and looking into questions like this helps me learn. Which also means that my answer may not be the optimal solution.
– Organic Marble
Nov 28 '17 at 14:03
No, I also used Remmina, like you said. It might be vnc4server related, since I used it to reproduce the "grey screen" solution. The killall might not work due to it being a different operating system.workserver
is setup by the IT department at work for ssh login purposes, but it runs SUN OS. I've noticedps aux
also doesn't work, for example. I understand it was to stop the tunnel, but it was certainly not stopped in another way. I had to stop them individually withkill
(yes them, had to try a few times to make it work :P)
– Lu Kas
Nov 28 '17 at 14:59
I've had some issues with remmina but mostly involving scaling of the screen, plus it seems to hang up sometimes, especially when the client is an old pc. re: the taskbar, were you viewing the entire screen? No idea on the terminal.
– Organic Marble
Nov 28 '17 at 15:07
|
show 1 more comment
I was able to simulate (I hope) your situation, if I understood it.
The need is to connect to a machine atwork
's VNC server. atwork
is not accessible via ssh from the client machine athome
. However, atwork
is accessible via ssh from the intermediate machine workserver
. workserver
is accessible via ssh from athome
.
If this is the correct scenario, I was able to connect in a similar situation. I used remmina
which by default tries to connect on port 5900. Here is how I did it using intermediate port 5901. Adjust ports as necessary in your situation.
Set up first tunnel from
athome
toworkserver
.ssh -L 5900:localhost:5901 -N -f -l username workserver
Set up 2nd tunnel from
workserver
toatwork
SSH into
workserver
and enter the next command. Leave this ssh window open.ssh -L 5901:localhost:5900 -N -f -l username atwork
Back on
athome
, startremmina
and connect tolocalhost
Somewhat to my surprise, it worked.
When done, go back into the workserver
ssh window and killall ssh
.
Then killall ssh
on athome
.
(sorry for my late reply, really had to go to sleep)----------------------------------------------------------------------------------- Yes, that is indeed my situation. This seems to work, although I had to change the port to 5901 in the ssh line for workserver (vncserver seems to start at port 5900 + desktop). Thanks. Now just one (small) problem, thekillall ssh
doesn't seem to work onworkserver
. Probably has to do with that it's a Sun Microsystem.
– Lu Kas
Nov 28 '17 at 9:35
Also, I had to solve the grey screen issue, which I did following the instructions here. However, I don't seem to get any kind of taskbar on the remote desktop, nor do I manage to open a terminal. Any ideas why or how to solve?
– Lu Kas
Nov 28 '17 at 9:39
I haven't run into those issues, I'm especially not sure why the killall didn't work. The idea of that is to stop the tunnel but maybe it got stopped some other way? As for the other issues, they may be vinagre related, which I've never used. I'm a novice at this stuff myself and looking into questions like this helps me learn. Which also means that my answer may not be the optimal solution.
– Organic Marble
Nov 28 '17 at 14:03
No, I also used Remmina, like you said. It might be vnc4server related, since I used it to reproduce the "grey screen" solution. The killall might not work due to it being a different operating system.workserver
is setup by the IT department at work for ssh login purposes, but it runs SUN OS. I've noticedps aux
also doesn't work, for example. I understand it was to stop the tunnel, but it was certainly not stopped in another way. I had to stop them individually withkill
(yes them, had to try a few times to make it work :P)
– Lu Kas
Nov 28 '17 at 14:59
I've had some issues with remmina but mostly involving scaling of the screen, plus it seems to hang up sometimes, especially when the client is an old pc. re: the taskbar, were you viewing the entire screen? No idea on the terminal.
– Organic Marble
Nov 28 '17 at 15:07
|
show 1 more comment
I was able to simulate (I hope) your situation, if I understood it.
The need is to connect to a machine atwork
's VNC server. atwork
is not accessible via ssh from the client machine athome
. However, atwork
is accessible via ssh from the intermediate machine workserver
. workserver
is accessible via ssh from athome
.
If this is the correct scenario, I was able to connect in a similar situation. I used remmina
which by default tries to connect on port 5900. Here is how I did it using intermediate port 5901. Adjust ports as necessary in your situation.
Set up first tunnel from
athome
toworkserver
.ssh -L 5900:localhost:5901 -N -f -l username workserver
Set up 2nd tunnel from
workserver
toatwork
SSH into
workserver
and enter the next command. Leave this ssh window open.ssh -L 5901:localhost:5900 -N -f -l username atwork
Back on
athome
, startremmina
and connect tolocalhost
Somewhat to my surprise, it worked.
When done, go back into the workserver
ssh window and killall ssh
.
Then killall ssh
on athome
.
I was able to simulate (I hope) your situation, if I understood it.
The need is to connect to a machine atwork
's VNC server. atwork
is not accessible via ssh from the client machine athome
. However, atwork
is accessible via ssh from the intermediate machine workserver
. workserver
is accessible via ssh from athome
.
If this is the correct scenario, I was able to connect in a similar situation. I used remmina
which by default tries to connect on port 5900. Here is how I did it using intermediate port 5901. Adjust ports as necessary in your situation.
Set up first tunnel from
athome
toworkserver
.ssh -L 5900:localhost:5901 -N -f -l username workserver
Set up 2nd tunnel from
workserver
toatwork
SSH into
workserver
and enter the next command. Leave this ssh window open.ssh -L 5901:localhost:5900 -N -f -l username atwork
Back on
athome
, startremmina
and connect tolocalhost
Somewhat to my surprise, it worked.
When done, go back into the workserver
ssh window and killall ssh
.
Then killall ssh
on athome
.
edited Nov 28 '17 at 2:13
pa4080
19k7 gold badges43 silver badges89 bronze badges
19k7 gold badges43 silver badges89 bronze badges
answered Nov 28 '17 at 0:01
Organic MarbleOrganic Marble
13.9k9 gold badges40 silver badges67 bronze badges
13.9k9 gold badges40 silver badges67 bronze badges
(sorry for my late reply, really had to go to sleep)----------------------------------------------------------------------------------- Yes, that is indeed my situation. This seems to work, although I had to change the port to 5901 in the ssh line for workserver (vncserver seems to start at port 5900 + desktop). Thanks. Now just one (small) problem, thekillall ssh
doesn't seem to work onworkserver
. Probably has to do with that it's a Sun Microsystem.
– Lu Kas
Nov 28 '17 at 9:35
Also, I had to solve the grey screen issue, which I did following the instructions here. However, I don't seem to get any kind of taskbar on the remote desktop, nor do I manage to open a terminal. Any ideas why or how to solve?
– Lu Kas
Nov 28 '17 at 9:39
I haven't run into those issues, I'm especially not sure why the killall didn't work. The idea of that is to stop the tunnel but maybe it got stopped some other way? As for the other issues, they may be vinagre related, which I've never used. I'm a novice at this stuff myself and looking into questions like this helps me learn. Which also means that my answer may not be the optimal solution.
– Organic Marble
Nov 28 '17 at 14:03
No, I also used Remmina, like you said. It might be vnc4server related, since I used it to reproduce the "grey screen" solution. The killall might not work due to it being a different operating system.workserver
is setup by the IT department at work for ssh login purposes, but it runs SUN OS. I've noticedps aux
also doesn't work, for example. I understand it was to stop the tunnel, but it was certainly not stopped in another way. I had to stop them individually withkill
(yes them, had to try a few times to make it work :P)
– Lu Kas
Nov 28 '17 at 14:59
I've had some issues with remmina but mostly involving scaling of the screen, plus it seems to hang up sometimes, especially when the client is an old pc. re: the taskbar, were you viewing the entire screen? No idea on the terminal.
– Organic Marble
Nov 28 '17 at 15:07
|
show 1 more comment
(sorry for my late reply, really had to go to sleep)----------------------------------------------------------------------------------- Yes, that is indeed my situation. This seems to work, although I had to change the port to 5901 in the ssh line for workserver (vncserver seems to start at port 5900 + desktop). Thanks. Now just one (small) problem, thekillall ssh
doesn't seem to work onworkserver
. Probably has to do with that it's a Sun Microsystem.
– Lu Kas
Nov 28 '17 at 9:35
Also, I had to solve the grey screen issue, which I did following the instructions here. However, I don't seem to get any kind of taskbar on the remote desktop, nor do I manage to open a terminal. Any ideas why or how to solve?
– Lu Kas
Nov 28 '17 at 9:39
I haven't run into those issues, I'm especially not sure why the killall didn't work. The idea of that is to stop the tunnel but maybe it got stopped some other way? As for the other issues, they may be vinagre related, which I've never used. I'm a novice at this stuff myself and looking into questions like this helps me learn. Which also means that my answer may not be the optimal solution.
– Organic Marble
Nov 28 '17 at 14:03
No, I also used Remmina, like you said. It might be vnc4server related, since I used it to reproduce the "grey screen" solution. The killall might not work due to it being a different operating system.workserver
is setup by the IT department at work for ssh login purposes, but it runs SUN OS. I've noticedps aux
also doesn't work, for example. I understand it was to stop the tunnel, but it was certainly not stopped in another way. I had to stop them individually withkill
(yes them, had to try a few times to make it work :P)
– Lu Kas
Nov 28 '17 at 14:59
I've had some issues with remmina but mostly involving scaling of the screen, plus it seems to hang up sometimes, especially when the client is an old pc. re: the taskbar, were you viewing the entire screen? No idea on the terminal.
– Organic Marble
Nov 28 '17 at 15:07
(sorry for my late reply, really had to go to sleep)----------------------------------------------------------------------------------- Yes, that is indeed my situation. This seems to work, although I had to change the port to 5901 in the ssh line for workserver (vncserver seems to start at port 5900 + desktop). Thanks. Now just one (small) problem, the
killall ssh
doesn't seem to work on workserver
. Probably has to do with that it's a Sun Microsystem.– Lu Kas
Nov 28 '17 at 9:35
(sorry for my late reply, really had to go to sleep)----------------------------------------------------------------------------------- Yes, that is indeed my situation. This seems to work, although I had to change the port to 5901 in the ssh line for workserver (vncserver seems to start at port 5900 + desktop). Thanks. Now just one (small) problem, the
killall ssh
doesn't seem to work on workserver
. Probably has to do with that it's a Sun Microsystem.– Lu Kas
Nov 28 '17 at 9:35
Also, I had to solve the grey screen issue, which I did following the instructions here. However, I don't seem to get any kind of taskbar on the remote desktop, nor do I manage to open a terminal. Any ideas why or how to solve?
– Lu Kas
Nov 28 '17 at 9:39
Also, I had to solve the grey screen issue, which I did following the instructions here. However, I don't seem to get any kind of taskbar on the remote desktop, nor do I manage to open a terminal. Any ideas why or how to solve?
– Lu Kas
Nov 28 '17 at 9:39
I haven't run into those issues, I'm especially not sure why the killall didn't work. The idea of that is to stop the tunnel but maybe it got stopped some other way? As for the other issues, they may be vinagre related, which I've never used. I'm a novice at this stuff myself and looking into questions like this helps me learn. Which also means that my answer may not be the optimal solution.
– Organic Marble
Nov 28 '17 at 14:03
I haven't run into those issues, I'm especially not sure why the killall didn't work. The idea of that is to stop the tunnel but maybe it got stopped some other way? As for the other issues, they may be vinagre related, which I've never used. I'm a novice at this stuff myself and looking into questions like this helps me learn. Which also means that my answer may not be the optimal solution.
– Organic Marble
Nov 28 '17 at 14:03
No, I also used Remmina, like you said. It might be vnc4server related, since I used it to reproduce the "grey screen" solution. The killall might not work due to it being a different operating system.
workserver
is setup by the IT department at work for ssh login purposes, but it runs SUN OS. I've noticed ps aux
also doesn't work, for example. I understand it was to stop the tunnel, but it was certainly not stopped in another way. I had to stop them individually with kill
(yes them, had to try a few times to make it work :P)– Lu Kas
Nov 28 '17 at 14:59
No, I also used Remmina, like you said. It might be vnc4server related, since I used it to reproduce the "grey screen" solution. The killall might not work due to it being a different operating system.
workserver
is setup by the IT department at work for ssh login purposes, but it runs SUN OS. I've noticed ps aux
also doesn't work, for example. I understand it was to stop the tunnel, but it was certainly not stopped in another way. I had to stop them individually with kill
(yes them, had to try a few times to make it work :P)– Lu Kas
Nov 28 '17 at 14:59
I've had some issues with remmina but mostly involving scaling of the screen, plus it seems to hang up sometimes, especially when the client is an old pc. re: the taskbar, were you viewing the entire screen? No idea on the terminal.
– Organic Marble
Nov 28 '17 at 15:07
I've had some issues with remmina but mostly involving scaling of the screen, plus it seems to hang up sometimes, especially when the client is an old pc. re: the taskbar, were you viewing the entire screen? No idea on the terminal.
– Organic Marble
Nov 28 '17 at 15:07
|
show 1 more 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%2f980883%2fconnecting-with-vinagre-vnc-through-intermediary-ssh-server%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
I understand how to ssh into a server and then get its remote desktop via VNC, but I'm not sure my answer will work when
atwork
andworkserver
are different machines. How are they connected?– Organic Marble
Nov 27 '17 at 23:24
Euhm, not sure. It's a local network at work I guess. I ssh from
athome
toworkserver
and then do again an ssh intoatwork
. But they are indeed different machines.– Lu Kas
Nov 27 '17 at 23:39
This is probably why your method listed above didn't work; sort of a double tunnel is needed. I will see if I can simulate such a thing on my LAN, interesting question!
– Organic Marble
Nov 27 '17 at 23:42
Hmm, ok, I guess I was really misunderstanding. I thought this was standard practice. Thanks for the help.
– Lu Kas
Nov 27 '17 at 23:49