LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-20-2007, 11:37 PM   #1
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
.xinitrc Not Executing WM of Choice


I'm using XDM, and in my ~/.xinitrc file, I want my default WM to be Enlightenment.

The only line I have in it is: "exec enlightenment".

Yet, every time I log in, KDE loads up.

What is going on here? On an old Mandriva system, adding a line like that into .xinitrc was fine, but now in Debian, it seems to have no effect.

What's going on here?
 
Old 07-21-2007, 12:34 AM   #2
richie314159
LQ Newbie
 
Registered: Nov 2005
Distribution: kubuntu feisty
Posts: 10

Rep: Reputation: 0
have you stopped kdm from running? try 'update-rc -f kdm remove'. that should remove all links to kdm. kdm is still installed, it's just not touching anything now.
 
Old 07-21-2007, 01:43 AM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I don't use a display manager, but isn't it .Xsession that those things read, while ignoring .xinitrc?
 
Old 07-21-2007, 01:57 AM   #4
richie314159
LQ Newbie
 
Registered: Nov 2005
Distribution: kubuntu feisty
Posts: 10

Rep: Reputation: 0
in your .xinitrc file try: 'exec startenlightenment'. one word. i'm not sure about capitalization, though.
 
Old 07-21-2007, 04:46 PM   #5
PMorph
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 213

Rep: Reputation: 31
Try this as root:
update-alternatives --config x-window-manager
 
Old 07-24-2007, 12:13 PM   #6
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
Thanks for all your suggestions.

Recently, there's been some work on the power lines in my neighbourhood, and several electronic devices around my house have been dying (never to return to life) everytime there's a brown-out. About 4 days ago, my primary HDD was one of those devices.

Since I was forced to reinstall an OS, I just did a custom install (installed a basic, basic, basic Debian system, then added the packages I wanted past that). And I've yet to have a problem with my ~/.xinitrc file and XDM reading it - it's all working perfectly.

Thank you all for your time and suggestions.
 
  


Reply



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
.xinitrc and .xsession not executing with GDM under Xorg kushalkoolwal Debian 11 02-07-2006 12:09 PM
Could I .xinitrc for this.... JROCK1980 Linux - Software 5 02-17-2004 05:57 PM
.xinitrc unimaginative Linux - Newbie 1 01-03-2004 10:53 PM
.xinitrc nakkaya Linux - Software 1 04-11-2003 03:12 PM
.xinitrc mrsolo Linux - Software 5 10-30-2002 10:16 AM

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

All times are GMT -5. The time now is 11:45 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