CentOS 7 VNC users dont share desktop session

Multi tool use
I installed VNC server on a CentOS machine. I set up a user, and then enabled the VNC server for them on startup following these steps: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-remote-access-for-the-gnome-desktop-on-centos-7. I can successfully log into the machine over VNC, but it appears that the VNC users are not sharing the same session... as if I log into the physical machine and start up a process, when the VNC connection is made, nothing is active on the desktop at all. What did I do wrong? I need VNC to allow users to log in and remotely debug software which may or may not have been started by someone logged into the physical machine
centos vnc desktop-environment
add a comment |
I installed VNC server on a CentOS machine. I set up a user, and then enabled the VNC server for them on startup following these steps: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-remote-access-for-the-gnome-desktop-on-centos-7. I can successfully log into the machine over VNC, but it appears that the VNC users are not sharing the same session... as if I log into the physical machine and start up a process, when the VNC connection is made, nothing is active on the desktop at all. What did I do wrong? I need VNC to allow users to log in and remotely debug software which may or may not have been started by someone logged into the physical machine
centos vnc desktop-environment
add a comment |
I installed VNC server on a CentOS machine. I set up a user, and then enabled the VNC server for them on startup following these steps: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-remote-access-for-the-gnome-desktop-on-centos-7. I can successfully log into the machine over VNC, but it appears that the VNC users are not sharing the same session... as if I log into the physical machine and start up a process, when the VNC connection is made, nothing is active on the desktop at all. What did I do wrong? I need VNC to allow users to log in and remotely debug software which may or may not have been started by someone logged into the physical machine
centos vnc desktop-environment
I installed VNC server on a CentOS machine. I set up a user, and then enabled the VNC server for them on startup following these steps: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-remote-access-for-the-gnome-desktop-on-centos-7. I can successfully log into the machine over VNC, but it appears that the VNC users are not sharing the same session... as if I log into the physical machine and start up a process, when the VNC connection is made, nothing is active on the desktop at all. What did I do wrong? I need VNC to allow users to log in and remotely debug software which may or may not have been started by someone logged into the physical machine
centos vnc desktop-environment
centos vnc desktop-environment
edited Mar 12 '15 at 13:54


Ulrich Schwarz
9,91312947
9,91312947
asked Mar 12 '15 at 13:49


Mark WMark W
138116
138116
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I'm not the expert, but I have a friend who uses ssh to easily access my machines, one I give him a login. It's one of many way, but it has worked for me. I don't think it's as secure as VPN, but it has worked out, with no incident so far. He does have a better vantage point to catch unsavory activities. It's not my field, but like I said, it seems to work well.
I appreciate the response... I ended up uninstalling tigervnc entirely from the machine, and used the built in vino server... the only issue is that I had to disable encryption on the server to support connections from an ultra vnc viewer, due to type 18 not being supported.
– Mark W
Mar 12 '15 at 14:50
add a comment |
You could use x11vnc for this.
As Root (sudo -i):
yum install x11vnc
x11vnc -storepasswd /etc/x11vnc.pass
printf '[Unit]nDescription="x11vnc"nRequires=display-manager.servicenAfter=multi-user.targetnn' > /etc/systemd/system/x11vnc.service
printf '[Service]nExecStart=/usr/bin/x11vnc -xkb -noxrecord -noxfixes -noxdamage -auth guess -display :0 -forever -shared -rfbauth /etc/x11vnc.pass -usepw nExecStop=/usr/bin/killall x11vncnRestart=alwaysnRestartSec=150msnn' >> /etc/systemd/system/x11vnc.service
printf '[Install]nWantedBy=multi-user.targetnn' >> /etc/systemd/system/x11vnc.service
systemctl daemon-reload
systemctl enable x11vnc.service
systemctl start x11vnc.service
That will share the primary display with anyone who connects and knows the x11 password you set.
less /etc/systemd/system/x11vnc.service
Look at the ExecStart line to see what arguments it is using, those are documented here: http://www.karlrunge.com/x11vnc/x11vnc_opts.html
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
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%2f189737%2fcentos-7-vnc-users-dont-share-desktop-session%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I'm not the expert, but I have a friend who uses ssh to easily access my machines, one I give him a login. It's one of many way, but it has worked for me. I don't think it's as secure as VPN, but it has worked out, with no incident so far. He does have a better vantage point to catch unsavory activities. It's not my field, but like I said, it seems to work well.
I appreciate the response... I ended up uninstalling tigervnc entirely from the machine, and used the built in vino server... the only issue is that I had to disable encryption on the server to support connections from an ultra vnc viewer, due to type 18 not being supported.
– Mark W
Mar 12 '15 at 14:50
add a comment |
I'm not the expert, but I have a friend who uses ssh to easily access my machines, one I give him a login. It's one of many way, but it has worked for me. I don't think it's as secure as VPN, but it has worked out, with no incident so far. He does have a better vantage point to catch unsavory activities. It's not my field, but like I said, it seems to work well.
I appreciate the response... I ended up uninstalling tigervnc entirely from the machine, and used the built in vino server... the only issue is that I had to disable encryption on the server to support connections from an ultra vnc viewer, due to type 18 not being supported.
– Mark W
Mar 12 '15 at 14:50
add a comment |
I'm not the expert, but I have a friend who uses ssh to easily access my machines, one I give him a login. It's one of many way, but it has worked for me. I don't think it's as secure as VPN, but it has worked out, with no incident so far. He does have a better vantage point to catch unsavory activities. It's not my field, but like I said, it seems to work well.
I'm not the expert, but I have a friend who uses ssh to easily access my machines, one I give him a login. It's one of many way, but it has worked for me. I don't think it's as secure as VPN, but it has worked out, with no incident so far. He does have a better vantage point to catch unsavory activities. It's not my field, but like I said, it seems to work well.
answered Mar 12 '15 at 14:48
user106360user106360
1
1
I appreciate the response... I ended up uninstalling tigervnc entirely from the machine, and used the built in vino server... the only issue is that I had to disable encryption on the server to support connections from an ultra vnc viewer, due to type 18 not being supported.
– Mark W
Mar 12 '15 at 14:50
add a comment |
I appreciate the response... I ended up uninstalling tigervnc entirely from the machine, and used the built in vino server... the only issue is that I had to disable encryption on the server to support connections from an ultra vnc viewer, due to type 18 not being supported.
– Mark W
Mar 12 '15 at 14:50
I appreciate the response... I ended up uninstalling tigervnc entirely from the machine, and used the built in vino server... the only issue is that I had to disable encryption on the server to support connections from an ultra vnc viewer, due to type 18 not being supported.
– Mark W
Mar 12 '15 at 14:50
I appreciate the response... I ended up uninstalling tigervnc entirely from the machine, and used the built in vino server... the only issue is that I had to disable encryption on the server to support connections from an ultra vnc viewer, due to type 18 not being supported.
– Mark W
Mar 12 '15 at 14:50
add a comment |
You could use x11vnc for this.
As Root (sudo -i):
yum install x11vnc
x11vnc -storepasswd /etc/x11vnc.pass
printf '[Unit]nDescription="x11vnc"nRequires=display-manager.servicenAfter=multi-user.targetnn' > /etc/systemd/system/x11vnc.service
printf '[Service]nExecStart=/usr/bin/x11vnc -xkb -noxrecord -noxfixes -noxdamage -auth guess -display :0 -forever -shared -rfbauth /etc/x11vnc.pass -usepw nExecStop=/usr/bin/killall x11vncnRestart=alwaysnRestartSec=150msnn' >> /etc/systemd/system/x11vnc.service
printf '[Install]nWantedBy=multi-user.targetnn' >> /etc/systemd/system/x11vnc.service
systemctl daemon-reload
systemctl enable x11vnc.service
systemctl start x11vnc.service
That will share the primary display with anyone who connects and knows the x11 password you set.
less /etc/systemd/system/x11vnc.service
Look at the ExecStart line to see what arguments it is using, those are documented here: http://www.karlrunge.com/x11vnc/x11vnc_opts.html
add a comment |
You could use x11vnc for this.
As Root (sudo -i):
yum install x11vnc
x11vnc -storepasswd /etc/x11vnc.pass
printf '[Unit]nDescription="x11vnc"nRequires=display-manager.servicenAfter=multi-user.targetnn' > /etc/systemd/system/x11vnc.service
printf '[Service]nExecStart=/usr/bin/x11vnc -xkb -noxrecord -noxfixes -noxdamage -auth guess -display :0 -forever -shared -rfbauth /etc/x11vnc.pass -usepw nExecStop=/usr/bin/killall x11vncnRestart=alwaysnRestartSec=150msnn' >> /etc/systemd/system/x11vnc.service
printf '[Install]nWantedBy=multi-user.targetnn' >> /etc/systemd/system/x11vnc.service
systemctl daemon-reload
systemctl enable x11vnc.service
systemctl start x11vnc.service
That will share the primary display with anyone who connects and knows the x11 password you set.
less /etc/systemd/system/x11vnc.service
Look at the ExecStart line to see what arguments it is using, those are documented here: http://www.karlrunge.com/x11vnc/x11vnc_opts.html
add a comment |
You could use x11vnc for this.
As Root (sudo -i):
yum install x11vnc
x11vnc -storepasswd /etc/x11vnc.pass
printf '[Unit]nDescription="x11vnc"nRequires=display-manager.servicenAfter=multi-user.targetnn' > /etc/systemd/system/x11vnc.service
printf '[Service]nExecStart=/usr/bin/x11vnc -xkb -noxrecord -noxfixes -noxdamage -auth guess -display :0 -forever -shared -rfbauth /etc/x11vnc.pass -usepw nExecStop=/usr/bin/killall x11vncnRestart=alwaysnRestartSec=150msnn' >> /etc/systemd/system/x11vnc.service
printf '[Install]nWantedBy=multi-user.targetnn' >> /etc/systemd/system/x11vnc.service
systemctl daemon-reload
systemctl enable x11vnc.service
systemctl start x11vnc.service
That will share the primary display with anyone who connects and knows the x11 password you set.
less /etc/systemd/system/x11vnc.service
Look at the ExecStart line to see what arguments it is using, those are documented here: http://www.karlrunge.com/x11vnc/x11vnc_opts.html
You could use x11vnc for this.
As Root (sudo -i):
yum install x11vnc
x11vnc -storepasswd /etc/x11vnc.pass
printf '[Unit]nDescription="x11vnc"nRequires=display-manager.servicenAfter=multi-user.targetnn' > /etc/systemd/system/x11vnc.service
printf '[Service]nExecStart=/usr/bin/x11vnc -xkb -noxrecord -noxfixes -noxdamage -auth guess -display :0 -forever -shared -rfbauth /etc/x11vnc.pass -usepw nExecStop=/usr/bin/killall x11vncnRestart=alwaysnRestartSec=150msnn' >> /etc/systemd/system/x11vnc.service
printf '[Install]nWantedBy=multi-user.targetnn' >> /etc/systemd/system/x11vnc.service
systemctl daemon-reload
systemctl enable x11vnc.service
systemctl start x11vnc.service
That will share the primary display with anyone who connects and knows the x11 password you set.
less /etc/systemd/system/x11vnc.service
Look at the ExecStart line to see what arguments it is using, those are documented here: http://www.karlrunge.com/x11vnc/x11vnc_opts.html
answered Mar 22 '18 at 14:52
Iain HendersonIain Henderson
1061
1061
add a comment |
add a comment |
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.
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%2f189737%2fcentos-7-vnc-users-dont-share-desktop-session%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
QcnL6,JTCf a OEtL0 Sm,EE5vtoIS