LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-29-2004, 04:36 PM   #1
General Dude
LQ Newbie
 
Registered: May 2003
Posts: 26

Rep: Reputation: 15
Newbie trouble finding/starting x


I know this is stupid question- but how the heck do I start X? I have just installed 2.1 on my system, but I can't figure out how to run xf86config becuase it just keeps telling me it can't find it...I installed a basic server package, and included gnome...
 
Old 02-29-2004, 05:13 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
are you typing :
xf86config
as the root user ?
and did you try typing :
startx

you can try typing the full path also ...
/usr/X11R6/bin/xf86config
 
Old 02-29-2004, 05:19 PM   #3
eaglegst
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83

Rep: Reputation: 15
dpkg-reconfigure xserver-xfree86
startx
 
Old 02-29-2004, 06:06 PM   #4
General Dude
LQ Newbie
 
Registered: May 2003
Posts: 26

Original Poster
Rep: Reputation: 15
neither of these things work...I can find the x11r6 directory, but there is no xf86 or xf86config in it...
 
Old 02-29-2004, 06:09 PM   #5
augamecock
Member
 
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78

Rep: Reputation: 15
eaglegst's post should get you going provided you have X installed. What did

"dpkg-reconfigure xserver-xfree86" do?

the XF86Config file will be in /etc/X11/ once it's created.
 
Old 02-29-2004, 06:11 PM   #6
General Dude
LQ Newbie
 
Registered: May 2003
Posts: 26

Original Poster
Rep: Reputation: 15
dpkg:unknown option-e
 
Old 02-29-2004, 06:19 PM   #7
augamecock
Member
 
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78

Rep: Reputation: 15
Ok.. let's start over.. 1st make sure X is installed...

#apt-cache policy x-window-system-core

it will show you what version you have installed.. then if it's not installed

#aptitude install x-window-system-core (aptitude is my preference, you can use apt-get)

after it's installed..

#dpkg-reconfigure xserver-xfree86

there are no spaces in "dpkg-reconfigure". Post any output you have if there's problems
 
Old 02-29-2004, 06:27 PM   #8
General Dude
LQ Newbie
 
Registered: May 2003
Posts: 26

Original Poster
Rep: Reputation: 15
thanks, it doesnt look like x is installed. When I run apt-get, it tries to get the files from the internet...the only porblem is that I don't have my NIC configured yet...I suppose thi sis the topic of a different thread? I have the install CD for Debian, wouldn't the X info be there?
 
Old 02-29-2004, 07:17 PM   #9
augamecock
Member
 
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78

Rep: Reputation: 15
I don't know which CD the X files are on. What kind of ethernet card do you have?

#lspci

will tell you. You'll then need to modprobe the driver and setup networking accordingly. What kind of internet setup do you have?
 
Old 02-29-2004, 08:05 PM   #10
General Dude
LQ Newbie
 
Registered: May 2003
Posts: 26

Original Poster
Rep: Reputation: 15
I have dsl running through a router... my nic is a Realtek pci....
 
Old 02-29-2004, 08:41 PM   #11
eaglegst
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83

Rep: Reputation: 15
To setup your internet connection:
#ifconfig as root, see if there is an interface named eth0
if it is properly configured, then try to ping any urls of the outside world.
if it is not, you may need to edit /etc/network/interfaces to get your eth0 working first.
Most Realtek pci cards are supported by Debian by default.

To get the packages you need without internet connection(from Debian CDs):
edit /etc/apt/sources.list, use "#" to comment out any lines that contain an URL(http or ftp) to prevent it from trying to search the web.
If there isn't any line start with deb cdrom: in that file, which means you did not scan your CDs in the installation, you need to:
#apt-cdrom add, follow the instruction, repeat the same thing for all your 7 woody CDs.

You may need to run #apt-get update after all these changes are done.
Then apt-get install whatever packages you need.
 
Old 02-29-2004, 08:53 PM   #12
xarius
LQ Newbie
 
Registered: Feb 2004
Distribution: Linux From Scratch
Posts: 10

Rep: Reputation: 0
it may be that the X binaries are not in your path, do this:

export PATH=$PATH:/usr/X11R6/bin
xf86config
startx

and you should have it working (assuming that X is installed of course)
 
  


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
trouble finding getopt.h (c++) Feminista Programming 2 09-19-2004 09:39 PM
trouble finding cdrom techrolla Linux - Newbie 2 05-03-2004 11:33 PM
Having trouble finding the right driver... balance Slackware 3 02-28-2004 01:56 AM
Trouble finding the groups Daredevil Linux - Newbie 1 02-27-2004 11:26 AM
Trouble finding more librarys mindstormsguy Linux - Software 4 10-19-2003 10:44 AM

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

All times are GMT -5. The time now is 05:01 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