kdm vs xdm

2003-04-01 Thread Mark Annandale
Hi guys

This is probably a stupid question, but here goes.

At the moment I boot into KDE using xdm. How do I change my setup to use kdm 
instead. I changed the line in /etc/X11/default-display-manager from xdm to 
kdm, however this then requires a startx to boot into kde.

regards

mark

-- 
Mark Annandale
Poole, U.K.
--
Debian 3.0 - KDE 3.1.1 - KMail 1.5.1


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kdm vs xdm

2003-04-01 Thread Joerg Johannes
Hi Mark

 At the moment I boot into KDE using xdm. How do I change my setup to use
 kdm instead. I changed the line in /etc/X11/default-display-manager from
 xdm to kdm, however this then requires a startx to boot into kde.

Are you sure you have installed kdm?
Check with dpkg -l kdm
If yes, try dpkg-reconfigure kdm
You won't need xdm anymore, so remove it.
Just guessing, but these are the steps I would try if I were in your situation

joerg

-- 
Gib GATES keine Chance!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kdm vs xdm

2003-04-01 Thread David Fokkema
Hi Mark,

Are you sure you installed kdm correctly, ;-)?

David

On Tue, 1 Apr 2003, Mark Annandale wrote:

 Date: Tue, 1 Apr 2003 11:09:08 +0200
 From: Mark Annandale [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: kdm vs xdm
 Resent-Date: Tue,  1 Apr 2003 04:25:26 -0600 (CST)
 Resent-From: [EMAIL PROTECTED]

 Hi guys

 This is probably a stupid question, but here goes.

 At the moment I boot into KDE using xdm. How do I change my setup to use kdm
 instead. I changed the line in /etc/X11/default-display-manager from xdm to
 kdm, however this then requires a startx to boot into kde.

 regards

 mark

 --
 Mark Annandale
 Poole, U.K.
 --
 Debian 3.0 - KDE 3.1.1 - KMail 1.5.1


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kdm vs xdm

2003-04-01 Thread Jonathan Matthews
On Tue, Apr 01, 2003 at 11:09:08AM +0200, Mark Annandale wrote:
 Hi guys
 
 This is probably a stupid question, but here goes.
 
 At the moment I boot into KDE using xdm. How do I change my setup to use kdm 
 instead. I changed the line in /etc/X11/default-display-manager from xdm to 
 kdm, however this then requires a startx to boot into kde.

One way of doing this is to remove xdm.  I'm sure others will point you 
to more satisfactory methods.

# apt-get --purge install kdm xdm-

Note the - after xdm - it says to remove the package even though 
you've specified an install command.  The --purge is just there for 
tidyness - leave it out if you might reinstall xdm and want to keep its 
config files around in the interim period.

Hope this helps,
  jc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kdm vs xdm

2003-04-01 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Apr 01, 2003 at 11:09:08AM +0200, Mark Annandale wrote:
 At the moment I boot into KDE using xdm.

When did KDE become an OS and xdm a boot manager?  8:o)

 How do I change my setup to use kdm 
 instead. I changed the line in /etc/X11/default-display-manager from xdm to 
 kdm, however this then requires a startx to boot into kde.

dpkg --purge xdm  apt-get install kdm

- -- 
 .''`. Baloo Ursidae [EMAIL PROTECTED]
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+iZBUJ5vLSqVpK2kRAjICAKCODNhdflWvnoXUbEFpdoqNrpXGQACg0LBh
CgU1akqkZ8uvW0xhLAKEQog=
=is/U
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: KDM vs XDM

1999-04-24 Thread Branden Robinson
On Thu, Apr 22, 1999 at 11:18:35AM -0500, Brian Morgan wrote:
 I'd like to be able to change my default login manager to KDM instead of
 XDM, now that I have KDE up and running.  What do I need to do to make this
 happen?

I notice there have already been several answers to this question, but
here's my take on it.

Whoever packages kwm should just follow my example in the xdm package.

If kwm would do that, people wouldn't have to screw with all this init
script editing or displacing of binaries.  They could just:

dpkg --remove xdm
apt-get install kdm

(kdm might be robust enough to be installed without a pre-existing xdm in
place; if so, great, you're easily in business)

Since the Great X Reorganization, replacement of many X components is far
easier than it used to be.  People came up with all these kludges because
you couldn't uninstall xdm without taking a lot of other stuff you needed
with it.  xdm is now its own package, and that is no longer the case.  You
can remove xdm without affecting the rest of your system in the slightest.

Anyone who knows to whom to forward this for results, please do so.

-- 
G. Branden Robinson  |I have a truly elegant proof of the
Debian GNU/Linux |above, but it is too long to fit into
[EMAIL PROTECTED]   |this .signature file.
cartoon.ecn.purdue.edu/~branden/ |


pgpumVhXiBwbn.pgp
Description: PGP signature


KDM vs XDM

1999-04-22 Thread Brian Morgan
I'd like to be able to change my default login manager to KDM instead of
XDM, now that I have KDE up and running.  What do I need to do to make this
happen?

Brian

 
Brian Morganhttp://brian.greenville.edu
Computer Support Specialist [EMAIL PROTECTED]
IBM Mobile Systems Support  618.664.2800 ext. 4241
Greenville College IT Dept. 618.338.4963 - pager
__
The end of the world is in late Beta ... no, hang on. Bill Gates just bought
it . . . we're safe again.


Re: KDM vs XDM

1999-04-22 Thread H C Pumphrey
On Thu, 22 Apr 1999, Brian Morgan wrote:

 I'd like to be able to change my default login manager to KDM instead of
 XDM, now that I have KDE up and running.  What do I need to do to make this
 happen?

You should find a command called switchdm (I think it is in
/usr/sbin/switchdm but my Debian/KDE box is at home). Run this as root and
it will ask you if you want [1] xdm, [2] kdm or [3] Neither. Press 2 and
you should have kdm next time you restart X. I found about this in the
docs in /usr/doc/kdebase . The docs may not be there if you built KDE from
source -- I installed it from the debs onthe Cheapbytes CD. 

All the best

Hugh



==
Hugh C. Pumphrey, Dept. of -| Tel. 0131-650-6026,Fax:0131-650-5780
Meteorology, Univ. of Edinburgh | Replace 0131 with +44-131 if outside U.K
EDINBURGH EH9 3JZ, Scotland | Email [EMAIL PROTECTED]
==P=l=e=a=s=e==N=o=t=e==t=h=e==N=e=w==F=A=X==N=u=m=b=e=r==


RE: KDM vs XDM

1999-04-22 Thread Brian Morgan
 On Thu, 22 Apr 1999, Brian Morgan wrote:

  I'd like to be able to change my default login manager to KDM instead of
  XDM, now that I have KDE up and running.  What do I need to do
 to make this
  happen?

H C Pumphrey wrote:
 You should find a command called switchdm (I think it is in
 /usr/sbin/switchdm but my Debian/KDE box is at home). Run this as root and
 it will ask you if you want [1] xdm, [2] kdm or [3] Neither. Press 2 and
 you should have kdm next time you restart X.

Ran switchdm but I do not have an /etc/X11/config file, which switchdm
relies on.  I am running slink and recent versions of XFree86, KDE, etc.
Isn't there a different file that slink uses to control its login manager
settings?

Any suggestions?
Brian


Re: KDM vs XDM

1999-04-22 Thread MallarJ
In a message dated 4/22/99 12:26:38 PM Central Daylight Time, 
[EMAIL PROTECTED] writes:

  You should find a command called switchdm (I think it is in
   /usr/sbin/switchdm but my Debian/KDE box is at home). Run this as root 
and
   it will ask you if you want [1] xdm, [2] kdm or [3] Neither. Press 2 and
   you should have kdm next time you restart X.
  
  Ran switchdm but I do not have an /etc/X11/config file, which switchdm
  relies on.  I am running slink and recent versions of XFree86, KDE, etc.
  Isn't there a different file that slink uses to control its login manager
  settings?
  

The options file only had an entry that instructed Linux whether or not to 
start xdm, not whether it should start xdm or kdm...   However, if you put a 
start-kdm line in options, and change your startup scripts to recognize the 
new line, it'll work as the start-xdm line does.

However, all of this is moot - you're running slink, and the options file 
isn't used in slink.

So, I still say, just save your old xdm binary and put the new kdm in it's 
place.

-Jay


RE: KDM vs XDM

1999-04-22 Thread H C Pumphrey
On Thu, 22 Apr 1999, Brian Morgan wrote:

 Ran switchdm [to set kdm as default login manager] but I do not have an
 /etc/X11/config file, which switchdm relies on.  I am running slink and
 recent versions of XFree86, KDE, etc.  Isn't there a different file that
 slink uses to control its login manager settings? 

I am running more-or-less pure slink, upgraded from hamm. I think you may
need the xdm package installed before switchdm can work, even if you
un-install it later. I seem to recall (from all of two days ago) that I
dpkg -purge ed xdm while X was up and some very odd things happened. I
rapidly dpkg --install ed it again and switchdm then worked fine.

I am actually a bit out of my depth here. Calling all display manager
gurus

Hugh

==
Hugh C. Pumphrey, Dept. of -| Tel. 0131-650-6026,Fax:0131-650-5780
Meteorology, Univ. of Edinburgh | Replace 0131 with +44-131 if outside U.K
EDINBURGH EH9 3JZ, Scotland | Email [EMAIL PROTECTED]
==P=l=e=a=s=e==N=o=t=e==t=h=e==N=e=w==F=A=X==N=u=m=b=e=r==



FW: KDM vs XDM

1999-04-22 Thread Brian Morgan
   You should find a command called switchdm (I think it is in
/usr/sbin/switchdm but my Debian/KDE box is at home). Run
 this as root
 and
it will ask you if you want [1] xdm, [2] kdm or [3] Neither.
 Press 2 and
you should have kdm next time you restart X.
 
   Ran switchdm but I do not have an /etc/X11/config file, which switchdm
   relies on.  I am running slink and recent versions of XFree86,
 KDE, etc.
   Isn't there a different file that slink uses to control its
 login manager
   settings?
 

 The options file only had an entry that instructed Linux whether
 or not to
 start xdm, not whether it should start xdm or kdm...   However,
 if you put a
 start-kdm line in options, and change your startup scripts to
 recognize the
 new line, it'll work as the start-xdm line does.

 However, all of this is moot - you're running slink, and the options file
 isn't used in slink.

 So, I still say, just save your old xdm binary and put the new
 kdm in it's
 place.

 -Jay


I am still kind of a newbie at this.  Words like binary and compile the
kernel and other threatening words like that, I've steered clear of.  Could
you help me know exactly how to save your old xdm binary and put the new
kdm in it's  place?

That would be very helpful

Brian


Re: KDM vs XDM

1999-04-22 Thread MallarJ
In a message dated 4/22/99 12:34:01 PM Central Daylight Time, 
[EMAIL PROTECTED] writes:

 Thanks.  I am still kind of a newbie at this.  Words like binary and
  compile the kernel and other threatening words like that, I've steered
  clear of.  Could you help me know exactly what you mean when you say save
  your old xdm binary and put the new kdm in it's  place?
  
  

Sure.  :)

First off, I just checked my laptop (where I run my slink box) and it turns 
out I went about it the long way and modified my scripts to recognize 
start-kdm as well as start-xdm.  So, let me give you both ways..

1) The easiest way, but probably not the best way, is to rename your binaries.

cd /usr/X11R6/bin
mv xdm xdm.orig
ln -s kdm xdm

2) The other way is more involved, but probably closer to The Debian Way.  

In /etc/X11/xdm, there is a file called xdm.options.  That is hamm's 
options file,
basically.  If there's a line in it that reads start-xdm, change it 
to 
no-start-xdm.  Then, add a line start-kdm below that.  (PS - You 
can
turn off kdm by changing it to no-start-kdm).  You can't have both 
on
tho - the script I'm about to give you will complain.

Then, cd /etc/init.d and mv xdm xdm.orig.  This saves off your 
original
start xdm script just in case you want it back.

Now, still in the init.d dir, take the attached file and save it as 
xdm.

Hope that helps.
Jay
#!/bin/sh
# /etc/init.d/xdm: start or stop the X display manager

set -e

START_XDM=
START_KDM=

if grep -s ^start-xdm /etc/X11/xdm/xdm.options; then
  START_XDM=yes
fi

if grep -s ^start-kdm /etc/X11/xdm/xdm.options; then
  START_KDM=yes
fi

if [ $START_KDM ]; then
  if [ $START_XDM ]; then
echo Unable to start both xdm and kdm!
exit 1
  fi
else
  if [ ! $START_XDM ]; then
echo Nothing to start!
exit 0
  fi
fi

PATH=/bin:/usr/bin:/sbin:/usr/sbin
XDMDAEMON=/usr/bin/X11/xdm
KDMDAEMON=/usr/bin/X11/kdm
PIDFILE=/var/run/xdm.pid

if [ $START_XDM ]; then
  test -x $XDMDAEMON || exit 0
fi

if [ $START_KDM ]; then
  test -x $KDMDAEMON || exit 0
fi

if grep -qs ^check-local-xserver /etc/X11/xdm/xdm.options; then
  if head -1 /etc/X11/Xserver 2 /dev/null | grep -q Xsun; then
# the Xsun X servers do not use XF86Config
CHECK_LOCAL_XSERVER=
  else
CHECK_LOCAL_XSERVER=yes
  fi
fi

case $1 in
  start)
if [ $CHECK_LOCAL_XSERVER ]; then
  problem=yes
  echo -n Checking for valid XFree86 server configuration...
  if [ -e /etc/X11/XF86Config ]; then
if [ -x /usr/sbin/parse-xf86config ]; then
  if parse-xf86config --quiet --nowarning --noadvisory 
/etc/X11/XF86Config; then
problem=
  else
echo error in configuration file.
  fi
else
  echo unable to check.
fi
  else
echo file not found.
  fi
  if [ $problem ]; then
echo Not starting X display manager.
exit 1
  else
echo done.
  fi
fi
if [ $START_XDM ]; then
  echo -n Starting X display manager: xdm
  start-stop-daemon --start --quiet --pid $PIDFILE --exec $XDMDAEMON || 
echo -n  already running
else
  echo -n Starting X display manager: kdm
  start-stop-daemon --start --quiet --pid $PIDFILE --exec $KDMDAEMON || 
echo -n  already running
fi
echo .
  ;;

  restart)
/etc/init.d/xdm stop
/etc/init.d/xdm start
  ;;

  reload)
echo -n Reloading X display manager configuration...
if start-stop-daemon --stop --signal 1 --quiet --pid $PIDFILE; then
  echo done.
else
  if [ $START_XDM ]; then
echo xdm not running.
  else
echo kdm not running.
  fi
fi
  ;;

  force-reload)
/etc/init.d/xdm reload
  ;;

  stop)
if [ $START_XDM ]; then
  echo -n Stopping X display manager: xdm
else
  echo -n Stopping X display manager: kdm
fi
start-stop-daemon --stop --quiet --pid $PIDFILE || echo -n  not running
echo .
  ;;

  *)
echo Usage: /etc/init.d/xdm {start|stop|restart|reload|force-reload}
exit 1
;;
esac

exit 0