LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-02-2004, 12:29 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,688

Rep: Reputation: 56
Which Gnome and Xsession files shall I edit to get GNOME started


Hi folks,

Hi folks,

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
 
Old 01-02-2004, 03:08 PM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Don't edit any of these. If you wish to start X from the command-line do this:

apt-get install xbase-clients

Then edit ~/.xinitrc and add a line that says:

exec gnome-session

And use the command "startx" to fire up Gnome.

If you are using gdm (as it appears) don't login as root.
 
Old 01-02-2004, 11:00 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,688

Original Poster
Rep: Reputation: 56
Quote:
Originally posted by llamakc
Don't edit any of these. If you wish to start X from the command-line do this:

apt-get install xbase-clients

Then edit ~/.xinitrc and add a line that says:

exec gnome-session

And use the command "startx" to fire up Gnome.

If you are using gdm (as it appears) don't login as root.
Hi,

Thanks for your response.

# locate or which/whereis could not find '.xinitrc'
# locate xinitrc
/etc/X11/xinit/xinitrc

# apt-ge install xbase-clients
showing 'xbase-clients' already installed, the most uptodate version

Added 'exec gnome-session' to
/etc/X11/xinit/xinitrc

logout KDE, rebooted PC and login 'Failsafe Gnome' to start Xterm window
(remark: KDE can start)

# 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
 
Old 01-04-2004, 05:44 AM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,688

Original Poster
Rep: Reputation: 56
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you edit the menu in gnome? aaronruss Linux - Newbie 7 02-23-2005 07:55 AM
Palm and Gnome: problem with gnome-pilot and how to view/edit memopad entries lhoff Linux - Software 4 12-07-2004 12:55 PM
How do I edit the Gnome Menu? cgoerner Linux - Newbie 2 06-17-2004 06:58 AM
edit gnome shortcuts verstapp Linux - Newbie 3 03-29-2004 03:09 AM
Questions on finding Gnome and Xsession, etc. satimis Debian 7 01-04-2004 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration