LinuxQuestions.org
Visit Jeremy's Blog.
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 06-14-2004, 02:58 AM   #1
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Sarge Debian and X = issues


How can I get sarge running X on an pretty much fresh system? I've tried myself and ended up getting a handful of errors ...
 
Old 06-14-2004, 03:01 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Please could you tell us what the errors are.
 
Old 06-14-2004, 04:02 AM   #3
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
After I type startx:

hostname: hostname lookup failure
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
xauth (argv):1: bad display name "blue:0" in "list" command
Using authority file /root/.Xauthority
xauth (stdin):1: bad display name "blue:0" in "add" command

/usr/X11R6/lib/X11/xinit/xserverrc: line 2: /usr/bin/X11/X: No such file or directory
/usr/X11R6/lib/X11/xinit/xserverrc: line 2: exec: /usr/bin/X11/X: cannot execute: No such file or directory
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
xauth: (argv):1: bad display name "blue:0" in "remove" command
 
Old 06-14-2004, 06:37 AM   #4
atmguy
LQ Newbie
 
Registered: May 2004
Location: Mumbai, India
Distribution: Debian, Sarge
Posts: 8

Rep: Reputation: 0
Login as root and run
tasksel

select Desktop environment
If you installed Debian from net, it will download the packages and install X. If installed from CD, insert CD.

select Finish

run startx if does not start
run
/usr/bin/X11/xf86config
follow the instructions and do a startx
try a reboot

Last edited by atmguy; 06-14-2004 at 06:40 AM.
 
Old 06-14-2004, 10:05 PM   #5
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
tasksel does not list Desktop Enbironment as one of its options ...
 
Old 06-14-2004, 10:18 PM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Do you have the "x-window-system" package installed?
 
Old 06-14-2004, 10:37 PM   #7
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
It's not listed as a package
 
Old 06-14-2004, 10:55 PM   #8
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
If your network connection is configured and your /etc/apt/sources.list is OK (you can set up the sources.list with "apt-setup"), you can install new packages by downloading them via network. Aptitude is a nice frontend for apt-get.

In order to get X up and going you need to install the "x-window-system" package and an X environment (fluxbox, windowmaker, kde, or gnome).
 
Old 06-15-2004, 02:36 AM   #9
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
My network isn't even working I think. I have a USB and PCMCIA network cards. The PCMCIA one flashes it's lights when inserted, indicating that it's not ready, but the USB one seems to function ok on the outside. However, when I try to use the network through the USB NIC, it doesn't function properly. What I'll probably end up doing is downloading the deb file and burning it to the multisession CD I have with some other linux stuff, then mounting it and installing from there. I bet it's gonna have some dependencies though ... but hey, I'll give it a shot. I think I'm gonna leave the NIC problems in another thread.
 
Old 06-15-2004, 03:22 AM   #10
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Where can I obtain the x-window-system package?
 
Old 06-15-2004, 04:02 AM   #11
atmguy
LQ Newbie
 
Registered: May 2004
Location: Mumbai, India
Distribution: Debian, Sarge
Posts: 8

Rep: Reputation: 0
Cool To: Orange400 - "tasksel does not list Desktop Environment as one of its options ..."

If tasksel does not list desktop env, then it is possible that it has tried to install it sometime back and crashed, but it has marked the task "Desktop" as installed.

run
tasksel -n install desktop

run "tasksel --help" for more options

Even I had faced the same problem, then i was a novice and had restarted the whole installation process. But you are lucky.
 
Old 06-15-2004, 04:16 AM   #12
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
When I try tasksel -n install desktop, it says E: desktop: no such task.

I'm starting to think that the X window system is on the 2nd cd or something ...
 
Old 06-15-2004, 04:19 AM   #13
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally posted by orange400
When I try tasksel -n install desktop, it says E: desktop: no such task.

I'm starting to think that the X window system is on the 2nd cd or something ...
apt-get install x-window-system

make sure /etc/apt/sources.list contains an entry that points to your cd

apt-setup


Last edited by utanja; 06-15-2004 at 04:20 AM.
 
Old 06-15-2004, 05:11 AM   #14
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Provided you have Sarge installation CD(s) that contain(s) more stuff than just the base system, the solution that utanja suggested seems optimal. However, if you installed Sarge from the beta installer (110 MB CD image) that only contains the base system (and nothing else), then I suggest you try to get your network connection working.

You see, the "x-window-system" is a "meta-package" that installs lots of other packages, so downloading them separately might prove out to be a quite difficult task. That's the beauty of apt-get -- it automatically downloads and installs all the packages that are marked as dependencies. But you need a working network connection (or a set of installation CDs) to use this dependency-resolving feature of apt-get.
 
Old 06-16-2004, 03:37 AM   #15
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Right. I use apt-get a lot for this kind of stuff. I just haven't been doing it this time because the network wasn't working. I'm gonna get the second CD and see what I can do with it. Guess how? Through DSL Live CD, mounting hda1 and using jigdo
 
  


Reply


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
Debian Sarge Onboard Graphics Issues jrcreasy Linux - Newbie 8 08-06-2005 03:34 PM
printing issues on Debian sarge 3.1 samael26 Debian 6 04-19-2005 02:58 PM
X-Windows fails to start & other Debian sarge install issues tommilo Linux - Newbie 30 03-02-2005 10:49 AM
sarge jigdo issues six6 Debian 5 10-04-2004 04:43 AM
Couple of issues with Debian "sarge" KRiSX.cjb.net Linux - General 0 07-14-2004 05:35 AM

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

All times are GMT -5. The time now is 05:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration