On Tue, Dec 11, 2007 at 07:36:02PM -0600, Ron Johnson wrote: > Hi, > > To enter GNOME, I type "startx". I tried entering KDE by typing > "startkde" which I what I remember doing a couple of years ago when > I last tried it. But it can't start X. startx uses ~/.xinitrc to start up the X session. In case it doesn't exist, then debian has some default stuff that starts whatever the default window manager is. Look at `update-alternatives --config x-window-manager` to set a different window manager as the default. Or, write your own .xinitrc (this is what I do) to start up a session the way you want the simplest is to use a one line .xinitrc with exec /usr/bin/startkde startx will then fire up X, and hand over control to .xinitrc and then when .xinitrc exits (it's essentially a regular bash script) X will die. > > Anyone have any clues? > > $ startkde > xsetroot: unable to open display '' > xset: unable to open display "" > xsetroot: unable to open display '' > startkde: Starting up... > startkde: Running kpersonalizer... > kpersonalizer: cannot connect to X server > kwin: cannot connect to X server > kpersonalizer: cannot connect to X server > kpersonalizer: cannot connect to X server > kpersonalizer: cannot connect to X server > kpersonalizer: cannot connect to X server > kpersonalizer: cannot connect to X server > kpersonalizer: cannot connect to X server > kpersonalizer: cannot connect to X server > kpersonalizer: cannot connect to X server > [etc etc ad nauseum] startkde command starts a kde session, but it assumes an X session is already running hence the need for calling startx with your own .xinitrc, or changing the default window manager. Other solutions exist as well like 'startx /usr/bin/startkde' I think. A
Attachment:
signature.asc
Description: Digital signature