-
-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues on automatic install (i2c, start up, desktop, ...) #3159
Comments
@Gokujo
Why you needed to use v6.21? Please always use the current most current image, which is currently v6.25.3. If anything goes wrong with this, we'll going to investigate, but I don't gonna check first boot issues with older versions if there is a newer image available, please understand that. What is probably the issue in your case, is that you used the current |
because of issues. I had configs for that version and an image
I noticed that. it were a lot of config text so I didn't copied old config here. the new one was made extra for the actual version |
Please report the issues you faced with the current version then, that is more productive then investing time in outdated versions that are not relevant/present on current version anymore 😉. |
|
Jep this is expected. When doing automated first run installs, the license agreement is skipped and delayed until the first login. I see now that you enabled desktop auto login and of course it is not 100% automatic then on very first login because of agreement. However a desktop login most likely is for interactive use anyway? Or did you setup some automation that starts something from the desktop on login so that you don't need a keyboard anymore?
Do you login as root or with another user? Will try to replicate. In case of custom user it is expected, however not great, indeed. Perhaps we can automatically create desktop items for non-root users that are chosen for auto login.
Please paste either some picture of the screen, or if boot finally succeeds, paste the related syslog entries:
Jep that is hidden now if the device does not even have an RTC connector: https://github.com/MichaIng/DietPi/blob/dev/dietpi/dietpi-config#L1310
Did you verify that
Note that the current image is as well the most current stable version. So there is no update available, hence non applied on first boot 😉. As well note that
Jep known Debian bug, workaround implemented with v6.26. Please run |
it's the point, I just insert a burned imaged and let it install. then with help of git I install my app
as root
yes, this file have data for connection. after install I have to activate wifi module
if you do this how can I get the information what changed in dietpi.txt, config.txt and dietpi-wifi.txt? |
journalctl you can find here |
But this is from an old image, isn't it? Because the new image does not come with plymouth pre-installed as it is known to cause strange boot hangs and "wait for..." messages for some reason. Or did you manually install and enable plymouth splash screen?
Both, Ethernet and WiFi are enabled. Without having a manual created routing table (or having WiFi Hotspot installed, which creates a routing table as well), this is known to cause issues since the system does not know to which device to send network requests. If you want to use WiFi for www access, please disable Ethernet. Before first boot, this would be:
However WiFi connection seems to establish successfully:
I see you installed "ntp" for network time sync. Did you change time sync mode in dietpi-config to "Custom"? Otherwise it will wait for 2 minutes (changed to 1 minute with v6.26) for systemd-timesyncd to complete, which fails due to ntpd doing the job. And please only install ntp if your are absolutely sure that you require it. In 95% of all cases it is simply an overkill of time precision and therefore unnecessary overhead for the system.
So please check your ntpd config as well. XRDP is btw known to have issues on Stretch. Another reason to use the new image, which is based on Raspbian Buster. However with v6.26 we work around the known XRDP issues by installing the packages from backports: And about your I2C issues, I bet it is due to serial consoles being enabled. Please go to dietpi-config > Advanced Options > Serial/UART and disable all serial consoles and the ttyS0 device as well. Btw I verified the missing desktop icons on MATE desktop, when you login as root. When logging in via different user via lightdm, it works. This is a known security "feature", since on MATE, the caja window manager is responsible to show desktop icons and has some security vulnerabilities why it should not do that with root permissions. On other desktops, the icons and desktop context menu and such are separate from window manager, if I understood correctly, hence it is no issue there: mate-desktop/caja#871 I successfully enabled desktop icons+feature by this:
However I will not implement this for now due to the security aspects. We should keep this as known limitation with MATE and instead allow easier setup and enhanced default experience for non-root user login on desktop. Btw |
I opened a separate issue about missing MATE desktop icons + context menu: #3160
Deprecated, changed or added entries will be removed/adjusted/added automatically on |
yes it was an update from old version to new one, because the new one had issues with mate desktop
yes, because I activated module in dietpi-config. I will disable lan.
yes I had issues with wrong time. RPi ntp was modified to local server. ntp.conf. I tried to change in dietpi-config but it didn't helped
I will remove it from auto install. I had problems to connect through VNC without this.
If its the case, so I will change to user
It would be great |
Yeah as said, old images contain reasonably more issues then newer ones, especially since software installs require constant updates to keep up with new upstream versions, repo changes or if whole download infrastructures change. So please always use the most current image and in case report issues you face with them, instead of with old images.
You setup multiple servers now with multiple directives. If you want to use a single local server, try to remove all the Note that
Please try it after updating to v6.26 or using a fresh image (which is updated on first boot), since we made some rework of the VNC install code. This mostly affected TigerVNC, but RealVNC at least partly as well. XRDP should work very well now (with v6.26), as well on Stretch images, however slow compared to VNC 😉. |
I'm sorry. I am working on my project for exam. Only after 11.11. I can test new image. I didn't had time even to inform. |
@Gokujo |
Journal |
@Gokujo I adjusted RPi firstboot behaviour a bid according this to have obsolete serial TTYs disabled automatically. New images are done after v6.27 release. |
Hi, |
@Gokujo
|
Thanks, I close this issue! It works fine now! |
Required Information
Linux JAS-TT 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
Additional Information (if applicable)
I use automatic install and config on first start up. Therefore I used version 6.21. So I had to rollback.
This is the dietpi.txt
Issues
I tried to switch raspberries, sd cards and disable some options during autoinstall
The text was updated successfully, but these errors were encountered: