LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-21-2004, 03:59 PM   #1
nepcw
Member
 
Registered: Mar 2004
Posts: 81

Rep: Reputation: 15
problems with x


super newbie here. I have searched the forums but have found what i was looking for, although it is probly here somewhere. but anyways.
I just installed Debian for the first time and it went fine. when i try to run startx from the root i get the following error:
# startx

/usr/X11R6/lib/X11/xinit/xserverrc: /usr/bin/X11/X: No such file or directory
/usr/X11R6/lib/X11/xinit/xserverrc: exec: /usr/bin/X11/X: cannot execute: No such file or directory
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.

Now if i restart the server it says it had trouble starting x and it shows me a blank error window and it fails.
Im not sure what im doing wrong. I opened the xf86config file and set it up but still no luck, any help?
 
Old 03-21-2004, 04:19 PM   #2
kobs
Member
 
Registered: Mar 2004
Location: 127.0.0.1
Distribution: FreeBSD 5.3-STABLE, Slackware 10-CURRENT, Debian Sarge
Posts: 51

Rep: Reputation: 15
You need to configure X...type

xf86config as root

then after you configured it type
xwmconfig

Last edited by kobs; 03-21-2004 at 04:20 PM.
 
Old 03-21-2004, 04:25 PM   #3
nepcw
Member
 
Registered: Mar 2004
Posts: 81

Original Poster
Rep: Reputation: 15
where do i type that? after i save it?
 
Old 03-21-2004, 04:30 PM   #4
nepcw
Member
 
Registered: Mar 2004
Posts: 81

Original Poster
Rep: Reputation: 15
now im getting error:
I am going to write the XF86Config file now. Make sure you don't accidently
overwrite a previously configured one.

Shall I write it to /etc/X11/XF86Config?

Please answer the following question with either 'y' or 'n'.
Shall I write it to the default location, /usr/X11R6/etc/X11/XF86Config? y

Failed to open filename for writing.
 
Old 03-21-2004, 05:50 PM   #5
nepcw
Member
 
Registered: Mar 2004
Posts: 81

Original Poster
Rep: Reputation: 15
bump
 
Old 03-21-2004, 11:42 PM   #6
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
OK, make sure you have everything installed...

apt-get install x-window-system xserver-xfree86 gdm

add kde / gnome to that list depending on preference.

Then the best method is to auto-generate your config. Do so like this

X -configure :0

This will write a file to /root/XF86Config.new, which will only require minor tweaking to get to work. There are instructions printed on screen on how to test it.
 
Old 03-22-2004, 02:21 AM   #7
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
I have the exact same problem, and runningn xf86config will not solve it, it does all the configuration properly with no error messages, but will still get the same error when i try to run the X server

xwmconfig is not recognized as a command.

This is a /bump more than anything.

[edit]

nepcw:

in order to run xf86config with no error messages writting the config file, you need to do it as 'root'

Last edited by Qucho; 03-22-2004 at 02:24 AM.
 
Old 03-22-2004, 09:39 AM   #8
nepcw
Member
 
Registered: Mar 2004
Posts: 81

Original Poster
Rep: Reputation: 15
yeah i was su to root when i did it.
 
Old 03-22-2004, 11:14 AM   #9
nepcw
Member
 
Registered: Mar 2004
Posts: 81

Original Poster
Rep: Reputation: 15
ok i ran that package and it seem to make a difference. Im connected remotely to the machine now through ssh and when i run startx i get :

Fatal server error:
no screens found

Now is it possible to run the gui remotely? or is this the error you get when you do this. I have read around and it appears that you can run it remotely but im not sure.
Or is it just a config error?
The video is onboard on this machine. Just got the machine as a freebee , not sure the MB model yet. Any ideas?
 
Old 03-22-2004, 11:15 AM   #10
nepcw
Member
 
Registered: Mar 2004
Posts: 81

Original Poster
Rep: Reputation: 15
i dont know if this will help , but this is the last part in the string:
(EE) VESA(0): No matching modes
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.
 
Old 03-22-2004, 02:23 PM   #11
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
Connecting remotely requires additional setup, and, as far as I know, you need to be connecting from a machine running X. It can then connect to the other machine instead, but run the GUI there. Unfortunately, I've no idea how to set that up :-/

It looks, from the above errors, like you're trying to run at too high a resolution / refresh rate. This could just be because you're trying to connect remotely though.
 
Old 03-22-2004, 03:03 PM   #12
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
You may have checked this already, but just in case:

When XF86Free went to v4.0 it dropped XF86Config as the config file, and started to use XF86Config-4. So you really should be editing XF86Config-4, not XF86Config.

That's a pretty obvious one, so I doubt if it's of use, but it was useful to me, in at time.
 
Old 03-23-2004, 11:22 AM   #13
nepcw
Member
 
Registered: Mar 2004
Posts: 81

Original Poster
Rep: Reputation: 15
i ran the x -configure :0 and it looked fine,after i do that it tells me "To test the server, run 'XFree86 -xf86config /root/XF86Config.new' "
When i do that it goes to a black screen and my machine locks, no way to get out of it?? any ideas?
 
Old 03-23-2004, 01:01 PM   #14
kobs
Member
 
Registered: Mar 2004
Location: 127.0.0.1
Distribution: FreeBSD 5.3-STABLE, Slackware 10-CURRENT, Debian Sarge
Posts: 51

Rep: Reputation: 15
ctrl + alt + backspace
 
Old 03-23-2004, 01:07 PM   #15
nepcw
Member
 
Registered: Mar 2004
Posts: 81

Original Poster
Rep: Reputation: 15
what is causing this?
 
  


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
Ethernet Adsl Modem Driver Problems And Install Problems... akhilnair Linux - Hardware 12 11-28-2004 08:19 AM
cisco 350 wireless problems and suse x-server problems incognito9 Linux - Wireless Networking 5 10-14-2004 07:53 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 01:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM


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