Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new (just installed yesterday) and was able to boot to GNOME and explore..however, my middle scroll mouse button wasn't scrolling so, within the GUI, I changed the mouse driver. I rebooted, now it goes directly to CLI and when I try startx it says that Mouse0: cannot open input device
PreInit failed for input device "Mouse0"
Up top it says (==)Using confi file: "/etc/X11/XF86Config-4"
I tried using xf86config and went through picking a bunch of video/mouse/keyboard settings. When done it said it was saving as XF86Config...nothing wasdone to XF86Config-4
Any ideas on why I can't get startx to run?
Please be descriptive in responses as I am not familiar with cli commands nor VI....
Help us in assisting you, which distro are you using?
As for the files changed by using xf86config - you
could always just copy the original XF86Config-4 to
a backup file, and copy the newly created XF86Config
to XF86Config-4 ...
Tink...thanks SO much for the reply. Again, I am new..so when you talk about renaming..PLEASE (sorry) could you tell me the commands to do that? (trust me..I am trying to learn)
update..I did a 'mv /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.old' but when I tried startx it said that it was using config file "/etc/X11/XF86Config" but that No devices were found.
If you're not too sure you know what you're
doing when you're using xf86config I'd suggest
giving XFree86 -configure a go to get X up and
running again. Just do that as root and follow
the steps it mentions. If it detects most settings
properly adding scroll-wheel-support manually
usually is a breeze.
Tink...thanks for all this help..I am trying and trying to figure this out.
I am using a USB mouse microsoft 3 button, Optical mouse blue.
The trick is..that I was working just fine in GNOME..until I went into a system setting (graphically) and changed a mouse setting..when I rebooted, I am stuck.
As to dist...how can I tell? I am using red hat 7.3 (I am EXTREMELY sorry..I am very new at this) I'm 32 and trying to self learn this as I am taking a network security college class that uses only linux..so Iam trying to learn.
I did try to rm all XF86Config files and start from scratch...but I keep getting this blasted error.
Tink..thanks bud..if ya lived anywhere close to KS City...I'd be running a check over to your house!!
-Rob
just thought i'd add this (as I am figuring a bit more out)
When I do a dir on dev, I don't see just a /dev/mouse, I do see:
/dev/mouse -> input/mice
what does that mean? Could that be it?
You could try to post your XF86Config here
if it's not too big. Can you check which version
of X RH 7.3 is using so I get a better idea of
what needs doing?
/dev/input/mice is normal for USB devices,
you could try to run xf86config again, if
there's a symlink from /dev/mouse to the
/dev/input/mice it should be safe to tell
xf86config that /dev/mouse is the device,
the type of mouse would be IMPS/2.
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
No such device.
(EE) Mouse0: cannotopen input device
(EE) PreInit failed for input device "Mouse0"
No core pointer
Fatal server error:
failed to initialize core devices.
As to what I am doing...I have this class I am taking in college and it requires the use of LInux. I didn't want to get rid of my XP...or mess with partitioning, so a friend turned me on to VMware..which works great.....my only problem is this...all because I messed around in Gnome. I am really not sure what is going on...I think we might be close.
yes..it kept telling me that it couldn't find mouse when done.
Here's the thing though...I think it is working..but video is messed up. It keeps wanting to boot into GUI...how can I change to go back to CLI so I can run the config to change video functions?
You have NO idea how much I appreciate your help!
Rob
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.