Click to See Complete Forum and Search --> : Which Gnome and Xsession files shall I edit to get GNOME started
satimis
01-02-2004, 01:37 PM
Hi folks,
Debian (Testing/Unstable)
I could not Login and start GNOME with following warning popup;
View "detail" (~/.Xsession-error file)
/etc/gdm/PreSession/Default: Registering your session with wtmp utmp
/etc/gdm/PreSession/Default: running session -a -w /var/log/wtmp -w /var/run/
utmp -x "/var/lib/gdm/: o.xservers" -h "" -l:0
satimis
/etc/gdm/Sessions/Gnome : chescking /etc/login/defs for option UMASK
/etc/gdm/Sessions/Gnome : /etc/login.defs: UMASK is "022"
/etc/gdm/Sessions/Gnome : checking /etc/login.defs for options ULMIT
/etc/gdm/Sessions/Gnome : checking /etc/login.defs for options MAIL.DIR
/etc/gdm/Sessions/Gnome : /etc/login.defs: "MAIL_DIR" is "/var/mail"
/etc/gdm/Sessions/Gnome : using /etc/X11/Xsessions options for options
/etc/gdm/Sessions/Gnome : No such file or directory
Kindly advise which pair of executables, Gnome and Xsession shall I edit to start GNOME
a) /etc/gdm/Sessions/Gnome
/etc/gdm/Sessions/Xsession
b) /etc/gdm/Sessions/Gnome
/etc/X11/xdm/Xsession
c) /etc/gdm/Sessions/Gnome
/etc/X11/Xsession
TIA
B.R.
satimis
satimis
01-02-2004, 01:43 PM
Hi folks,
Debian (Testing/Unstable)
Gnome seems case-sensitive???
I performed following tests
On Konsole window
# updatedb
1)
# which Gnome
# which gnome
No printout
# whereis gnome
gnome: /etc/gnome /usr/share/gnome /usr/share/man/man1/gnome.1.gz
# whereis Gnome
Gnome:
# locate gnome | grep gnome
.....
...
# locate -i gnome | grep -i gnome
....
,,,
# locate Gnome | grep Gnome
/etc/gdm/Sessions/Gnome
........
.....
then I found it
2)
# which xsession
# which Xsession
No printout
# whereis xsession
xsession:
# whereis Xsession
Xsession: /usr/share/man/man5/Xsession.5.gz
# locate -i xsession | grep -i xsession
/etc/gdm/Sessions/Xsession
/etc/X11/xdm/Xsession
/etc/X11/Xsession
....
Then I found them.
Is there a shortcut to search /etc/gdm/Sessions/Gnome other than performing
all such steps mentioned above
TIA
B.R.
satimis
Icarus
01-02-2004, 02:28 PM
These two should really go together since they are almost the same question
Yes, Gnome and any other program in Linux is case-sensitive
It's not /etc/gdm/Sessions/Gnome exactly that is giving you problems, as you see it ran 6 other tasks before you got the "No such file or directory"...it is a script and one of the lines within is invalid.
Your missing something, and I can't tell what...
How are you starting Gnome? are you typing "startx" from the command line, is GDM starting it?
satimis
01-02-2004, 11:51 PM
Originally posted by mahdi
These two should really go together since they are almost the same question
Yes, Gnome and any other program in Linux is case-sensitive
It's not /etc/gdm/Sessions/Gnome exactly that is giving you problems, as you see it ran 6 other tasks before you got the "No such file or directory"...it is a script and one of the lines within is invalid.
Your missing something, and I can't tell what...
How are you starting Gnome? are you typing "startx" from the command line, is GDM starting it?
Hi,
Thanks for your response.
I tried login GNOME as USER and failed
I tried login 'Failsafe Gnome' to start Xterm window
# startx
following warning popup
....
...
xlib:connnection to ":0.0" refused by server
xlib:Invalid MIT-MAGIC-COOKIT-1 key giving up
xinit:unable to connect to Xsession
xinit:No such process (error 3): Server error
B.R.
satimis
satimis
01-04-2004, 06:51 AM
Hi all folks,
Further to my last posting
New discovery :-
===============
gnome-session found not installed yet
# apt-get install gnome-session
Now GNOME can login but its desktop still failed to start with following warning;
ERROR
There was an error starting the GNOME_Settings Daemon
Some things such as Themes, sounds or background settings may not work correctly
The Setting Daemon restarted too many times
The last error message was
Failed to activate 'OAFIID:GNOME_Setting Daemon'
GNOME will still try to restart the Setting Daemon
next time your login
<close>
Clicked <close>
I can start Debian applications there such as
- Mozilla 1.0.0
- Kmail
- OpenOffice Write
etc.
Kindly advise where can I edit the Settings to start GNOME desktop
TIA
B.R.
satimis
Icarus
01-09-2004, 10:17 AM
What are we using, Debian?
I'd say start over, Debian should of installed all the files needed but obviously did not...
# apt-get remove gnome
Then apt-get gnome back in, it should resolve all the dependancies for a working install...