Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to install and configure X window System in CentOS 5.4

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-05-2011
Member
 
Join Date: Sep 2010
Posts: 30
How to install and configure X window System in CentOS 5.4
  

Hey, I am writing one of my current problem today on this forum. I am not able to install and configure x window system. I have tried to install it but it I am not able to configure it. I am using CentOS 5.4 with no internet connectivity; use DED for every single installation. Whenever I am trying to install and configuration of it, I am getting below error:
Code:
 (.:30196): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(.:30196): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(.:30196): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(.:30196): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(.:30196): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(.:30196): Gdk-CRITICAL **: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed

(.:30196): Gdk-CRITICAL **: gdk_display_get_pointer: assertion `GDK_IS_DISPLAY (display)' failed

(.:30196): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(.:30196): Gdk-CRITICAL **: gdk_screen_get_n_monitors: assertion `GDK_IS_SCREEN (screen)' failed

(.:30196): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(.:30196): Gdk-CRITICAL **: gdk_screen_get_monitor_geometry: assertion `GDK_IS_SCREEN (screen)' failed

(.:30196): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed

(.:30196): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed

(.:30196): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed

(.:30196): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed

(.:30196): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed

(.:30196): Gdk-CRITICAL **: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed...
Can anyone tell me where I am doing mistake? Thanks a lot in advance.

Reply With Quote
  #2  
Old 06-05-2011
Member
 
Join Date: Nov 2009
Posts: 824
Re: How to install and configure X window System in CentOS 5.4

Hello everyone, hey man I have gone through to you point and error. I think you might not have installed graphical mode and it is not working directly. According to you must update your CentOS 5.4 to CentOS 5.5, I am giving you some logs, compare it with your server and do necessary changes.
Code:
2.6.18-164.el5 x86_64 x86_64

centos-release-notes-5.4-4
centos-release-5-4.el5.centos.1

CentOS release 5.4 (Final)

== BEGIN getenforce ==
Disabled

== BEGIN rpm -q yum rpm python ==
yum-3.2.22-20.el5.centos
rpm-4.4.2.3-18.el5
python-2.4.3-27.el5

== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-Media.repo

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Reply With Quote
  #3  
Old 06-05-2011
Member
 
Join Date: Apr 2009
Posts: 967
Re: How to install and configure X window System in CentOS 5.4

Hello, I have done some more research on it and I have one another solution for you. However first try above post if still you are having problem then use below logs:
Code:
== BEGIN ifconfig -a ==
eth0      Link encap:Ethernet  HWaddr 00:15:5D:01:DF:03  
          inet addr:192.168.1.70  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::215:5dff:fe01:df03/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20174825 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14187754 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12028343407 (11.2 GiB)  TX bytes:6255525386 (5.8 GiB)
          Interrupt:9 Base address:0x4000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1164381 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1164381 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2369176148 (2.2 GiB)  TX bytes:2369176148 (2.2 GiB)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

== BEGIN route -n ==
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.1.253   0.0.0.0         UG    0      0        0 eth0

== BEGIN cat /etc/resolv.conf ==
search localdomain
nameserver 172.16.2.246
nameserver 172.16.2.241

== BEGIN grep net /etc/nsswitch.conf ==
#networks:   nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files     
netmasks:   files
networks:   files
netgroup:   nisplus

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager 	0:off	1:off	2:off	3:off	4:off	5:off	6:off
network        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
wpa_supplicant 	0:off	1:off	2:off	3:off	4:off	5:off	6:off
the IP address you are watching is mine, in place of that you need to insert your IP.
Reply With Quote
  #4  
Old 06-05-2011
Member
 
Join Date: Feb 2009
Posts: 455
Re: How to install and configure X window System in CentOS 5.4

When I install and configured KDE and VNS it worked for me. so I am writing logs below:
Code:
Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 70101000, The X.Org Foundation


Thu May 6 14:21:40 2011
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      Listening for HTTP connections on port 5801
 vncext:      created VNC server for screen 0
localuser:user1 being added to access control list
Профиль для пользователя "user1" не найден.
SESSION_MANAGER=local/portal2.inkar.loc:/tmp/.ICE-unix/13721
Предупреждение менеджера окон: Log level 32: could not find XKB extension.
** Message: Could not connect to power manager: Could not get owner of name 'org.gnome.PowerManager': no such name
Initializing nautilus-open-terminal extension
Getting adapter list failed: The name org.bluez was not provided by any .service files
Passkey agent registration failed: The name org.bluez was not provided by any .service files

** (eggcups:13835): WARNING **: IPP request failed with status 1030

** (eggcups:13835): WARNING **: IPP request failed with status 1030

** (nm-applet:13870): WARNING **: <WARN>  applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service as it is already taken.  Return: 3

Introspect error: Launch helper exited with unknown return code 0
could not attach to desktop process

Thu May 6 14:22:51 2011
 HTTPServer:  getting /vncviewer.jar for 192.168.1.64
 HTTPServer:  error writing HTTP document:write: Broken pipe (32)
 HTTPServer:  completed HTTP request
 HTTPServer:  getting /logo150x150.gif for 192.168.1.64
 HTTPServer:  completed HTTP request

Thu May 6 14:23:12 2011
 HTTPServer:  getting / for 192.168.1.64
 HTTPServer:  completed HTTP request
Reply With Quote
  #5  
Old 07-05-2011
Member
 
Join Date: Sep 2010
Posts: 30
Re: How to install and configure X window System in CentOS 5.4

Hello thanks a lot to you all for your help. I have used all possible option from you all which you have mentioned above. After taking the solution form you now my VNC works fine and also I am able to run graphic application in my browser at client and at server as well. And also I am able to run eclipse and I can easily use remote access at the system. thanks to you all again, without you it was not at all possible.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to install and configure X window System in CentOS 5.4"
Thread Thread Starter Forum Replies Last Post
Grafstat Error "install an configure system components" Meng R Windows XP Support 1 20-03-2013 11:40 AM
How to install rpm in CentOS 5.5? Man-Than Operating Systems 5 06-05-2011 10:39 AM
how to install centos 5.5 using ext4 file system noble tech Operating Systems 5 04-05-2011 08:44 AM
Please go to the Control Panel to install and configure system components ??????? Luma Office Setup 3 20-01-2011 12:20 AM
Configure DNS master server on centos @bLERINA@ Operating Systems 3 11-11-2010 02:59 PM


All times are GMT +5.5. The time now is 07:23 AM.