Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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 though I'd have a go at running Slack through a GUI for the first time. Basically I did a full install of Slack from the CDs, with one user 'root' with a password of 'password'. However when I login with those detail I get some quotation or saying coming up on the screen and then it dumps me back to the login prompt. All this within bash. I don't get a chance to type anything else.
Has anyone else had this problem or knows how to fix it?
I don't understand, if you see a quote (small joke or whatever - a prog called "fortune" does this), then you should be logged in; are you saying that you have no way of logging in???
It shouldn't dump you to a login prompt, it should show the quote and then dump you to a command line. That's where you type your commands - i.e. xorgconf (to set up x) or startx (to start the gui).
As to fixing your problem, I don't know - I just wanted to clarify that what the previous poster said was technically incorrect.
No luck I'm afraid. I've tried tty1-6 and the same thing happens. I also tried using startx at the login prompt but it just thinks it's a username. The only strange thing I can think about the setup is that my LILO is in the MBR, but that's how I've always done it when I've worked in bash.
The only other way that I can think of to log in is remotely, via ssh. I don't suppose you have a network running on the box? Otherwise it looks like a broken install - did you add a user called "root", or did you do a standard install without any extra accounts? If you did try to add a user called "root" then the native root account may be broken.
I know this is a really old thread, but it was one of the first that I found when I had the same sort of problem, so I figured I'd post a solution here just in case.
I had the same problem (on the SlAMD64 port, but this is pretty generic), I'd type my username and password at the login prompt, and it would just spit me back to the login prompt. The problem was in the bash startup scripts. When bash is first called, it runs the system-wide start-up scripts, /etc/profile and /etc/bashrc (if they exist). /etc/profile also runs /etc/profile.d/*.sh. It was one of these scripts that was killing my shell, which would end up dumping me back to the login prompt. I figured this out by adding a line to /etc/profile that printed each of the scripts that it sourced, and making note of which was the last one to execute.
On my system it was the qt.sh script. If the script was unable to find the qt installation, it would kill my shell. So, I had to modify it to look in the right place for qt, and problem solved!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.