Re: [CentOS] vncserver on centos 7
On 04/06/2015 04:56 AM, Jerry Geis wrote: Is there a way to make vncserver on centos 7 to be read only? I want to allow someone to connect and see the screen- but not change it of course. Thanks, jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Add -AcceptPointerEvents=0 and -AcceptKeyEvents=0 to the vncserver commandline in vncserver@:#.service file, or on the Xvnc command line. Emmett ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] vncserver on centos 7
Is there a way to make vncserver on centos 7 to be read only? I want to allow someone to connect and see the screen- but not change it of course. Thanks, jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncserver on CentOS 7
On Fri, Apr 03, 2015 at 02:46:56PM -0400, Jerry Geis wrote: I am trying to setup a centos 7.1 vncserver I cannot believe they went from a relatively easy process in 6 to the crazyness that is 7. I did the following: yum install tigervnc-server cp /lib/systemd/system/vncserver@.service /etc/systemd/system systemctl daemon-reload edit /etc/systemd.system/vncserver@.service and replace USER with myuser su - myuser run vncpassword to set password systemctl enable vncserver@. Says its enabled: systemctl list-unit-files | grep vnc vncserver@.service enabled using another machine to connect gives error about nothing there. netstat -tuln | grep 5900 gives nothing. What did I miss? Is the port opened in the firewall? -- Fred Smith -- fre...@fcshome.stoneham.ma.us - The Lord detests the way of the wicked but he loves those who pursue righteousness. - Proverbs 15:9 (niv) - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] vncserver on CentOS 7
I am trying to setup a centos 7.1 vncserver I cannot believe they went from a relatively easy process in 6 to the crazyness that is 7. I did the following: yum install tigervnc-server cp /lib/systemd/system/vncserver@.service /etc/systemd/system systemctl daemon-reload edit /etc/systemd.system/vncserver@.service and replace USER with myuser su - myuser run vncpassword to set password systemctl enable vncserver@. Says its enabled: systemctl list-unit-files | grep vnc vncserver@.service enabled using another machine to connect gives error about nothing there. netstat -tuln | grep 5900 gives nothing. What did I miss? Thanks, Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncserver on CentOS 7
Is the port opened in the firewall? I stopped firewalld with systemctl stop firewalld Jerry On Fri, Apr 3, 2015 at 2:46 PM, Jerry Geis ge...@pagestation.com wrote: I am trying to setup a centos 7.1 vncserver I cannot believe they went from a relatively easy process in 6 to the crazyness that is 7. I did the following: yum install tigervnc-server cp /lib/systemd/system/vncserver@.service /etc/systemd/system systemctl daemon-reload edit /etc/systemd.system/vncserver@.service and replace USER with myuser su - myuser run vncpassword to set password systemctl enable vncserver@. Says its enabled: systemctl list-unit-files | grep vnc vncserver@.service enabled using another machine to connect gives error about nothing there. netstat -tuln | grep 5900 gives nothing. What did I miss? Thanks, Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncserver on CentOS 7
On 4/3/2015 1:39 PM, Jerry Geis wrote: I then used 4 as in your example and it worked. How do I get port 5900 ? 0 -- john r pierce, recycling bits in santa cruz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncserver on CentOS 7
On 04/03/2015 12:11 PM, Jerry Geis wrote: Is the port opened in the firewall? I stopped firewalld with systemctl stop firewalld Jerry On Fri, Apr 3, 2015 at 2:46 PM, Jerry Geis ge...@pagestation.com wrote: I am trying to setup a centos 7.1 vncserver I cannot believe they went from a relatively easy process in 6 to the crazyness that is 7. I did the following: yum install tigervnc-server cp /lib/systemd/system/vncserver@.service /etc/systemd/system systemctl daemon-reload edit /etc/systemd.system/vncserver@.service and replace USER with myuser su - myuser run vncpassword to set password systemctl enable vncserver@. Says its enabled: systemctl list-unit-files | grep vnc vncserver@.service enabled using another machine to connect gives error about nothing there. netstat -tuln | grep 5900 gives nothing. What did I miss? Thanks, Jerry You should: cp /lib/systemd/system/vncserver@.service /lib/systemd/system/vncserver@:#.service Where # is the vnc port 590# to open. Like /lib/systemd/system/vncserver@:4.service to start a vncserver on port 5904. Then use `systemctl start vncserver@:4' to start that VNC server. Remember to edit the /lib/systemd/system/vncserver@:4.service file's USER as you did before. Emmett ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncserver on CentOS 7
You should: cp /lib/systemd/system/vncserver at .service http://lists.centos.org/mailman/listinfo/centos /lib/systemd/system/vncserver@:#.service Where # is the vnc port 590# to open. Like /lib/systemd/system/vncserver@:4.service to start a vncserver on port 5904. Then use `systemctl start vncserver@:4' to start that VNC server. Remember to edit the /lib/systemd/system/vncserver@:4.service file's USER as you did before. Emmett OK - I redid and used the name vncserver@:0.service Still not work - I then used 4 as in your example and it worked. How do I get port 5900 ? Thanks, jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncserver on CentOS 7
On 04/03/2015 01:39 PM, Jerry Geis wrote: You should: cp /lib/systemd/system/vncserver at .service http://lists.centos.org/mailman/listinfo/centos /lib/systemd/system/vncserver@:#.service Where # is the vnc port 590# to open. Like /lib/systemd/system/vncserver@:4.service to start a vncserver on port 5904. Then use `systemctl start vncserver@:4' to start that VNC server. Remember to edit the /lib/systemd/system/vncserver@:4.service file's USER as you did before. Emmett OK - I redid and used the name vncserver@:0.service Still not work - I then used 4 as in your example and it worked. How do I get port 5900 ? Thanks, jerry Not sure why the didn't work. I've never used 0. You could add -rfbport 5900 to the vncserver parameters, or explicitly set the display value by replacing any %1 in the .service file with the display number preceded by a colon. e.g., ':0'. Note that if you are hosting any kvm VMs, a running vm might be grabbing the 5900 port. Which could explain why the :0 file name didn't work. Emmett ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncserver on CentOS 7
On 04/03/2015 08:46 PM, Jerry Geis wrote: I am trying to setup a centos 7.1 vncserver I did the following: yum install tigervnc-server cp /lib/systemd/system/vncserver@.service I guess the problem is, that you don't provide the instance name (the part after the @), the vncserver server need this to configure the local X- display. See the Quick HowTo line in the service unit file regards Ulf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos