Re: server connection problems in FC4
Michael D. Setzer II <mikes <at> kuentos.guam.net>
2006-03-06 03:16:33 GMT
Probable a selinux problem.
Run system-config-securitylevel
At the bottome, it shows other ports.
Enter 5901:tcp for port 01.
I generally also modify vncservers file
/etc/sysconfig/vncservers
You can modify the line VNCSERVERS to
VNCSERVERS="1:user1 20:user2 50:user3"
Then you activate the vncserver service, and it will start these sessions at
boot time. You must set the session up manually once to create the
password.
I like to use specific ports for users, and you would need to open each port
for the selinux to allow it to connect.
On 5 Mar 2006 at 2:15, Jacob Everist wrote:
>
> Hello,
>
> I've been trying to setup a tightvnc server on Fedora Core 4 linux, but I am having a connection
> problem. When I setup VNC on the FC4 server, I get this:
> ---------
> [jacob <at> localhost .vnc]$ vncserver
>
> New 'localhost.localdomain:1 (jacob)' desktop is localhost.localdomain:1
>
> Starting applications specified in /home/jacob/.vnc/xstartup
> Log file is /home/jacob/.vnc/localhost.localdomain:1.log
> ---------
>
> Wonderful. Everything smooth so far.
>
> When I try to connect to it remotely, I get this:
> -----
> [wildmage <at> localhost ~]$ vncviewer myserver.mydomain.com:1
> vncviewer: ConnectToTcpAddr: connect: Connection timed out
> Unable to connect to VNC server
> -----
>
> Originally I approached this as a VNC configuration problem, and I tried to address the
> SecurityPolicy and font errors that were found in the server log file, but that didn't accomplish
> anything. I think those errors are warnings and don't really affect the server that much.
>
> I can connect to the VNC server locally, so the server is actually working, but it's not accepting
> connections for some reason.
>
> So then I thought that I might have a network problem. I tried to open a telnet session the VNC
> port 5901 and got no response, no connection. So I did a tcpdump to see if the connection
> attempt is filtered out by some firewall in the LAN, but tcpdump correctly reports a connection
> attempt on port 5901. So, I am successfully able to contact port 5901, but it does not establish a
> vnc connection.
>
> This seems like a network configuration problem in the default install of Fedora Core 4. However,
> I have no idea on what it might be or how to go about tracking it down. Has anyone had similar
> problems with FC4 or other linux distros? Does anyone have any suggestions on how to address
> this issue?
>
> Thanks,
> --
>
> Jacob Everist
+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:mikes <at> kuentos.guam.net
mailto:msetzerii <at> gmail.com
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
+----------------------------------------------------------+
http://setiathome.berkeley.edu
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)
BOINC Seti <at> Home Total Credits 501569.663057