LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-28-2006, 03:20 PM   #1
playa4002
Member
 
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31

Rep: Reputation: 16
how to start gnome or kde? command line?


I got aptitude working, helped me alot cause you can see what you want to tinstall..

there is gnome and kde, i installed gnome so far. but how do i start it? this is easy question i hope someone can answer it quickly.
 
Old 07-28-2006, 03:27 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Type in
Code:
startx
This starts X.
 
Old 07-28-2006, 03:29 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Also, if you're interested in a graphical login screen, aptitude install gdm (or kdm or xdm).
 
Old 07-28-2006, 03:55 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
I think you need to type this before you type 'startx'
Code:
echo "exec gnome-session" > ~/.xinitrc
to have GNOME start automatically. Otherwise you need to type
Code:
gnome-session
after X is started.
 
Old 07-28-2006, 04:27 PM   #5
playa4002
Member
 
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31

Original Poster
Rep: Reputation: 16
yes startx doesnt work, I did what arow said, still doesnt work, says command not found...

and if i do the code gnome-session, i get cannot open display:

thanks in advanced
 
Old 07-28-2006, 04:36 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
When you tried startx, did it give you some real ugly looking windows? Aqua titlebars with white workspace kind thing? I guess what I'm asking is did you install and configure X?
 
Old 07-28-2006, 04:42 PM   #7
playa4002
Member
 
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31

Original Poster
Rep: Reputation: 16
I dont get any of that, how do i install configure x >.<
 
Old 07-28-2006, 04:49 PM   #8
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Aha!!! Well, there's probably something in the Debian repositories called xorg. Use aptitude to see what you can find that and install it.

Once that's installed, type this Xorg -configure to try and autoconfigure X. If you're lucky you won't have to manually edit anything. But if you do, you know where you can find help.

After you get X working, then try gnome-session.
 
Old 07-28-2006, 04:57 PM   #9
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
If you installed Gnome it should have installed X already (Gnome depends on X and aptitude would have installed it also).

dpkg -l |grep xserver (that's L, not 1) should tell you if X is installed.
 
Old 07-28-2006, 05:01 PM   #10
playa4002
Member
 
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31

Original Poster
Rep: Reputation: 16
dpkg -l |grep xserver

it doesnt find anything matching xserver, but if i take away that thing infront of grep it finds somethng, but status is not installed, and uppercase=bad but below it it says, Name grep, version 2.5.1.ds1-4 and a description as if it was found. and then as i said before, below it it says no packages found matching xserver.

Last edited by playa4002; 07-28-2006 at 05:16 PM.
 
Old 07-28-2006, 05:20 PM   #11
playa4002
Member
 
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31

Original Poster
Rep: Reputation: 16
its just the cd1 im using. on my laptop.

I downloaded the 2 dvds now, I want to install onto my main pc, which has os already on it... I need to know 2 things before i do it.

1. How can i stop it from making it every time i boot my computer i decide what to boot.

2. How can i get my usb stick to be bootable, it says those commands, do i just do it off the cd? without already installing?


thanks in advanced, (I will try all this stuff again and if ie doesnt work, I will be posting again )
 
Old 07-28-2006, 05:28 PM   #12
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You should be able to install X from the first CD or two. Or if you have broadband, that's the preferred method because you can just download a 150MB Netinstall CD and install the rest from online.

Try as root typing tasksel then use the arrow keys to highlight "Desktop environment" and hit the space bar. Then go to OK and hit enter. This should install all the things needed for a desktop.

1) I don't understand what you want to do. I read it as you want a menu to let you choose. This happens by default. There is a timeout set in the /boot/grub/menu.lst that will automatically boot one of the options.

2) This is a really complicated thing to do. Even if you get your USB bootable, it may not be bootable on other machines...
 
1 members found this post helpful.
Old 07-28-2006, 05:39 PM   #13
playa4002
Member
 
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31

Original Poster
Rep: Reputation: 16
Ok

1. It installs a kernal ( if i remember corectly) so when you book your computer, if you have more then one os, you can choose windows xp or debian... Thats the menu im talking about. I dont want that to happen, I want it to be if i put in the usb stick, it will just boot off that.

2. I dont need it for my laptop, just for one pc, my laptop is just for fooling around.

thanks alot, and thanks in advance.
 
1 members found this post helpful.
Old 07-28-2006, 06:26 PM   #14
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Not sure how to do this.

I could guess that you need to format the USB key as ext2, copy -a /boot/* to the key, edit your fstab so that /boot points to the USB key, then do something with grub-install to make it isntall grub to the MBR of the USB key. There's probably some specific grub-install options you'll have to do to make sure grub is setup correctly...
 
Old 07-28-2006, 06:34 PM   #15
playa4002
Member
 
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31

Original Poster
Rep: Reputation: 16
To format it ext2, do it do it when im installing it? Or is there a specific program? and when do i copy -a/boot/

how do i edit the fstab so it points to the usb key, and hopefully someone reads this to know the sepcific grub-install, but what would be a guess onto how to grub-install onto usb?

thanks, im total newbie, sorry.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I start GNOME from the command line? SquishyMarbles Linux - Software 4 04-10-2006 03:29 PM
start kde-panel from command line ankur_linuxfan Linux - General 3 02-09-2005 02:12 PM
How to start up in to command line? prettyhatem Linux - Newbie 5 09-07-2004 02:01 PM
when i start slackware i only have a command line, how do i get to kde Longinus Slackware 8 12-13-2003 10:23 AM
Change kde theme & wallpaper from command line or start scripts? JHuizingh Linux - Software 2 12-11-2003 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration