Find the answer to your Linux question:
Results 1 to 2 of 2
I'm a newbie to linux, and i choosed Mandrake to try out. I type startx and it did'nt work, so I changed to root and typed xf86config But then the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    1

    I need help!


    I'm a newbie to linux, and i choosed Mandrake to try out.
    I type startx and it did'nt work, so I changed to root and typed xf86config
    But then the prompt ask me if i want to write it to
    etc/x11/xorg.conf
    I select yes and it keeps on ending up with a
    Failed to open filename for writing.
    Darn, linux is harder than i think

  2. #2
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    Thunderzap,
    I know that what you're going through is really annoying but stick with it.

    What I suggest that you try is
    1. Logon as the root user
    2. Enter
    Code:
    cd /etc/X11
    and please remember that Linux, like all Unixs, is case sensitive, so pay attention the the lower and upper case letters in these commands.
    3. Enter
    Code:
    pwd
    this should show you that you have successfully changed direct (cd) or folder (if you prefer) to the /etc/X11 folder/directory (proved by printing working directory - pwd)
    4. Enter
    Code:
    ls x* -alF
    this will list (ls) all files starting with an "x" and ending with anything, and it will give you a full description of these files (the "-alF" bit).
    5. See is you have a file called xorg.conf? If yes, does it have any size (ie. is it zero bytes big or some acceptable size)? If it is, then enter
    Code:
    cat xorg.conf | more
    which will show you the innards of this text file, piping (the "|" character) the output of this display through something called "more" , well, I'll let you guess what more does.

    Now, if that all hase worked, I suggest that you now retry your xf86config and this time make sure that it asks you save /etc/X11/xorg.conf and not /etc/x11/xorg.conf, as the later folder (/etc/x11) doesn't, in all likelyhood, exist (but /etc/X11 does).

    have fun

    Nerderello

    ps.if you still have problems starting X, try having a look at the message log to see if that can help (tail --lines 45 /var/log/messages)

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •