LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   KDE 3.4 & kdm & startx (https://www.linuxquestions.org/questions/linux-software-2/kde-3-4-and-kdm-and-startx-315987/)

Angelus 04-22-2005 05:04 AM

KDE 3.4 & kdm & startx
 
Well I have this kind of problem...:)
I have compiled to 'clean' system XOrg 6.8.2 and installed with apt kde 3.4.
I have added to ~/.xinitrc startkde and I can boot to KDE.

How can I boot with startx to KDM ? (i have done apt-get install kdm) :confused:
I couldn't google the answer neither with LQ search. :rolleyes:

Nobber 04-22-2005 06:17 AM

Re: KDE 3.4 & kdm & startx
 
Quote:

Originally posted by Angelus
How can I boot with startx to KDM ?
You don't.

kdm can be started by running kdm (as root). Usually you'll have kdm started somewhere in your boot scripts.

startx is for starting X sessions without a display manager (such as kdm).

Angelus 04-23-2005 12:22 AM

Re: Re: KDE 3.4 & kdm & startx
 
Quote:

Originally posted by Nobber
You don't.

kdm can be started by running kdm (as root). Usually you'll have kdm started somewhere in your boot scripts.

startx is for starting X sessions without a display manager (such as kdm).

O.K. That cleared some stuff... "Usually you'll have kdm started somewhere in your boot scripts." And where are this booting scripts ? /etc/rs.d or what ?
How can I ran kdm (or gdm) without restarting my whole system.

reddazz 04-23-2005 02:42 AM

Try doing as root "dpkg-reconfigure kdm". I am sure there should be an option to enable KDM at start up when you run that command. In Debian KDM is started by doing "/etc/init.d/kdm start" and stopped by doing "/etc/init.d/kdm stop".

Angelus 04-23-2005 06:02 AM

Quote:

Originally posted by reddazz
Try doing as root "dpkg-reconfigure kdm". I am sure there should be an option to enable KDM at start up when you run that command. In Debian KDM is started by doing "/etc/init.d/kdm start" and stopped by doing "/etc/nit.d/kdm stop".
Yop KDM is 'running' but how can I 'see' it :confused:
Blah. It should be possible to go KDM login screen without booting... but how... :scratch:

dpkg-reconfigure kdm showed screen which asked which oneI choose to use KDM or GDM, I chose KDM ;)

reddazz 04-23-2005 08:46 AM

The answers on how to stop and start kdm manually are already in my post above.

Angelus 04-23-2005 08:50 AM

Quote:

Originally posted by reddazz
The answers on how to stop and start kdm manually are already in my post above.
Yeah I have started, stopped and tried to restart it.
But how to get into the login screen :scratch:

winsnomore 04-23-2005 09:40 AM

Please clarify what's your enviorment ?
Are you doing everyting in command line mode ? it's hard to believe.
Almost all distro's are a bit different, but you have to have an entry in /etc/inittab that sets the default run-level .. it shoudl be set to 5 which is graphic and muti-user mode with networking enabled.
Also at the end in the inittab there is another entry that starts the xdm/kdm/gdm etc with a respawn option.
If you "never" had any gui env... then you have a lot of work ahead, therea a lot of scripts and setting needed.
Suggestion would be to have a working (x/kde/gnome) environment and then upgrade it .
Also .. KDE 3.4 is quiet independent of KDM .. actually I am quiet sure that KDE 3.4 will run find on xdm.

hope this helps

reddazz 04-23-2005 09:59 AM

Quote:

Originally posted by winsnomore
Please clarify what's your enviorment ?
Are you doing everyting in command line mode ? it's hard to believe.
Almost all distro's are a bit different, but you have to have an entry in /etc/inittab that sets the default run-level .. it shoudl be set to 5 which is graphic and muti-user mode with networking enabled.
Also at the end in the inittab there is another entry that starts the xdm/kdm/gdm etc with a respawn option.
If you "never" had any gui env... then you have a lot of work ahead, therea a lot of scripts and setting needed.
Suggestion would be to have a working (x/kde/gnome) environment and then upgrade it .
Also .. KDE 3.4 is quiet independent of KDM .. actually I am quiet sure that KDE 3.4 will run find on xdm.

hope this helps

Debian does not use the same runlevel system as other distros. Everything runs in runlevel two, so there is no point in changing anything in /etc/inittab.

winsnomore 04-23-2005 01:46 PM

Redazz .. your comment about runlevel is probably inaccurate
I don't have a pure debian install on my machine now, but I do have a Mepis and that's pretty debian.
It uses "5" as the normal run level.

reddazz 04-23-2005 02:50 PM

Well Debian uses runlevel two for everything. Maybe mepis deviates from standard Debian.

Angelus 04-30-2005 06:12 AM

So whats the init level for KDM ?
I have tried everything from 1-5 and I can't get to KDM.
In Mandrake init 5 showed KDM/GDM.

reddazz 04-30-2005 07:01 AM

In my previous posts I mentioned that Debian uses runlevel two for everything so you don't have to change the runlevel if you want to start a display manager.
Code:

/etc/init.d/kdm start
The above starts kdm (like doing init 5)
Code:

/etc/init.d/kdm stop
The above kills kdm (like doing init3)
Take a look at the documentation on the Debian website, you may find more detailed information.

Angelus 04-30-2005 09:54 AM

Quote:

Originally posted by reddazz
In my previous posts I mentioned that Debian uses runlevel two for everything so you don't have to change the runlevel if you want to start a display manager.
Code:

/etc/init.d/kdm start
The above starts kdm (like doing init 5)
Code:

/etc/init.d/kdm stop
The above kills kdm (like doing init3)
Take a look at the documentation on the Debian website, you may find more detailed information.

Yop kdm is started and I can see it with ps.
But 'where' is KDM I can't find it with F1 -> F12 buttons
:confused:

I'm really newbie when it comes to kdm/gdm/xdm. It seems not to work when I build from source xorg and installed kde 3.4.

Angelus 05-01-2005 11:19 PM

When I hit init 5. There appears two lines to screen. Last one reads like sending term signall to all apps and it stayes there hmm what I waited half an hour. Then i hitted ctrl+c and i were in same situation that before.


(And KDM is already on somewhere, I can see it from open apps with ps -A)
What am I missing here.

Blah stupid KDM/GDM/XDM, stupid Me. :scratch: :cry:


All times are GMT -5. The time now is 03:01 AM.