LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 09-14-2006, 08:46 AM   #1
Damo2k
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Rep: Reputation: 0
Weird Desktop Environment Issues


Hello I'm new to these forums and also new to Linux/Debian

I have encountered some issues I hope someone can clear up for me.

I downloaded the debian i386 3.1r2 netinstaller image and installed it, went throught entire installation process. When asked what packages I wanted to install I selected "Desktop Enviroment" It downloaded about 520MB of files and installed. When i rebooted, I was preseted with a Login GUI and could select from GNOME or KDE. It was working 100%. Totally perfect. (even though its in vmware) However been a n00b I messed up with adding new applications later as Im a noob at linux, and so decided to reinstall a clean install of debian, on clean drive, bootloader etc.. (im using virtual os software btw)

I downloaded the new CD ISO's of 3.1 r3 i386 (the 2 first ISO's) as I thought having the ISO's I would not need to download hugh amount of files every install. I went through exact same process to install except when it came to installing packages after apt scanned both ISO's for packages, I choose "Desktop Enviroment", however when ready to install it immediatly threw up an error and returned to the base-config menu so I don't know what the error was. i tried this several times to no success. I thought maybe the first 2 ISO's didnt have all necessary files so then i got the DVD ISO 3.1 r3 i386.

Again up to the point of selecting "desktop enviroment", it installed!! but when ever I boot, i do not get the GUI logon like in the first case. I get a shell, so at the shell, i enter "startkde" it says not found, and "startx" brings up some really old basic looking GUI, not like GNOME or KDE, someone said it could be X-Window or something?.

My question is how can I install the "desktop enviroment" thats the same as the netinstall 3.1r2 with GUI logon screen and choice of GNOME and KDE from the ISO images as im gonna mess up linux setup alot from learning stuff and downloading linux setup from the internet every install is not practical as I have a 2Mbit line which never really sees 2mbits ! and also I have a bandwidth cap limit every month thats quite low.

If anyone else has encountered this and has a work around, it would be greatly appreciated.
 
Old 09-15-2006, 03:40 AM   #2
Indkoeti
Member
 
Registered: Oct 2005
Distribution: gentoo
Posts: 50

Rep: Reputation: 15
Before you do a startx you have to tell the system what desktop evironment you want. With xorg you do it via:
Code:
echo "exec startkde (or gnome)"> ~/.xinitrc
                             startx
to get to the kde or gnome environment
But debian uses the old xfree till the next release I don't know if it works for that too. To get the system to start to the graphic login screen you have to install a desktop manager, which is kdm for kde and gdm for gnome. There is a good instruction here http://www.gentoo.org/doc/en/kde-config.xml
but it is for xorg not xfree. So try to goole for this things (kdm gdm and xfree) or maybee try another distro wich is more newbie-friendly like ubuntu or kubuntu
 
Old 09-15-2006, 05:52 AM   #3
abcdefghij
LQ Newbie
 
Registered: Nov 2003
Location: Germany
Distribution: Debian
Posts: 26

Rep: Reputation: 15
As Indkoeti already said, you might be better off with Ubuntu / Kubuntu. "Debian Stable" is currently a bit old (AFAIK around December there will be a new "Debian Stable" release with up-to-date software).

If the GUI doesn't start up, you can try running kdm or gdm; it _should_ already be configured to start KDE or Gnome. To make sure that KDE is completely installed, you can run (as root) "apt-get install kde".

If you don't want Debian to download much stuff over the net, you could try to install it from DVD without any net connection at all (pull out the internet cable . AFAIK, if Debian detects a working internet connection during installation, it will download online updates automatically, and also will automatically download packages from the net if they are not on DVD.
 
Old 09-15-2006, 06:41 AM   #4
Damo2k
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by abcdefghij
As Indkoeti already said, you might be better off with Ubuntu / Kubuntu. "Debian Stable" is currently a bit old (AFAIK around December there will be a new "Debian Stable" release with up-to-date software).

If the GUI doesn't start up, you can try running kdm or gdm; it _should_ already be configured to start KDE or Gnome. To make sure that KDE is completely installed, you can run (as root) "apt-get install kde".

If you don't want Debian to download much stuff over the net, you could try to install it from DVD without any net connection at all (pull out the internet cable . AFAIK, if Debian detects a working internet connection during installation, it will download online updates automatically, and also will automatically download packages from the net if they are not on DVD.

Thanks, but I tried installing of both the DVD and first 2 CD ISO's and I got no GUI login at boot up. I did automatically when i did the net install. Im just curious as to why this is.
 
Old 09-15-2006, 07:28 AM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
First question is have you installed kde? The login manager for kde is kdm and to install both do as root apt-get install kde kdm .
 
Old 09-15-2006, 07:32 AM   #6
Damo2k
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TigerOC
First question is have you installed kde? The login manager for kde is kdm and to install both do as root apt-get install kde kdm .

I assumed these were installed as they were installed selecting "Desktop environment" by the net install, however doing the same install from the DVD ISO and selecting "Desktop Environment" i dont get the gmd at bootup like i did before. startx or startkde do noting also.
 
Old 09-15-2006, 07:41 AM   #7
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
From what you say in your first post it appears that the X enviroment is installed if you are getting a gui with startx. If startkde, as root, is responding with not found then kde is not installed.
I do recommend reading the Debian post install sticky at the top of this forum.

Last edited by TigerOC; 09-15-2006 at 07:44 AM.
 
Old 09-15-2006, 08:45 AM   #8
Damo2k
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TigerOC
From what you say in your first post it appears that the X enviroment is installed if you are getting a gui with startx. If startkde, as root, is responding with not found then kde is not installed.
I do recommend reading the Debian post install sticky at the top of this forum.

yes gui is 100% when i install debian from the net-installer but not when i install from the cd/dvd iso's
 
Old 09-15-2006, 09:22 AM   #9
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
So have have you tried to install kde as I suggested above? A pure Debian install assumes some prior knowledge of what the user wants. This allows the user to make the decision as to what they want installed on the particular box. This allows for a lean installation without all the unnecessary programs that you will probably never use. It also means the box is quicker.
I understand how confusing this seems at present coming from an environment where there were no choices but as you get to know more you will really appreciate it. Once you have a gui going I suggest installing synaptic which which enable you to use the apt repositories more intuitively.
 
Old 10-02-2006, 02:22 AM   #10
wheupke
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
nearly same problem, no GUI on 2nd installation of Sarge

Damo2K seems to have precisely the same problem I have experienced.
I installed Sarge 3.1 R3 for the first time and selected "Desktop Environment" and immediately got the Gnome login on reboot.

Then I experimented with compiling the kernel but got into trouble and thought it would be better I would install the system new, but although I selected "Desktop Environment" there is only a shell login with this new installation and with manually installing the environment I was only able to start twm with the command "startx".

I have to add I am quite unexperienced, but a colleague of mine who is our admin has also simply no idea.

I retried to install Sarge five(!) times because I thought I was stupid and oversaw some option.

Ahh - I selected "Desktop Environment" with the space bar, so that there appeared an asterisk between the two brackets. So I am quite sure I *really* selected this installation option.

Now I am quite frustrated.

Wilhelm
 
Old 10-02-2006, 03:55 AM   #11
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
So wheupke which desktop are trying to install? It sounds like you are using dselect on the installer which is very complex and I would not recommend it to any newbie. If you want a menu driven package installer install aptitude (apt-get install aptitude) and then as root do aptitude. A very good gui package installer is synaptic.
 
Old 10-02-2006, 07:43 AM   #12
wheupke
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by TigerOC
So wheupke which desktop are trying to install? It sounds like you are using dselect on the installer which is very complex and I would not recommend it to any newbie. If you want a menu driven package installer install aptitude (apt-get install aptitude) and then as root do aptitude. A very good gui package installer is synaptic.
I selected "Desktop Environment" during the installation from the DVDs. I did not select a special desktop, but as far as I understand it, KDE and Gnome are both installed by selecting it.

I never used dselect.

If I am right, aptitude is used to install additional software after the first installation run. I tried that, too, by running "apt-get install gnome gdm", but this was obviously not enough.
I ended up with pure twm and nothing else (no menus, no icons, only the pop-up menu of twm).

What helped me was the network installation. This works exactly as I expect it and like the very first installation from the DVDs. So I am happy now, but on the other hand I am puzzled what I did wrong with the DVD based installation. And I am quite sure that I did not oversee something, as I tried it five times. In the second to sixth run from the DVDs it did not ask me much questions, in contrast to the first DVD based installation run and the network based installation run.

I hope this clears up the problem I have seen.
 
  


Reply

Tags
debian, desktop, environment


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help with Desktop environment plato399 Linux - Newbie 2 10-21-2005 08:41 PM
What's the best Desktop Environment? Mathijs Linux - Software 2 04-23-2005 12:26 PM
which desktop environment bendeco13 Linux - General 3 04-12-2005 06:46 PM
Which Desktop Environment You Use? xoros Linux - General 43 10-21-2003 06:04 AM
Why use a Desktop Environment? bb-boy Linux - General 19 02-10-2002 10:32 PM


All times are GMT -5. The time now is 03:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration