Activity Stream
48,167 MEMBERS
6921 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 8 of 8
  1.     
    #1
    Member

    Default Trying to install VNC on Centos 6 OS [GNOME Desktop Environment]

    Hello,

    This is third day i am trying to install VNC on Centos 6, on my Dedicated linux server.
    I have followed steps from below posts, and something is still wrong.

    http://www.besthostingforums.com/18-...entos-vps.html
    http://wiki.centos.org/HowTos/VNC-Server
    [ame]http://www.youtube.com/watch?v=pzBE5_db5JU[/ame]
    http://freevps.us/thread-3575.html

    I can't connect with desktop environment to my server [VNC Viewer], i only see blank dark background:

    http://imageupload.org/getfile.php?i...tled-2.jpg&i=1

    When i enter in SHH command "service vncserver start" i get: "Starting VNC server: 2:root A VNC server is already running as :2 [FAILED]"

    Is there someone who can help me with that, Team Viewer or so?

    Thank you

    ---------- Post added at 07:44 PM ---------- Previous post was at 07:37 PM ----------

    Check log file please.

    Code: 
    
    Xvnc TigerVNC 1.0.90 - built Dec  8 2011 01:43:50
    Copyright (C) 2002-2005 RealVNC Ltd.
    Copyright (C) 2000-2006 Constantin Kaplinsky
    Copyright (C) 2004-2009 Peter Astrand for Cendio AB
    See http://www.tigervnc.org for information on TigerVNC.
    Underlying X server release 11004000, The X.Org Foundation
    
    
    Tue Jun 26 21:40:53 2012
     vncext:      VNC extension running!
     vncext:      Listening for VNC connections on all interface(s), port 5904
     vncext:      created VNC server for screen 0
    expected keysym, got XF86TouchpadOn: line 120 of inet
    expected keysym, got XF86TouchpadOff: line 121 of inet
    gnome-session[8662]: devkit-power-gobject-WARNING: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
    gnome-session[8662]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
    gnome-session[8662]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
    GNOME_KEYRING_SOCKET=/tmp/keyring-EUxzv0/socket
    SSH_AUTH_SOCK=/tmp/keyring-EUxzv0/socket.ssh
    GNOME_KEYRING_PID=8690
    
    (gnome-panel:8705): GVFS-RemoteVolumeMonitor-WARNING **: invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.Private.GduVolumeMonitor: org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process /usr/libexec/gvfs-gdu-volume-monitor received signal 6
    
    ** (gnome-panel:8705): WARNING **: panel-applet-frame.c:1288: failed to load applet OAFIID:GnoteApplet:
    (null)
    gnome-session[8662]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
    gnome-session[8662]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
    
    ** (gnome-panel:8705): WARNING **: panel-applet-frame.c:1359: failed to load applet OAFIID:GNOME_FastUserSwitchApplet (cannot get property bag):
    Unknown CORBA exception id: 'IDL:omg.org/CORBA/INV_OBJREF:1.0'
    
    (gnome-panel:8705): Gtk-WARNING **: A floating object was finalized. This means that someone
    called g_object_unref() on an object that had only a floating
    reference; the initial floating reference is not owned by anyone
    and must be removed with g_object_ref_sink().
    igordr Reviewed by igordr on . Trying to install VNC on Centos 6 OS [GNOME Desktop Environment] Hello, This is third day i am trying to install VNC on Centos 6, on my Dedicated linux server. I have followed steps from below posts, and something is still wrong. http://www.besthostingforums.com/18-server-management-help/120995-%5Btutorial%5D-how-install-remote-desktop-rdp-centos-vps.html http://wiki.centos.org/HowTos/VNC-Server http://www.youtube.com/watch?v=pzBE5_db5JU http://freevps.us/thread-3575.html Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    it looks like there is already vnc running
    try login this way:
    Code: 
    YOURipADDRESS:2

  4.     
    #3
    Member
    Website's:
    vjetnamnet.com nguoihaiduong.com filezdown.com
    Ok, do with my tutorial here:

    Step 1: If you are running CentOS 6, the command is
    $ yum groupinstall Desktop
    If you are running CentOS 5,
    $ yum groupinstall "GNOME Desktop Environment"
    If you are a minimalist, or simply testing, however, it is sufficient to have yum install a simple XTERM client:
    $ yum install xterm
    Step 2: If you are running CentOS 6, install vnc-server is:
    $ yum install vnc-server
    Step 3: Create your VNC users
    $ adduser yourusername
    $ passwd: yourusername
    Switch user into the account for each user, and run: vncpasswd This will create a .vnc directory.
    $ su – yourusername
    $ vncpasswd
    Step 4: Edit the server configuration
    $ vi /etc/sysconfig/vncservers
    VNCSERVERS="1:yourusername"
    VNCSERVERARGS[1]="-geometry 800x600"
    Step 5: We will create the xstartup scripts by starting and stopping the vncserver as root.
    # /sbin/service vncserver start
    Step 6: Remote login with vncviewer
    Go to your client machine with vncserver and test the VNC.
    $ vncviewer -via yourusername@192.168.10.10 localhost:1

  5.     
    #4
    Member
    Thanks for replying.

    thanhlangso, may you help me with Team Viewer ?
    Now i get other error:

    Code: 
    root@bravo612 [~]# /sbin/service vncserver start
    : command not foundervers: line 11:
    : command not foundervers: line 13:
    : command not foundervers: line 17:
    : command not foundervers: line 20:
    : command not foundervers: line 21:
    : command not foundervers: line 22:
     does not existigordr3:igordr3
    How i can uninstall following:
    Code: 
    yum groupinstall Desktop 
     yum install vnc-server
    And do the clean install of it ?

    I am running CentOS 6.


    masterbator - Didn't work.

  6.     
    #5
    Member
    no need to reinstall the vnc if it's already installed

    kill the VNC first
    Code: 
    pkill -9 vnc
    then clean the temporary dir
    Code: 
    rm -rf /tmp/.X1*
    or if got more than 1 desktop instances started (replace the number 2 with the number of the desktop)
    Code: 
    rm -rf /tmp/.X2*
    then start the vnc again
    Code: 
    vncserver
    it will display message like this:
    Code: 
    New 'yourserver:1 (root)' desktop is yourserver:1
    
    Starting applications specified in /root/.vnc/xstartup
    Log file is /root/.vnc/fprx:1.log
    then open up your vnc client and connect to the server this way
    Code: 
    youripaddress:1

  7.     
    #6
    Member
    Website's:
    vjetnamnet.com nguoihaiduong.com filezdown.com
    Quote Originally Posted by igordr View Post
    Thanks for replying.

    thanhlangso, may you help me with Team Viewer ?
    Now i get other error:

    Code: 
    root@bravo612 [~]# /sbin/service vncserver start
    : command not foundervers: line 11:
    : command not foundervers: line 13:
    : command not foundervers: line 17:
    : command not foundervers: line 20:
    : command not foundervers: line 21:
    : command not foundervers: line 22:
     does not existigordr3:igordr3
    How i can uninstall following:
    Code: 
    yum groupinstall Desktop 
     yum install vnc-server
    And do the clean install of it ?

    I am running CentOS 6.


    masterbator - Didn't work.
    Ok, contact with me, I will try help you.

  8.     
    #7
    Member
    masterbator, i have followed your steps and managed to run VNC Viewer but just as root user, it says:

    You are currently trying to run as the root super user. The super user is a specialized account that is not designed to run a normal user session. Various programs will not function properly, and actions performed under this account can cause unrecoverable damage to the operating system.

    When i enter in client this

    Code: 
    $ vncviewer -via yourusername@192.168.10.10 localhost:1
    It says command not found.

    I have changed yourusername with mine, created and changed IP...

    Also, i have problems following this step:

    Code: 
    $ vi /etc/sysconfig/vncservers
     VNCSERVERS="1:yourusername" 
    VNCSERVERARGS[1]="-geometry 800x600"
    I can't after editing close this file by typing ':wq'. It says

    Code: 
    E45: 'readonly' option is set (add ! to override)
    But that is just for user i have created, for root it's fine, i can edit...


    thanhlangso, may we use some instant messenger?
    MSN, Gmail chat or so?
    Write me here adress please.

    Checkout screenshot of my desktop:
    http://postimage.org/image/xg3ims1x7/

    I can't use internet on it, i would like to have installed Mozilla firefox, after setting VNC server working fine. Also, display colors are wired.

  9.     
    #8
    Member
    Website's:
    vjetnamnet.com nguoihaiduong.com filezdown.com
    Ok, search me on facebook "thanhtoday"
    and tell me there.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Tutorial] How to Install Remote Desktop ( RDP ) on Centos vps
    By simoestcoool in forum Server Management
    Replies: 31
    Last Post: 18th Nov 2012, 03:26 AM
  2. GNOME desktop environment - Centos 6 - Installing flash
    By igordr in forum Server Management
    Replies: 2
    Last Post: 7th Aug 2012, 03:29 PM
  3. How to Install VNC w/ GNOME on Debian VPS
    By VPS6NET in forum Tutorials and Guides
    Replies: 0
    Last Post: 8th Jan 2012, 08:46 PM
  4. How To Install Gnome Themes In Ubuntu 11.10
    By Daniel in forum Tutorials and Guides
    Replies: 0
    Last Post: 3rd Nov 2011, 09:58 AM
  5. Sharing VPS, German Linux VPS , if u can install Gnome+VNC
    By ifreeshare in forum Community Cooperative
    Replies: 6
    Last Post: 11th Mar 2011, 01:43 PM

Tags for this Thread

BE SOCIAL