Hi all,
I have a virtual machine running Tumbleweed.
Some time ago (one year or more) I remember that I wanted to avoid that machine to boot into graphical mode.
However, apparently I did not change the default runlevel, but instead I did something else.
The machine is booting to a text-mode black screen with no login.
I can easily access the machine through SSH, which was the intended behavior, since I only needed remote access to the CLI.
Now I need that machine to boot normally again, but I cannot remember what I changed to make it behave this way.
I have tried looking in various forums/wikis, but I cannot find any suggestion that actually matches what I see on that machine.
So I’m asking for help here: if you have an idea of how I could have done it, could you please share it with me?
On 10/17/2016 04:56 AM, keellambert wrote:
>
> was a 5 added to the grub command line?
>
>
You need to set the default mode (runlevel no longer applies) using
systemctrl commands. I’ve never needed to change it but I know that many
on this forum do.
–
Ken
linux since 1994
S.u.S.E./openSUSE since 1996
Hi keellambert, kensch and Knurpht,
and thank you for your replies!
No, that’s not the case.
BTW, wouldn’t that leave me with a text-mode login prompt at boot? I do not have a login prompt, I have simply a black screen.
Kensch, I am not asking how to do this. You probably missed that in my original post.
Knurpht, good call! But unfortunately that’s not the case (i.e. the link is intact).
Thank you for all your suggestions!
I hope that someone else will come up with other suggestions too!
[QUOTE=Cris70;2796481]Hi hcvv!
Maybe my title was not clear enough,
You forgot that your title is the main point to draw the attention of the people that are most likely able to help you.
After reading your title many people will not even open your thread because they feel not entitled to “read minds” and tell you what you did somewhere in the undefined past.
There is another thread (in Chitchat) where several of the more active members here (and they are those that give good advice imho) explain that time contraints make them skip threads with uninteresting (read having subjects they feel they have not enough ot no knowledge) or vague titles.
[QUOTE=Cris70;2796481]but my description - as you can see - was mirroring this.
Cris
And what makes you conclude that it is “text mode” and not simply black? Can you type there?
Henk, I perfectly understand this but I fail to see how adding this bit of information in the title (i.e. that the system is not showing a login screen) could possibly make them feel they can read in my mind.
If they chose to skip it, so be it. I can certainly accept it and not be offended by their behavior.
If I could find a better wording to attract people to my thread I would have used it, but you should also remember english is not my first language.
This forum is not configured to let the OP change the title of the thread (I may be wrong, but if there’s a way it is well hidden) so I cannot fix it now.
Because there is a cursor blinking, and that makes me think it is in text mode. I did not try to type.
Henk, I understand you’re the moderator here, but - if I may - let me say you’re getting through quite rudely, and I really fail to see where I’m deserving this.
Anyway, sorry if I’m breaking some kind of rule I failed to learn. Feel free to educate me via PM.
Can you ssh into the machine? Or, add a “1” as a boot parameter in GRUB? The latter would boot the machine in single-user mode, if that works, reboot, try the same with “3” instead of “1”. Hit Esc during boot to see the messages.
maybe you did something to the /etc/X11/xorg.conf file, if it exists renaming it might fix things
or you did something in /etc/X11/xorg.conf.d/
or did something in /etc/X11/xinit
what was your default login manager text mode
Yes, I can SSH into the machine without problems, and everything is working as expected.
There is nothing - apparently - wrong with that machine, apart from the fact that it does not show the text-mode login during boot.
If I hit ESC during boot I can see that it thinks it has got to the Graphical Interface target, but the screen remain black with a blinking white text cursor in the upper left corner.
There’s no indication of an error in the boot messages. But I wouldn’t be expecting it, because as I said this was a deliberate move… it’s just that I don’t remember how I did it!
I tried booting into mode ‘1’ and into mode ‘3’ and both worked without problems, giving me the text mode login prompt.
I do not see signs of alteration in those directories, apart from the fact that the xorg.conf file has already been renamed to xorg.conf.install.
Is this normal?
Another thing is that there is a 00-keyboard.conf.backup file, but I do not think that altering the 00-keyboard.conf file could determine the inability to reach the login prompt. Moreover, the two files are identical.
Oh, this behaviour? Well, I think that it is not you that had changed something, it is Tumbleweed.
I experience the very same behaviour in my tests for direct upgrades from 13.2(fresh install) -> 42.2 and 42.1(fresh install) -> 42.2.
However I have a way to determine if you have fumbled with your settings:
if you are not on production system and have a possibility to change just one setting at /etc/sysconfig/displaymanager, change the DISPLAYMANAGER=“lightdm” to DISPLAYMANAGER=“xdm” and restart the system.
If you get that ugly, old-fashioned but always working graphic login screen, you have done nothing wrong with your settings, it is Tumbleweed in some of its continuous upgrades.
In addition this will confirm that you have the same problem as I do with Leap, prove my suspicions about blank screen with blinking cursor misbehavior root causes, and prove the two workarounds for it