VNC Server on Fedora 13
We have covered installation of Real VNC server on CentOS. Now we are going to setup VNC server on Fedora 13.
Note: commands run by root user are denoted by #
commands run by normal user are denoted by $
Installing VNC Server:
#yum install -y tigervnc tigervnc-server
Configuring VNC Server for user vidyadhar:
#echo 'VNCSERVERS="1:vidyadhar"' >> /etc/sysconfig/vncservers
Before starting vncserver as a service, let's create a vnc password with vncpasswd command.
[vidyadhar@vidyadhar ~]$vncpasswd
Password:
Verify:
Now let's start vncserver as a service.
#service vncserver start
So how do I connect to vncserver? Use vncviewer command in vnc client as following.
[vidyadhar@vidyadhar ~]$ vncviewer localhost:1
Labels: fedora 13, installing vnc on fedora 13, tiger vnc, tiger vnc on linux, vnc server on fedora 13
5 Comments:
hola, no puedo iniciar el servicio, espero que puedas ayudare.
[entropia@entropia ~]$ su
Contraseña:
[root@entropia entropia]# echo 'VNCSERVERS="1:entropia"' >> /etc/sysconfig/vncservers
[root@entropia entropia]# vncpasswd
Password:
Verify:
[root@entropia entropia]# service vncserver start
Starting VNC server: 1:entropia [FAILED]
[root@entropia entropia]# service vncserver restart
Shutting down VNC server: [ OK ]
Starting VNC server: 1:entropia [FAILED]
[root@entropia entropia]#
Saludos
Tell me the following:
1. Content of /etc/sysconfig/vncservers
2. Output of rpm -qa | grep vnc
3. Check the log file /root/.vnc/entropia:1.log for errors
4. Is selinux enabled?
Vidyadhar
[entropia@entropia ~]$ su
Contraseña:
[root@entropia entropia]# cat /etc/sysconfig/vncservers
# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the lines below to start a VNC server on display :2
# as my 'myusername' (adjust this to your own). You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see
# .
# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
# Use "-localhost" to prevent remote VNC clients connecting except when
# doing so through a secure tunnel. See the "-via" option in the
# `man vncviewer' manual page.
# VNCSERVERS="2:myusername"
# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"
VNCSERVERS="1:entropia"
[root@entropia entropia]# rpm -qa | grep vnc
gtk-vnc-0.3.10-3.fc13.x86_64
gtk-vnc-python-0.3.10-3.fc13.x86_64
tigervnc-1.0.90-0.12.20100420svn4030.fc13.x86_64
tigervnc-server-1.0.90-0.12.20100420svn4030.fc13.x86_64
libvncserver-0.9.7-3.fc12.x86_64
[root@entropia entropia]# cat /root/.vnc/entropia:1.log
cat: /root/.vnc/entropia:1.log: No existe el fichero o el directorio
[root@entropia entropia]# service vncserver start
Starting VNC server: 1:entropia [FAILED]
[root@entropia entropia]#
and the selinux is disable.
thanks
run vncpasswd command as a entropia user
#su entropia
$cd ~
$vncpasswd
then as a root user restart vncserver
it works thanks
Post a Comment
Subscribe to Post Comments [Atom]
<< Home