FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 12-12-2007, 12:52 AM
"John Fleming"
 
Default How to start KDE from a console prompt?

----- Original Message -----
From: "Ron Johnson" <ron.l.johnson@cox.net>

To: "ML Debian-User" <debian-user@lists.debian.org>
Sent: Tuesday, December 11, 2007 8:36 PM
Subject: How to start KDE from a console prompt?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

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]

- --
Ron Johnson, Jr.
Jefferson LA USA

"Your mistletoe is no match for my TOW missile." Santa-bot
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHXzsCS9HxQb37XmcRAuMMAKClyQPT4JI+tacbXC017N 6riYNPNACeJANr
SkyAvIGWGSGN2JYEswwei3A=
=AwsJ
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.0/1180 - Release Date:
12/10/2007 2:51 PM



Try /etc/init.d/kdm start (assuming you have kdm) and let us know. startkde
gives me similar messages, but starting kdm works fine. - John



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-12-2007, 01:20 AM
Michael Pobega
 
Default How to start KDE from a console prompt?

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.
>
> Anyone have any clues?
>
> $ startkde
> [snip x errors]
>

startx /usr/bin/startkde

--
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs.
- Richard Stallman
 
Old 12-12-2007, 01:21 AM
Ron Johnson
 
Default How to start KDE from a console prompt?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/11/07 19:52, John Fleming wrote:
>>
>> ----- Original Message ----- From: "Ron Johnson" <ron.l.johnson@cox.net>
>> To: "ML Debian-User" <debian-user@lists.debian.org>
>> Sent: Tuesday, December 11, 2007 8:36 PM
>> Subject: How to start KDE from a console prompt?
>>
>>
>> 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.
>>
>> 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]
>>
>
> Try /etc/init.d/kdm start (assuming you have kdm) and let us know.
> startkde gives me similar messages, but starting kdm works fine. - John

Thanks for the suggestion, but I strongly dislike DMs.

- --
Ron Johnson, Jr.
Jefferson LA USA

"Your mistletoe is no match for my TOW missile." Santa-bot
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHX0WsS9HxQb37XmcRAvnpAJ9YTg/I8bvto4anx004Vl3SlUTkyQCfWyf9
0kBZMQZjb9ChHi+uAVU2kOI=
=zQNQ
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-12-2007, 01:29 AM
Ron Johnson
 
Default How to start KDE from a console prompt?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/11/07 20:20, Michael Pobega wrote:
> 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.
>>
>> Anyone have any clues?
>>
>> $ startkde
>> [snip x errors]
>>
>
> startx /usr/bin/startkde

Remembering that, I tried "startx startkde", but that bombed. Now I
know why...

If in 30 minutes you see my User Agent be KMail, it worked.

- --
Ron Johnson, Jr.
Jefferson LA USA

"Your mistletoe is no match for my TOW missile." Santa-bot
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHX0duS9HxQb37XmcRAobdAJ9dCQGc/OrUZsmzy5E8gUOO0PjEYgCgkuI1
xkgYH6lW2WdUTfhV5mH1w2c=
=NQ4j
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-12-2007, 01:36 AM
Andrew Sackville-West
 
Default How to start KDE from a console prompt?

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
 
Old 12-12-2007, 02:21 AM
Ron Johnson
 
Default How to start KDE from a console prompt?

On Tuesday 11 December 2007 08:29:02 pm Ron Johnson wrote:
> On 12/11/07 20:20, Michael Pobega wrote:
> > 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.
> >>
> >> Anyone have any clues?
> >>
> >> $ startkde
> >> [snip x errors]
> >
> > startx /usr/bin/startkde
>
> Remembering that, I tried "startx startkde", but that bombed. Now I
> know why...
>
> If in 30 minutes you see my User Agent be KMail, it worked.

Well, it seems to have worked. Thanks.
 
Old 12-12-2007, 02:27 AM
Kamaraju S Kusumanchi
 
Default How to start KDE from a console prompt?

Ron Johnson wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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.
>
> Anyone have any clues?
>
> $ startkde
> xsetroot: unable to open display '
> xset: unable to open display ""
> xsetroot: unable to open display '


Others have given you good suggestions. Another approach is to just do

xinit

and once X starts, there will be an xterm in which you can type startkde.

hth
raju
--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-12-2007, 03:31 AM
Kent West
 
Default How to start KDE from a console prompt?

Andrew Sackville-West wrote:

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



I just put the bare "startkde" in my ~/.xinitrc. Of course, the method I
use assumes I'm not doing other things in that file (which I'm not,
other than switching between WMs via commented-out lines, as below).


My ~.xinitrc file looks something like this:

westk[@westk03]:/home/westk> cat .xinitrc
#icewm
#xterm
#wmaker
startkde
#xfce
#gnome-session

--
Kent



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-12-2007, 04:36 AM
Andrew Sackville-West
 
Default How to start KDE from a console prompt?

On Tue, Dec 11, 2007 at 10:31:40PM -0600, Kent West wrote:
> Andrew Sackville-West wrote:
>> 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
>>
>>
>>
> I just put the bare "startkde" in my ~/.xinitrc. Of course, the method I
> use assumes I'm not doing other things in that file (which I'm not, other
> than switching between WMs via commented-out lines, as below).
>
> My ~.xinitrc file looks something like this:
>
> westk[@westk03]:/home/westk> cat .xinitrc
> #icewm
> #xterm
> #wmaker
> startkde
> #xfce
> #gnome-session

I always stick a

x-terminal-emulator at the end of that file so that if the WM bombs
for some reason, I'll get an xterm and at least know that X is
working...

also, I use `exec /path/to/WM` so that when the WM does work, it will
replace the current process so that upon exiting that xterm won't be
and keep the X session up. I think that's how it works

A
 
Old 12-12-2007, 10:51 AM
Hugo Vanwoerkom
 
Default How to start KDE from a console prompt?

Ron Johnson wrote:

On Tuesday 11 December 2007 08:29:02 pm Ron Johnson wrote:

On 12/11/07 20:20, Michael Pobega wrote:

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.

Anyone have any clues?

$ startkde
[snip x errors]

startx /usr/bin/startkde

Remembering that, I tried "startx startkde", but that bombed. Now I
know why...



Why?

Hugo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 09:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org