UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
Hello,
I'm a Slackware user, but I installed Ubuntu on my father's netbook and he's been using it fairly happily for the last year or so.
He's currently on vacation and says he "gets an error message" when he tries to boot into Ubuntu. It turns out that the message is just the command prompt:
Code:
$USER@$COMPUTER $
There is nothing else on screen and let's assume he didn't or can't catch the messages during booting, and let's assume he "changed nothing" which caused it to break. And he's probably running whatever version of Ubuntu came out "about a year ago".
I figure I could probably muddle my way through and fix it ... if I had the computer in front of me.
I've asked if he's booting into a recovery mode (Ubuntu has that as a boot option, right?), but I doubt he's making that simple of a mistake.
Coming from a Slackware background and only slightly familiar with Ubuntu my first thought was to get him to try:
Code:
sudo init 4
and see what happens, but it'll get tedious quickly to get him to try things and then have him transcribe the error messages by hand into another computer just to email it back to me. I'm looking for any suggestions on how to proceed.
"init 4" will not help, as Ubuntu will not use runlevels (but of course it can be configured). You should check /var/log/Xorg.0.log for errors after trying to start "service gdm start".
I suspect that you need to recompile video drivers. If you used proprietary then just download and run installer as root in the console. But it can be anything, you need to check log, also /var/log/syslog.
"init 4" will not help, as Ubuntu will not use runlevels (but of course it can be configured). You should check /var/log/Xorg.0.log for errors after trying to start "service gdm start".
I suspect that you need to recompile video drivers. If you used proprietary then just download and run installer as root in the console. But it can be anything, you need to check log, also /var/log/syslog.
Right, so init won't get me anywhere on Ubuntu... If I had the computer myself, I'd be going through the logs, but I'm not going to get him to do that. I just want a few things for him to try, to see if we can get it going. I assume you'll need a sudo in front of any service commands, right?
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Very probably. I don't think that's ever worked for me though -- I don't seem to have permission to do so.
Edit: When running Ubuntu and Debian whenever I've been dropped into the shell on startup the way I've started X is by sudoing it as it doesn't work without.
I know it's different but I tried to run:
startx -- :1 vt8
Just now and the result was:
X: user not authorized to run the X server, aborting.
Ok, finally heard back with the attached jpg, but as you can see the grep command was typed incorrectly so not much to go on. Could a full disk or /tmp partition be behind this I wonder?
1. startx will not work without root privilages. Anyway, in Ubuntu to start X with normal login window, is command...
Interesting (from a Slackware perspective). I only use X by running startx as user.
Quote:
Originally Posted by eSelix
2. IO Error relates to X, so I don't think it has something common with disk, but this cannot be excluded, so check
Code:
df -h
3. Log is necessary, do it again
Code:
grep -C 5 EE /var/log/Xorg.0.log
Yes I'm waiting for the results of the commands typed correctly. I thought of the disk space problem since I've seen X perform very strangely when it can't write to /tmp.
I think in the end, I will probably end up fixing this when he has returned and I have it my own hands!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.