Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

not going to x windows

Status
Not open for further replies.

canobe

Technical User
Jan 18, 2003
86
MY
i just installed red hat linus 7.2 in my system with multiboot. i created three partition for linux that is i)/root ii)/boot and iii)swap. i managed to installed the linux but when i log in to an user account or a root account, and type 'startx' nothing happen here. and i suppose that the x windows should appear. and after somewhile its prompt that 'can't connect to the server and something something........' i can't remember well the message. so wat is wrong with that? am i doing something wrong during the installation? what i installed is both kde and gnome environment. any help?
 
I don't know how you managed to get a text based login as RH usually defaults to a graphical login.

Try changing your init level to 5, and see what happens. Boot up, login as root, type:
vi /etc/inittab

Scroll down a little and look for a line that looks like: id:3:initdefault

Place the cursor over the 3 press 'r' on the keyboard, then press '5'. Hit Escape to get out of 'replace mode', then press &quot;shift + :&quot; then type 'wq' and hit <enter> to save the file. Type 'reboot' or 'shutdown -r now' and reboot and see if you get a graphical login.

 
Or type, as root, 'telinit 5'. Should get you where you want. AP81 is right about defaulting to a GUI login though. You may not have your X server set up correctly yet. Look in /var/log for a file named 'XFree86<something>'. Scroll through it with 'less <logfilename>' looking for a fatal error of some sort. May be a 'cant open default font &quot;fixed&quot;' thing. Usually that is fixed by checking /etc/X11/XF86Config and making sure the &quot;FontPath&quot; line has all valid paths and hold your fonts. I think most distros use 'xfs' these days, so it probably looks like this:
Code:
Section &quot;Files&quot;
  FontPath &quot;unix/:-1&quot;
EndSection
Just make sure 'xfs' is started (probably /etc/rc.d/init.d/xfs start will do it).

Ok, that was long-winded. Sorry. May not have anything at all to do with your problem. Just feeling talkative this morning ;-)

--
JR
 
this is the exeact error message i get:-
1st line: &quot;execue failed for etc/x11/x (error no2).
2nd line: &quot;giving up.&quot;
3td line: &quot;xinit: no such file or directory (error no2):unable to connect to X server&quot;
4th line: &quot;Xinit:no sushc process(error3:server error)&quot;

and i tried to change the GUi login as AP81 mention but i get this message error:-&quot;bash:vi/etc/inittab:no such file or directory&quot;.and tried the 'telinite 5' its lots something and everyhting seems ok but for the 'Starting wine' = failed

so what is going wrong here? and i dont know anything about linux. just that i simply install and leanr about it.



 
Starting wine? Dunno why it'd be doing that. But that doesn't seem to be the problem. You're missing the file /etc/X11/X, which, on my Mandrake box, is a symlink to /usr/X11R6/bin/XFree86. This symlink was created by XFdrake for me. On your Redhat box, try &quot;Xconfigurator&quot;. Set up the xserver (tell it the kind of video card you have, resolution you want, color depth, monitor frequencies) and you should be ok.


--
JR
 
yes..during the installation i just skip the video card configuration because all the video card is not in the list, so what i do is just skip the step. this may be the problem?
 
um yes... skipping the x configuration is the problem, if your video driver isnt listed you may need to just install a generic vga driver until you can download the correct one.

&quot;Did you ever wish a circle was a square, so when land sharks start circling the boarders you can just cut them off at the corners?&quot; - Aesop Rock
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top