I too am having issues with vnc. Specifically vnc and Fc2. I am trying to get vnc server to work on a headless fc2 virtual dedicated server and be able to view desktop from a client machine (usually windows, but also and fc4 machine).
It is my understanding that some form of vnc is already installed on most linux, including FC2. Indeed, a viewer seems to be installed, but the VNC server function does not seem to work.
As root, I type vncserver or vnc-server as various have suggested, and I get...
# vncserver
-bash: vncserver: command not found
I figure a reinstall might allow me to get the server running, or fix any problems... So As root (su - followed by passwd), when I try to install, i get the following...
# rpm -i vnc-4.0-5.i386.rpm
/etc/security/selinux/file_contexts: No such file or directory
warning: vnc-4.0-5.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
package vnc-4.0-5 is already installed
#
The package is installed, but seemingly, only the viewer works (I have not tried to use the viewer, but "# vncviewer" generates evidence it is operational, and the viewer (not the server) does show up in directories.
So, I try a yum install to see if that will fix the prob or clean the slate and allow vnc server to run.
When I try a yum install, I get the following
# yum install vnc
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - i386 - Base
retrygrab() failed for:
http://download.fedora.redhat.com/pu...rs/header.info
Executing failover method
failover: out of servers to try
Error getting file
http://download.fedora.redhat.com/pu...rs/header.info
[Errno 4] IOError: <urlopen error >
#
These are just the basic approaches I have tried. I have tried variations on these installs (not just using -i in the rpm install, using 'yum localinstall' etc. etc.
The key issues that googling and foruming have brought up, but not clearly, are:
1. Fedora Core 2 has selinux disabled out of box, but not fully clear from the system. Yum and VNC installs seem to snag on selinux folders not being present.
2. FC2 vnc is viewer only. (A previous post on a related thread (I was going to post on that one or this one) suggests this, but is this unchangeable? Can it be made to run vnc server?)
3. yum is legacy on FC2 now, which requires a lot of hoops to jum through to get it to work right.
Thought I have ID'd these issues, I'd need help resolving them if they are indeed my problem. There might be other issues, but I can't seem to make sense of how to proceed.
Some notes: Though I would like to, I can't upgrade to fc3 or 4, but must use the network/server's fc2 config. I can ssh in no prob, and ftp, etc. I am using putty and filezilla. Also, I have tried to install some other remote desktops with similar snags, though I am open to suggestions.
This is the closest thread I have seen to my problem. If there is a better place to post, please let me know.
So, I am open to any advice, but I need to know how to get vnc server to work on fc2 with seeming selinux issues and possible other issues. I would like to use vnc, but other advice on other remote desks is welcome.
Any help appreciated.
Thanks,