LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do you start debians gui ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-start-debians-gui-356656/)

Nicarlo 08-24-2005 07:31 PM

How do you start debians gui ?
 
Im very sorry for this very newbie question but im lost.

I Just installed Debian on one of my spare computers to experiment with but i cant seem to get the gui start. I checked google and a few other sites and they all tell me to simply type startx . I tried typing startx but it gives me a unknown command error. Maybe the gui has to be configured first ? if so how would that be done.

Thank you all for your patients with this stupid question but your help is greatly apreciated.

Nicarlo

bosewicht 08-24-2005 07:34 PM

did you install X and a WM?

Nicarlo 08-24-2005 07:36 PM

i dont believe so.. how would i go by installing it ?


thanks for your quick responce.

Guignol 08-24-2005 07:37 PM

Not 100% sure but maybe you need the Xorg- X11 packages....Note that I work with FC.

Not much but we never know dude :)

Mart.

bosewicht 08-24-2005 07:40 PM

apt-get install xorg fluxbox(or gnome, xfce, kde, whatever WM you want)

Oh and if you want to boot into a graphical interface, then apt-get install gdm(kdm, or xdm will work too)

Nicarlo 08-24-2005 07:41 PM

does that package come with debian or it is seperate ?

bosewicht 08-24-2005 07:43 PM

here is a big help page for Debian
http://www.togaware.com/linux/survivor/

Does what pkg come with debian?

Nicarlo 08-24-2005 07:58 PM

that site is not really a big help.... anyyone else have any suggestions?

bosewicht 08-24-2005 08:04 PM

what are you talking about? I told you what to do!!!

Originally posted by bosewicht
apt-get install xorg fluxbox(or gnome, xfce, kde, whatever WM you want)

Oh and if you want to boot into a graphical interface, then apt-get install gdm(kdm, or xdm will work too)


How difficult is that?

Why didn't you install a distro that is more newbie friendly

Nicarlo 08-24-2005 09:04 PM

sorry for asking over and over the same questions. i tired apt-get install gnone, xorg and etc.. but none worked. The last one you gave me apt-get install gdm seems to be working at the moment. Thanks alot for your help.

I know i should probably be sticking to a more user friendly distro but the whole purpose im doing this is to learn new ways and by doing that i need the help of great people like you.

After installing apt-get install gdm everything seemed to work well until i tried to execute the startx command once more. This time it actualy responds to its command but im getting a whole bunch of errors and the gui is not starting. im getting line2: /usr/bin/X11/X no such file or directory... any suggestions what to do from here ?

bosewicht 08-24-2005 09:14 PM

apt-get install gnome
check the spelling.

or you can try
type in apt-get install xorg
which should pull the xorg or xfree packages as well.

If you just install xorg or xserver-xfree86 you will still not have a desktop. You must install gnome, kde, whatever.

You want to learn, but part of the learning process is figuring things out. Installing and configuring X is easy. there are instructions on this site in the tutorials and all over the web how to do it.

Nicarlo 08-24-2005 09:19 PM

I tried all the apt-get install and none work.. they all give me the same error either couldnt find package or Package gnome has no installation candidate.

I agree with you .. i should try to figure it out.. its not like i didnt try anything.. ive been reading for a few hours now on this stuff and nothing is a good read.

Anyway hope you can help me out once again.

bosewicht 08-24-2005 09:23 PM

try adding these lines to your /etc/apt/sources.list:

# Debian experimental
deb ftp://ftp.debian.org/debian/project/experimental main
# GNOME 2.10 pending packages
deb http://pkg-gnome.alioth.debian.org/debian experimental main

so you need to su or sudo to edit that file. add the above lines to it. then try the apt-get install gnome.

It's stupid if debian doesn't include gnome in it's main repo

Nicarlo 08-24-2005 09:59 PM

its doesnt seem to like this line

deb ftp://ftp.debian.org/debian/project/experimental main

i ran the update with the other one and it downloaded two new files but im still getting errors. Anymore suggestions ?

bosewicht 08-24-2005 10:15 PM

Yeah, i typed it in wrong, try this

# Debian experimental
deb ftp://ftp.debian.org/debian/project experimental main

Nicarlo 08-24-2005 10:25 PM

alright.. that fixed that. Now im getting " you may want to run apt-get update ( which i did ) to correct these problems and the famous " Package gnome has no installation candidate"

any more suggestions ?

reddazz 08-24-2005 10:26 PM

I have just installed Debian Sid (unstable) and here is my /etc/apt/sources.list,
Code:

deb http://ftp.uk.debian.org/debian/ unstable main contrib non-free
deb http://ftp.ie.debian.org/debian/ unstable main contrib non-free

#videolan
deb http://download.videolan.org/pub/videolan/debian sarge main

To install an xserver, I did
Code:

#apt-get install xserver-xorg x-window-system
To install gnome, I did
Code:

#apt-get install gnome-desktop
Pick a mirror near you from the Debian website.

Nicarlo 08-24-2005 10:52 PM

thanks alot i finaly got it working.. apreciate all the help everyone gave me

Thanks alot :D

DefRay 08-25-2005 02:28 AM

In general when you want to install something with Debian, search the sources for the exact name of the package (like in your gome case).
To do this, use: "apt-cache search"
e.g.
"apt-cache search gnome" will give you gnome related packages.
But often this gives you too many results, because it also searches the description of packages, so add grep to it, to only show those with "gnome" in the package-name, like:

apt-cache search gnome | grep gnome

then you'll see what packege you need, in your case gnome-desktop, and just do the usual apt-get install.

oh, how I love apt for its simplicity ...

anyway, just wanted to add this to the post, it was a great help to me, when I didn't really know the name of something I was searching, like a certain dockapp for my WM, then I can just search for "dockapp" or "clock" or whatever and it'll give me some results to choose from.
But you may always want to take a quick look at the related manpage, for many more options to append to apt-commands.

reddazz 08-25-2005 05:28 AM

Thanks DefRay, I was looking for that kind of command. :)

Nix4me 08-26-2005 03:07 AM

Couldn't be easier with Apt. Installed base off CD, then did a apt-get install kde. Prior to that, setup ftp for source. All done :D

Nathanael 08-26-2005 04:12 AM

http://www.debian.org/doc/manuals/re...erence.en.html

Nathanael 08-26-2005 04:32 AM

try apt-get install x-window-system-core
or
apt-get install x-window-system


All times are GMT -5. The time now is 08:02 AM.