LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2006, 02:16 PM   #1
ctos
Member
 
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57

Rep: Reputation: 15
how to start Xwindows after Debian install?


Hello! Last evening I tried Debian on my / partition. I used the CD that is designed to fetch packages from a mirror. Everything went well, and I logged in to a root account. I was unable to see how to start KDE or Xwindows. All I could figure out was that typing "X" gave me a grey screen with a moving mouse. The problem wasn't that it couldn't find a screen; indeed at first it couldn't but I copied xorg.conf (which I keep a copy of on the /home partition); then it couldn't find my touchpad so I hot-plugged in a Kensington mouse. From there I got the half-tone grey screen. I could move the cursor with the mouse, and with the touchpad. But nothing else happened. What should I have done? As far as I know I included a full complement of packages in the installation routine.

Last edited by ctos; 04-05-2006 at 02:25 PM.
 
Old 04-05-2006, 02:27 PM   #2
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
After configuring X with "xorgconfig" you might try "startx" you may also need to make a ~/.xinitrc file -- I'm not very debian savvy.
 
Old 04-05-2006, 02:40 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Did you install Sarge (Stable) or Etch (Testing)? 64-bit or 32-bit? Did you specifically ask, during the setup, for a 'desktop' task installation?
 
Old 04-05-2006, 03:49 PM   #4
vmlinuz.gz
Member
 
Registered: Nov 2005
Posts: 123

Rep: Reputation: 15
It may be worth noting that in my case, X did not work until I compiled/used version 2.6 of the kernel.
 
Old 04-05-2006, 08:42 PM   #5
ctos
Member
 
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57

Original Poster
Rep: Reputation: 15
I used Sarge. I guess 32-bit. "startx" was not found as a command. I'll try xorgconfig to see if that makes anything possible. I'm trying Debian again tonight. But what is the command to type to actually start X with a desktop, such as gnome?
 
Old 04-05-2006, 08:55 PM   #6
ctos
Member
 
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57

Original Poster
Rep: Reputation: 15
The packages all say i386 so I would guess 32-bit, to answer that question.

It just asked me for my video bus identifier, which I took to mean the 0000:... location given by lspci. But before I could type it in I hit an erroneous key and the screen was destroyed, there was no way to go back, and I didn't think to try ctrl-l which sometimes redraws the screen. Where is my incomplete and incorrect information lodged, and should I track it down?
 
Old 04-05-2006, 08:57 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
If you installed Sarge, you probably don't have Xorg

Try dpkg-reconfigure xserver-xfree86
Then, at the prompt, try 'gdm'; if that doesn't work, try 'xdm' ... Tell us what happens.
 
Old 04-06-2006, 12:55 AM   #8
ctos
Member
 
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks for your advice. The story tonight is: I installed, and the system seemed to know about "gdm". I saw some package info go by, and it loaded it on boot. I did some searching and found some evidence that this might be the command to try. I took a copy of xorg.conf from my other partition and dropped it into /etc/X11/ (if memory serves) so X cound find a screen. Unfortunately it seemed not to be quite the right thing to do although it works on Slackware, because it then couldn't quite load, but it couldn't unload either: I got a persistent screen asking me if I wanted failure information. It was impossible to accept it or dismiss it. I tried putting a rescue liveCD in to remove the file but I couldn't figure out where it was mounted or how to mount it so I reinstalled Slackware. But if you want to give me some instructions I might try Debian again.

The basic problem I'm having is that my Slackware is without sound. And, almost any recompiling of the kernel results in loss of the Internet. So I was wondering if Debian might give me both sound and Internet out-of-the-box.

I think xdm also gave a null result. Perhaps I can get some more sample xorg.conf files from live CDs that boot successfully (this is how I get Xwindows to work with Slackware--I took the xorg.conf from Slax). But in the end it just becomes another wild goose chase. Maybe it'll work, maybe it won't. Minimum experimentation time, 5 hours. Also I put the iso's 1-7 on CD but they didn't work. All but #5 indexed properly on Debian install but then it couldn't read them so I ended up using HTTP again.

My goal: working linux with graphical environment (preferably KDE because dcop looks promising) with sound and with Internet, and without kernel recompiling always being a risk of Internet loss.
 
Old 04-06-2006, 06:54 AM   #9
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
I took a copy of xorg.conf from my other partition and dropped it into /etc/X11/...
I still think this is a significant part of your problem. Sarge knows nothing about Xorg. If you want to try it again, install the testing version (Etch). Get your netinstal .iso here.
 
Old 04-06-2006, 05:35 PM   #10
ctos
Member
 
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks for your advice. I'll take that into account if I try Debian again. For now I'm giving Kubuntu a try.
 
Old 04-06-2006, 09:13 PM   #11
legendaryhwk
Member
 
Registered: Feb 2006
Posts: 31

Rep: Reputation: 15
hey man,
i JUST had the same problem that ur having, and figured it out:
so heres wut u do, with debian:

apt-get x-window-system kde kdm
then u download alllll those packages (could take a while.. well over 200MB)

once its done, if it doesnt start automatically, type:
dpkg-reconfigure xserver-xfree86, and follow the instructions.

this is all based on the assumption that ur internet IS working.
personally, i overwrote xdm and chose kdm on the configuration, and its worked just fine for me.

all u have to do once uve done all of that is restart ur computer and it will jump straight into Xwindows


best of luck
P.S. not sure if its x-windows-system or x-window-system that u have to apt-get...
 
Old 04-06-2006, 10:44 PM   #12
ctos
Member
 
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks Hawk! I'm trying kubuntu at the moment, which I believe is based on Debian, so I'll see how that goes. So far the only oddity is something about the use of sudo. But it is possible to give root a password and use root in the more typical unix fashion. So that's what I've done.
 
  


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
Debian Sarge 3.1 LXF70 XWindows fails to start - Missing symbols cgtueno Debian 1 09-05-2005 09:07 AM
XWindows won't start !! netkepala Linux - Networking 5 08-31-2003 04:01 AM
new debian install ... whats' next? xwindows?? rishineedsajob Linux - Newbie 1 03-25-2003 01:04 PM
Can't start xwindows juno Linux - General 6 11-17-2002 12:34 PM
start xwindows lakshman Linux - General 3 10-15-2002 10:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 PM.

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