I installed OpenSUSE with the minimal X setup. It boots to what I think is xdm. How can I change it to automatically login and start x? By the way, I am using i3 window manager.
Yast>Users and security; select a user, Edit and check Disable login. This of course has major security issues.
I found it, but when I try to press ‘i’ to disable it, nothing happens. I can’t select the other options either.
I just found out you have to use Alt + i. Thanks!
This did not disable me having to login, but actually prevented me from logging in as that user. What are you trying to do? Is it a stupid request to want to have my computer automatically turn on?
On 2015-07-18 02:06, spooky655 wrote:
>
> This did not disable me having to login, but actually prevented me from
> logging in as that user. What are you trying to do? Is it a stupid
> request to want to have my computer automatically turn on?
grep -i autologin /etc/sysconfig/displaymanager
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Minas Tirith))
I changed that to my username, but when i rebooted, it didn’t auto-login. Any idea why?
What desktop and which dm??
Don’t guess.
As he tried to explain, he installed “minimal X”. Thus no desktop at all I guess. He assumes xdm is running.
Please spooky655, get irritated Your set-up is not much used and your explanation about what you expect to happen is not very elaborate. Thus people may misunderstand you. In any case they will not have much experience with this (they may know how to do automatic login at boot with KDE aand/or Gnome though).
With a desktop you can have auto login but with terminal only services I don’t think you can. So it is truly confusing on exactly what the OP is running. If NO GUI then you wont be running any of the DM’s, things go straight to terminal mode (init 3) and there there is no auto-login. Auto-login is part of the GUI packages and I’m not sure all support it Gnome and KDE yes others maybe.
Minimal X is not the same as No X. It “normaly” runs at runlevel 5 and has then a display manager running (the OP guesses xdm, which could be correct and that is of course easy to check).
So you can log in and then use an X session. The OP says, he then uses i3 window manager. I have no idea what it is and/or provides. But I guess it is minimal. Not that that is important. Important is if the display manager (xdm, when that is true) can be configured to do an automatic login of some user.
Thus we first must be sure if it is xdm (or another) and then look in it’s documentation.
Apologies; I should have said Expert settings>Login settings>Auto login. I knew is was somewhere but mistook where it was.
XDM doesn’t support auto login AFAIK.
Install a different DM and use that (set the DISPLAYMANAGER variable in /etc/sysconfig/displaymanager accordingly).
There’s a lot to choose from, probably lightdm or lxdm would suit you best.
Btw, it actually is possible to configure auto login for text mode too, but it’s not straight-forward, i.e. there’s no switch in YaST…
Curious,
I fired up a Minimal X openSUSE and found that it doesn’t support auto-login.
And, it still has shutdown problems that I reported many versions of openSUSE ago.
So, “Minimal X” has its value as an emergency Desktop but very unfinished with features that don’t work.
I’ve been using LXDE as my minimal Desktop and been very happy with it.
It looks like LXDE will be getting a QT make-over soon(AFAIK available simply by adding an LXDE repo and doing a “zypper up”) which will increase its file system footprint, with unknown memory consequences. Currently, it’s very light on resources (I’ve run it on as little as 1GB RAM but typically give it 2GB so I can run some decent apps. If workload is very heavy, I bump it higher. It also has a minimal KDE-like feel.
XFCE is another lightweight Desktop which is currently a smidgen heavier than LXDE with a Gnome like feel.
Both LXDE and XFCE should be polished and support auto-login.
TSU
As I wrote.
It looks like LXDE will be getting a QT make-over soon(AFAIK available simply by adding an LXDE repo and doing a “zypper up”) which will increase its file system footprint, with unknown memory consequences. Currently, it’s very light on resources (I’ve run it on as little as 1GB RAM but typically give it 2GB so I can run some decent apps. If workload is very heavy, I bump it higher. It also has a minimal KDE-like feel.
Yeah. LXQT does exist for quite a while now, and according to the LXDE developers, it even has less footprint than LXDE ever had.
And that’s not really surprising, since Qt5 got split up into small components, whereas GTK still is a huge monolithic library.
LXQT even uses some libraries from KDE Frameworks 5, because it is smaller, and you only load what you need…