Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi all folks,
Fedora Core 2
(upgrade from RH8.0)After upgrade I tried severval days uable to start
Gnome, having played around with following steps
without a solution.On GUI login as USER to start Gnome, it appeared as
KDE theme, all gnome packages not found. Renamed all
following files ~/.gnome
.gnome2
.gnome_private
.gnome2_private
.gnome-desktopas .old and rebooted PC. Still could not start Gnome.
A new set of files generated except ~/gnome-desktop
which could not be found after reboot and loginStarted init 3
$ startx
Started KDE desktop$ xterm
xterm Xt error Can't open display$ gnome-session
Gtk-warning ** cannot open displays:
(gnome-session:6694)$ startx gnome-session
......
wating for X server to shut down
Gnome could not startGoogle search could not brought a right solution.
Kindly advise. TIAB.R
satimis

Both xterm and gnome-session require X to be running in order for them to work. What options are you given in the graphical login for different session types? One way to test whether gnome is actually working or not would be to try running the gnome-session command from within another window manager, a lightweight one like twm would probably be better than KDE. If that works OK, you could try copying the gnome xinitrc to the users home directory. On my slackware system:
$ cp /etc/X11/xinit/xinitrc.gnome ~/.xinitrc
(Note the dot in .xinitrc)
Now gnome should start when typing startx.

Hi 3Dave,
Tks for your advice.
On GUI login session;
KDE
Gnome
FailsaveI'm a little bid confused. After login 'Failsave' I ran gnome-session. Gnome started but the desktop looked similar to KDE as well as starting Gnome session on GUI login. The icons on the screen and the bottom menu bar were the same, Gnome_Start (big foot) missing. Neither can I create it with a right-click on the bottom menu bar. All Gnome applications disappeared.
~/user/.xinitrc (not found)
/etc/X11/xinit/xinitrc.gnome (also not found)whereis and locate commands could not find 'xinitrc.gnome'
$ ls /etc/X11/xinit/
Xclients xinitrc xinitrc.d/etc/X11/xinit/xinitrc
is a command file to execute
/etc/X11/xinit/Xclients
$HOME/.Xclients
...I found ~/user/.Xclients
Shall I
cp /etc/X11/xinit/xinitrc ~/user/.xinitrcB.R.
satimis

Hi 3Dave,
Further to my late posting. I also tried following steps;
1)
$ cp ~/user/.Xclient ~/user/.Xclient.old
$ cp /etc/X11/xinit/Xclient ~/user/.XclientLogout and login Gnome
no improvement found2)
$ cp ~/user/.Xclient-default ~/user/.Xclient-default.old
$ cp /etc/X11/xinit/Xclient-default ~/user/.Xclient-defaultLogout and login Gnome
no improvement foundB.R.
satimis

Don't want to be mean or anything but why the hell do you want to log into the "Failsave?" What's wrong with logging in directly to Gnome? You can also go into the Session from BlueCurve and pick Gnome as your default windows manager...
taurus

Hi taurus,
On GUI login page, login Gnome session looked the same as login KDE session. In order to confirm it was Gnome desktop I started Failsave_terminal to exec Gnome-session. The outcome confirmed that it was Gnome desktop but with KDE outlook and KDE icons without Gnome applications for unknown reason.
I'm not the only guy having this problem. Another folk on Fedora-redhat list also suffers the same problem. We are now search the whole World to find a solution.
B.R.
satimis

If gnome-session doesn't work then this probably wont help....but here's my ~/.xinitrc for gnome:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fiif [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fiif [ -f $userresources ]; then
xrdb -merge $userresources
fiif [ -f $usermodmap ]; then
xmodmap $usermodmap
fi# This nag screen isn't going to save anybody.
export NAUTILUS_OK_TO_RUN_AS_ROOT=1# Start the window manager:
exec gnome-sessionHave you tried reinstalling gnome or updating it to a later version as it is probably the upgrade that did something in the first place. Try upgrading something like gnome-panel with yum or apt-get and it should hopefully upgrade the whole lot.

Hi 3Dave,
FC2
Upgrade from RH8.0Neither your .xinitrc nor 'yum update' solved the problem.
Gnome desktop behaves strangely. It starts on GUI login gnome-session but displaying KDE applications and icons only. Clicking on bottem menu bar to start HELP indicates Gnome 2.6-xxx help.
# rpm -qa | grep gnome
shows all gnome packages installedI have following Gnome packages downloaded and did a FORCE upgrade;
gdk-pixbuf-gnome-0.22.0-5.0.1.i386.rpm
gnome-applets-2.6.0-5.i386.rpm (old version)
gnome-audio-1.4.0-7.noarch.rpm
rch.rpm
gnome-desktop-2.6.0.1-1.i386.rpm
gnome-games-2.6.0.1-2.i386.rpm
gnome-icon-theme-1.2.0-1.noarch.rpm
gnome-keyring-0.2.0-1.i386.rpm
gnome-libs-1.4.1.2.90-40.i386.rpm
gnome-libs-devel-1.4.1.2.90-40.i386.rpm
gnome-media-2.6.0-1.i386.rpm
gnome-mime-data-2.4.1-4.i386.rpm
gnome-panel-2.6.0-9.i386.rpm
gnome-pilot-2.0.10-6.1.i386.rpm
gnome-pilot-conduits-2.0.10-2.1.i386.rpm
gnome-print-0.37-9.i386.rpm
gnome-print-devel-0.37-9.i386.rpm
gnome-python2-2.0.0-4.1.i386.rpm
gnome-python2-applet-2.0.0-4.1.i386.rpm
gnome-python2-bonobo-2.0.0-4.1.i386.rpm
gnome-python2-canvas-2.0.0-4.1.i386.rpm
gnome-python2-gtkhtml2-2.0.0-4.1.i386.rpm
gnome-session-2.6.0-1.i386.rpm
gnome-spell-1.0.5-4.1.i386.rpm
gnome-system-monitor-2.6.0-3.i386.rpm
gnome-terminal-2.6.0-2.i386.rpm
gnome-user-docs-2.6.0.1-2.noarch.rpm
gnome-utils-2.6.0-2.i386.rpm
gnome-vfs-1.0.5-18.i386.rpm
gnome-vfs2-2.6.0-8.i386.rpm
gnome-vfs2-smb-2.6.0-8.i386.rpm
gnome-vfs-devel-1.0.5-18.i386.rpm
gnome-vfs-extras-0.2.0-8.1.i386.rpm
libgail-gnome-1.0.2-3.1.i386.rpm
libgnome-2.6.0-2.i386.rpm
libgnomecanvas-2.6.0-1.i386.rpm
libgnomecups-0.1.6-7.i386.rpm
libgnomeprint-1.116.0-10.i386.rpm
libgnomeprint15-0.37-9.i386.rpm
libgnomeprint22-2.6.0-1.i386.rpm
libgnomeprintui-1.116.0-6.1.i386.rpm
libgnomeprintui22-2.6.0-1.i386.rpm
libgnomeui-2.6.0-3.i386.rpm
licq-gnome-1.2.7-3.i386.rpm
openssh-askpass-3.6.1p2-34.i386.rpm
system-switch-mail-gnome-0.5.25-1.noarch.rpm
up2date-gnome-4.3.19-1.i386.rpm
However following problem occurred# rpm -Fvh gdk-pixbuf-gnome-0.22.0-5.0.1.i386.rpm
/etc/security/selinux/file_contexts: No such file or directory# rpm -Fvh gnome-audio-1.4.0-7.noarch.rpm
/etc/security/selinux/file_contexts: No such file or directory
etc. (all packages the same)Could not proceed further
# rpm -Uvh gdk-pixbuf-gnome-0.22.0-5.0.1.i386.rpm
/etc/security/selinux/file_contexts: No such file or directory
Preparing... ########################################### [100%]
package gdk-pixbuf-gnome-0.22.0-5.0.1 is already installed# rpm -Uvh gnome-audio-1.4.0-7.noarch.rpm
/etc/security/selinux/file_contexts: No such file or directory
Preparing... ########################################### [100%]
package gnome-audio-1.4.0-7 is already installedetc.
/etc/security/selinux/file_contexts: No such file or directory
always indicated$ ls -al /etc/security/
total 48
drwxr-xr-x 3 root root 4096 Jul 26 15:21 .
drwxr-xr-x 86 root root 8192 Aug 5 16:25 ..
-rw-r--r-- 1 root root 2279 Apr 14 23:09 access.conf
-rw-r--r-- 1 root root 82 Apr 14 23:09 chroot.conf
drwxr-xr-x 2 root root 4096 Jul 30 09:47 console.apps
-rw-r--r-- 1 root root 2468 Apr 14 23:09 console.perms
-rw-r--r-- 1 root root 2146 Apr 14 23:09 group.conf
-rw-r--r-- 1 root root 1519 Apr 14 23:09 limits.conf
-rw-r--r-- 1 root root 2862 Apr 14 23:09 pam_env.conf
-rw-r--r-- 1 root root 2154 Apr 14 23:09 time.conf
-rw-r--r-- 1 root root 27 Apr 2 05:11 userhelper_contextCould not find /selinux directory
# locate file_contexts
could not find this fileAny advice???
TIA
B.R.
satimis

Are you able to start any gnome applications from a run command box (Alt & F2) or a xterm, eg try running gnome-calculator? Perhaps it is just the gnome menu that needs updating?

Hi 3Dave,
I can start nautilus, gedit, etc. on a terminal. However I can't find them on 'Add to Panel' on bottom menu-bar.
$ rpm -qa | grep gnome | xargs rpm -V
/etc/security/selinux/file_contexts: No such file or directory
Unsatisfied dependencies for pygnome-libglade-1.4.2-3: pygnome = 1.4.2, pygtk-libglad e = 0.6.9
Unsatisfied dependencies for gnome-spell1.0-1.0.4-0.ximian.5.1: aspell-dictionary >= 0.50
.......T /usr/lib/bonobo/servers/GNOME_Spell.server
S.5....T /usr/lib/gnome-spell/libgnome-spell-component-0.3.so
.......T /usr/share/control-center-2.0/icons/spell-checker.png
Unsatisfied dependencies for pygnome-devel-1.4.2-3: pygtk-devel = 0.6.9, pygnome = 1. 4.2
S.5....T /usr/share/redhat-switch-printer/switchprinter_gui.pyc
Unsatisfied dependencies for pygnome-1.4.2-3: pygtk = 0.6.9
Unsatisfied dependencies for gnome-pilot-applet-2.0.9-0.ximian.5.2: gnome-pilot = 2.0.9-0.ximian.5.2
..?..... /usr/bin/gataxx
..?..... /usr/bin/glines
..?..... /usr/bin/gnibbles
..?..... /usr/bin/gnobots2
..?..... /usr/bin/gnome-stones
..?..... /usr/bin/gnomine
..?..... /usr/bin/gnotravex
..?..... /usr/bin/gnotski
..?..... /usr/bin/gtali
..?..... /usr/bin/iagno
..?..... /usr/bin/mahjongg
..?..... /usr/bin/same-gnomeI made a google search with '/etc/security/selinux/file_contexts'. The solution to this problem is not so simple and straight-forwards
B.R.
satimis

You should be able to find their location by using the which command, eg:
$ which geditIt looks as though you have quite a few dependency problems....probably because you forced the rpm update. It would have been better to have used yum or apt-get as they automatically download and install any missing libraries etc.

Hi 3Dave
It is quite funny. I was not aware that Gnome and its desktop are already running properly with the name of most its applicatons as well as the main theme changed by Redhat which confused me. Fortunately I haven't run FORCE upgrade. 'gedit' and 'nautilus' can be started on Terminal.
Now leaving behind are some minor problems such as missing dependencies. I installed Red Carpet and ran it to correct some of them but not all.
$ rpm -qa | grep gnome | xargs rpm -V
/etc/security/selinux/file_contexts: No such file or directory
Unsatisfied dependencies for pygnome-libglade-1.4.2-3: pygnome = 1.4.2, pygtk-libglade = 0.6.9
Unsatisfied dependencies for pygnome-devel-1.4.2-3: pygtk-devel = 0.6.9, pygnome = 1.4.2
S.5....T /usr/share/redhat-switch-printer/switchprinter_gui.pyc
Unsatisfied dependencies for pygnome-1.4.2-3: pygtk = 0.6.9
Unsatisfied dependencies for gnome-pilot-applet-2.0.9-0.ximian.5.2: gnome-pilot = 2.0.9-0.ximian.5.2
..?..... /usr/bin/gataxx
..?..... /usr/bin/glines
..?..... /usr/bin/gnibbles
..?..... /usr/bin/gnobots2
..?..... /usr/bin/gnome-stones
..?..... /usr/bin/gnomine
..?..... /usr/bin/gnotravex
..?..... /usr/bin/gnotski
..?..... /usr/bin/gtali
..?..... /usr/bin/iagno
..?..... /usr/bin/mahjongg
..?..... /usr/bin/same-gnome
$ rpm -qa | grep gtk | xargs rpm -V/etc/security/selinux/file_contexts: No such file or directory
Unsatisfied dependencies for pygtk-devel-0.6.9-3: pygtk = 0.6.9
S.5....T /usr/lib/bonobo/servers/GNOME_GtkHTML_Editor.server
xargs: rpm: terminated by signal 7
Maybe it was the result of running# rpm -e --indep gtk
on RH8.0 before the box was upgraded to FC2.
I shall leave the problem pending. However I'm interested to learn 'selinux' (/etc/security/selinux/file_contexts: No such file or directory)
B.R.
satimis

![]() |
linux/xp serial card
|
reposted from hardware as...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |