PDA

View Full Version : Problem installing VNCserver in Fedora 13



aquiless
29th July 2010, 01:18 AM
Greetings to all,
Please I need help, I'm new to Linux.
I'm trying to install the VNCserver using SSH connection in a remote pc with Fedora 13. I would like to access the Gnome through remote connection.
I did the setup Iptables freeing ports 5901 and 5902. Also set up vncserver and user.
The user "aquiles" is a user of the system and also the vncserver.
The problem is that I am not able to start the service. I think that seen anything related to Perl. Displays the following error:

[Root @ sinahome ~] # service vncserver start
Starting VNC server: 1: aquiles/usr/bin/env: perl: No such file or directory
[FAILED]

-------------------------------------------------- -----
The file /etc/sysconfig/vncservers
Vncservers = "1: aquiles'
VNCSERVERARGS [1] = "-geometry 800x600-depth 16"

-------------------------------------------------- ------

[root@sinahome ~] # iptables - list
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp - anywhere anywhere tcp dpt: ftp
ACCEPT tcp - anywhere anywhere tcp dpt: vnc-server
ACCEPT tcp - anywhere anywhere tcp dpt: https
ACCEPT tcp - anywhere anywhere tcp dpt: http
ACCEPT tcp - anywhere anywhere tcp dpt: ssh
ACCEPT all - anywhere anywhere state RELATED, Estaba LISHED
ACCEPT icmp - anywhere anywhere
ACCEPT all - anywhere anywhere
ACCEPT tcp - anywhere anywhere state NEW tcp dpt: s sh
REJECT all - anywhere anywhere reject-with icmp-ho st-Prohibited
ACCEPT all - anywhere anywhere state RELATED, Estaba LISHED
ACCEPT tcp - anywhere anywhere tcp PTPs: commplex-m ain: targus-getdata
ACCEPT tcp - anywhere anywhere state NEW tcp PTPs: 5901:5902

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all - anywhere anywhere reject-with icmp-ho st-Prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
-------------------------------------------------- ----------------------------------

Grateful if you can help me with some information or guidance.
Aquiles

scott32746
29th July 2010, 02:20 AM
Hello,
aquiles/usr/bin/env: perl: No such file or directory Need to start here first

need to check /etc/sysconfig/vncservers
maybe a space problem between aquiles and /usr/bin/env

http://www.redhat.com/magazine/006apr05/features/vnc/

smr54
29th July 2010, 02:48 AM
Make sure you have perl installed. It doesn't necessarily get installed by default. (I had this happen on a test server--it installs vncserver, but not perl. yum -y install perl fixed it.)

aquiless
29th July 2010, 03:07 AM
Thank smr54 and scott32746

I ran his guidance "yum install perl-y" and the problem of start the vncserver service is resolved.
Now I will install the VNC viewer as you suggested in the link.
Thank you very much.
Aquiles

smr54
29th July 2010, 05:36 AM
Hrrm, if I had time to test if this was consistent, I would file a bug--if it requires perl, then it should be installed as a dependency. Unfortunately, I don't really have the time to set up test machines for this, and everything else I have has perl on it (and needs it--I can't just yum remove it and see what happens).

aquiless
30th July 2010, 03:04 AM
Thanks again,
With your help, I managed to run vncserver! And I installed TightVNC Viewer for remote access. It works perfectly in Gnome.
Was my fist configuration in Linux.:)

SiliconSlick
30th July 2010, 03:44 PM
Hrrm, if I had time to test if this was consistent, I would file a bug--if it requires perl, then it should be installed as a dependency. Unfortunately, I don't really have the time to set up test machines for this, and everything else I have has perl on it (and needs it--I can't just yum remove it and see what happens).

Bug filed:

https://bugzilla.redhat.com/show_bug.cgi?id=619791

FWIW, I didn't actually remove perl but I did do an aborted "yum remove perl" and tigervnc-server never came up as a dependency. See the bug report for more details.

SS

smr54
30th July 2010, 06:57 PM
Thanks--it's due to the efforts of people like you, rather than whiners like me, that things get fixed.