Starting KDE from commandline

Everything about X, Gnome, KDE, ... and everything running on it

Starting KDE from commandline

Postby keller » 2006-01-09 11:25

Hi

I have a Debian box, and have been running Gnome for over a year now. I have installed KDE to try it out, but it won't start.

I do not use xdm or gdm, so I usually start gnome with startx.

My problem is, how do I start KDE? I tried startkde, but it doesn't seem to connect to the x-server, do I need to initialize KDE first, and if so, how do I do that?

I can provide the error messages if needed...

Regards

Keller
keller
 

Postby lacek » 2006-01-09 16:05

Rewrite the .xinitrc file in your home directory (or create it if it doesn't exists - note the leading dot!), and make sure it contains this single line:
exec startkde
After this, if you issue 'startx', it will run KDE.
lacek
Moderator Team Member
 
Posts: 769
Joined: 2004-03-11 18:49
Location: Budapest, Hungary

Editor

Postby Linux-N00b » 2006-01-26 17:08

lacek wrote:Rewrite the .xinitrc file in your home directory (or create it if it doesn't exists - note the leading dot!), and make sure it contains this single line:
exec startkde
After this, if you issue 'startx', it will run KDE.


how do I edit files ? Im new too Linux as you can see hehe ;P. And I'm also having problems to get kde to start...So I thought this thread would do. You said Rewrite .xinitrc, but I can't find any editors in Command Prompt. One thing how do I download from apt-get when I don't have privileges.

//Newbie
Linux-N00b
 

Re: Editor

Postby Guest » 2006-01-26 17:09

Linux-N00b wrote:
lacek wrote:Rewrite the .xinitrc file in your home directory (or create it if it doesn't exists - note the leading dot!), and make sure it contains this single line:
exec startkde
After this, if you issue 'startx', it will run KDE.


how do I edit files ? Im new too Linux as you can see hehe ;P. And I'm also having problems to get kde to start...So I thought this thread would do. You said Rewrite .xinitrc, but I can't find any editors in Command Prompt. One more thing how do I download from apt-get when I don't have privileges.

//Newbie
Guest
 

Postby adssse » 2006-01-26 19:15

You can edit files in the terminal by navigating to where the file is and typing
Code: Select all
vi .xinitrc
This will open it in the vi editor. Once open hit the letter 'i' to enter interactive mode and type in the line as described. When you are done press the esc key and enter ':w' and hit enter. You should see this at the bottom of the screen and it should tell you that it has been saved. When you are done type ':q' to quit. You may need to be root to edit this file.

As far as using apt-get, if I understand your question correctly you must be root. Type
Code: Select all
su
and than enter your root password to become root. Hope this helps.
adssse
 
Posts: 71
Joined: 2006-01-17 05:36

thx

Postby Linux-N00b » 2006-01-26 20:14

adssse wrote:You can edit files in the terminal by navigating to where the file is and typing
Code: Select all
vi .xinitrc
This will open it in the vi editor. Once open hit the letter 'i' to enter interactive mode and type in the line as described. When you are done press the esc key and enter ':w' and hit enter. You should see this at the bottom of the screen and it should tell you that it has been saved. When you are done type ':q' to quit. You may need to be root to edit this file.

As far as using apt-get, if I understand your question correctly you must be root. Type
Code: Select all
su
and than enter your root password to become root. Hope this helps.


I will test this out, thx :)
Linux-N00b
 

Postby dnusinow » 2006-01-27 01:51

The nano editor may prove easier than vi for getting started. I definitely recommend investing time learning vi and/or emacs though once you get moving.
David Nusinow
dnusinow
Debian Developer
Debian Developer
 
Posts: 75
Joined: 2005-12-12 16:35

Postby greenmeanie » 2006-01-28 00:48

I use nano much easier.
User avatar
greenmeanie
 
Posts: 68
Joined: 2006-01-03 21:40
Location: New England :(


Return to Desktop & Multimedia

Who is online

Users browsing this forum: cooler01 and 8 guests

fashionable