Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: I need help!

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #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
    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
    North East England
    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
    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
    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
    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
    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


    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