Computer ForumsComputers  

Go Back   Computer Forums > PC Technology Zone > Linux, BSD, other *nixes & Open Source Software

Reply
 
LinkBack Thread Tools Display Modes
Old 10-18-2006, 07:01 PM   #1 (permalink)
Monster Techie
 
Join Date: Dec 2004
Posts: 1,149
Default No screens found?!

Fresh install of Debian 3.1r2, and when i get to the console login, i login as my user (not root, for clarification), type "startx" and it comes up with the error "No screens found." I've done some reading about it, but can't find any answers that i can do without help (ie. answers came up like "post x.xxx log").
__________________
Snake-Eyes is offline   Reply With Quote
Old 10-18-2006, 07:19 PM   #2 (permalink)
Super Techie
 
Join Date: Jul 2004
Posts: 398
Default

post your xorg.conf file. it's found in /etc/X11/xorg.conf.

That's assuming you installed X server.
__________________

kostas is offline   Reply With Quote
Old 10-18-2006, 07:27 PM   #3 (permalink)
Monster Techie
 
Join Date: Dec 2004
Posts: 1,149
Default

I don't know how to do that. I explained that in the last sentence or two of my post. I'll try brute-forcing my way to viewing said file.


Edit: I'm 90% sure i installed X server. Either way, i tried "dir /etc/X11" and it did not list xorg.conf file. I typed "/etc/X11/xorg.conf" and it said "-bash: /etc/X11/xorg.conf: No such file or directory.
__________________
Snake-Eyes is offline   Reply With Quote
Old 10-18-2006, 08:23 PM   #4 (permalink)
Banned
 
Join Date: Sep 2005
Posts: 5,170
Default

Code:
su

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

dpkg-reconfigure xserver-xorg
Choose the VESA driver instead of the NV driver.

Code:
/etc/init.d/gdm start

You have to open those text files with a text editor, that is why it is not working. I like vim or vi, so
Code:
vim /etc/X11/xorg.conf
will open the file for you.
The General is offline   Reply With Quote
Old 10-18-2006, 08:29 PM   #5 (permalink)
Ultra Techie
 
Join Date: May 2005
Location: Townsville, QLD
Posts: 624
Default

Ok, are you root when you try to access the file, you need to be, what distro are you using, what file editor do you use (eg gedit)

this is how you get into the Xorg: sudo gedit /etc/X11/xorg.conf

if not in Ubuntu just type su as oppose to sudo and & if you don't use gedit try another file editor like Vim.


or just go to the Run feature in your menu and type /etc/X11/xorg.conf that will open the folder then click the icon called Xorg.conf

hope this Helps,

Jake

EDIT: reply posted whilst typing
jakec is offline   Reply With Quote
Old 10-18-2006, 08:39 PM   #6 (permalink)
Banned
 
Join Date: Sep 2005
Posts: 5,170
Default

^ That sudo stuff doesn't work in Debian, and you don't have to be root to read the files. So just su and type the root password.
The General is offline   Reply With Quote
Old 10-18-2006, 08:51 PM   #7 (permalink)
Monster Techie
 
Join Date: Dec 2004
Posts: 1,149
Default

Jake, for clarification, i'm using the latest (i believe. It's 3.1 r2) version of Debian, and i am unable to get into the GUI. Stuck at the shell log in.

General, i'll try that out and get back to you in a few.
__________________
Snake-Eyes is offline   Reply With Quote
Old 10-18-2006, 08:57 PM   #8 (permalink)
Banned
 
Join Date: Sep 2005
Posts: 5,170
Default

If you are using sarge, you will get frustrated with how old it seems, I recommend that you upgrade to etch, but do that once you have everything working.
The General is offline   Reply With Quote
Old 10-18-2006, 09:02 PM   #9 (permalink)
Monster Techie
 
Join Date: Dec 2004
Posts: 1,149
Default

After entering su and apt-get, i punch in dpkg-reconfigure, and get this;
Quote:
Package 'xserver-xorg' is not installed and no info is available. Use dpkg --info (=dpkg-deb --info) to examine archive files, and dpkg --contents (=dpkg-deb --contents) to list their contents. /usr/sbin/dpkg-reconfigure: xserver-xorg is not installed.
Everything up to this point worked.

Edit: For reference,
Code:
vim /etc/X11/xorg.conf
produced nothing. A screen came up with a bunch of tildas (~) which, i assume from messing around, mean absolutely nothing.

Also,
Code:
gedit /etc/X11/xorg.conf
gave me
Quote:
(gedit:2379): Gtk-WARNING **: cannot open display:
I take it xorg.conf is not a valid file?
__________________
Snake-Eyes is offline   Reply With Quote
Old 10-18-2006, 09:32 PM   #10 (permalink)
Super Techie
 
Join Date: Jul 2004
Posts: 398
Default

you can't use gedit which is a GNOME application if you don't have a gui
. use nano instead
__________________

kostas is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:30 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0