Results 1 to 8 of 8
Hybrid View
-
26th Jun 2012, 07:44 PM #1OPMember
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
-
27th Jun 2012, 01:26 AM #2Member
it looks like there is already vnc running
try login this way:
Code:YOURipADDRESS:2
-
27th Jun 2012, 09:24 AM #3MemberWebsite's:
vjetnamnet.com nguoihaiduong.com filezdown.comOk, 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
-
27th Jun 2012, 10:09 PM #4OPMember
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
Code:yum groupinstall Desktop yum install vnc-server
I am running CentOS 6.
masterbator - Didn't work.
-
28th Jun 2012, 06:39 AM #5MemberWebsite's:
vjetnamnet.com nguoihaiduong.com filezdown.com
-
28th Jun 2012, 09:57 AM #6OPMember
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
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"
Code:E45: 'readonly' option is set (add ! to override)
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.
-
28th Jun 2012, 01:08 AM #7Member
no need to reinstall the vnc if it's already installed
kill the VNC first
Code:pkill -9 vnc
Code:rm -rf /tmp/.X1*
Code:rm -rf /tmp/.X2*
Code:vncserver
Code:New 'yourserver:1 (root)' desktop is yourserver:1 Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/fprx:1.log
Code:youripaddress:1
-
29th Jun 2012, 09:47 AM #8MemberWebsite's:
vjetnamnet.com nguoihaiduong.com filezdown.comOk, search me on facebook "thanhtoday"
and tell me there.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Tutorial] How to Install Remote Desktop ( RDP ) on Centos vps
By simoestcoool in forum Server ManagementReplies: 31Last Post: 18th Nov 2012, 03:26 AM -
GNOME desktop environment - Centos 6 - Installing flash
By igordr in forum Server ManagementReplies: 2Last Post: 7th Aug 2012, 03:29 PM -
How to Install VNC w/ GNOME on Debian VPS
By VPS6NET in forum Tutorials and GuidesReplies: 0Last Post: 8th Jan 2012, 08:46 PM -
How To Install Gnome Themes In Ubuntu 11.10
By Daniel in forum Tutorials and GuidesReplies: 0Last Post: 3rd Nov 2011, 09:58 AM -
Sharing VPS, German Linux VPS , if u can install Gnome+VNC
By ifreeshare in forum Community CooperativeReplies: 6Last Post: 11th Mar 2011, 01:43 PM
themaPoster - post to forums and...
Version 5.15 released. Open older version (or...