Ubuntu noob here,
Was messing around with permissions and external disk mounting options and I think I made a mistake with the permissions. Now I can't install updates and the gnome-desktop won't start. I've tried rebooting to no avail.
I couldn't figure out how to make this display properly here so apologies, let me know if there's a better way.
jellyadmin@jellyfin-drake:~$ systemctl start gdm.service==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===Authentication is required to start 'gdm.service'.Authenticating as: jellyadminPassword: ==== AUTHENTICATION COMPLETE ===Job for gdm.service failed because the control process exited with error code.See "systemctl status gdm.service" and "journalctl -xeu gdm.service" for details.jellyadmin@jellyfin-drake:~$ systemctl status gdm.service× gdm.service - GNOME Display Manager Loaded: loaded (/lib/systemd/system/gdm.service; static) Active: failed (Result: exit-code) since Tue 2024-06-11 14:32:31 EDT; 18s ago Process: 4615 ExecStartPre=/usr/share/gdm/generate-config (code=exited, status=1/FAILURE) CPU: 7msJun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Scheduled restart job, restart counter is at 5.Jun 11 14:32:31 jellyfin-drake systemd[1]: Stopped GNOME Display Manager.Jun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Start request repeated too quickly.Jun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Failed with result 'exit-code'.Jun 11 14:32:31 jellyfin-drake systemd[1]: Failed to start GNOME Display Manager.Jun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Triggering OnFailure= dependencies.jellyadmin@jellyfin-drake:~$ jellyadmin@jellyfin-drake:~$ jellyadmin@jellyfin-drake:~$ systemctl start displaymanager.target==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===Authentication is required to start 'displaymanager.target'.Authenticating as: jellyadminPassword: ==== AUTHENTICATION COMPLETE ===Failed to start displaymanager.target: Unit displaymanager.target not found.jellyadmin@jellyfin-drake:~$ jellyadmin@jellyfin-drake:~$ jellyadmin@jellyfin-drake:~$ sudo dpkg-reconfigure gdm3debconf: DbDriver "templatedb": could not write /var/cache/debconf/templates.dat-new: Read-only file systemjellyadmin@jellyfin-drake:~$ jellyadmin@jellyfin-drake:~$ jellyadmin@jellyfin-drake:~$ cd /jellyadmin@jellyfin-drake:/$ lsbin boot cdrom dev etc home lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv swap.img sys tmp usr varjellyadmin@jellyfin-drake:/$ ls -ltotal 4194384lrwxrwxrwx 1 root root 7 Aug 9 2023 bin -> usr/bindrwxr-xr-x 4 root root 4096 Jun 7 06:51 bootdr-xr-xr-x 2 root root 4096 Aug 10 2023 cdromdrwxr-xr-x 20 root root 4700 Jun 11 14:00 devdrwxr-xr-x 156 root root 12288 Jun 11 06:33 etcdrwxr-xr-x 3 root root 4096 Feb 4 20:28 homelrwxrwxrwx 1 root root 7 Aug 9 2023 lib -> usr/liblrwxrwxrwx 1 root root 9 Aug 9 2023 lib32 -> usr/lib32lrwxrwxrwx 1 root root 9 Aug 9 2023 lib64 -> usr/lib64lrwxrwxrwx 1 root root 10 Aug 9 2023 libx32 -> usr/libx32drwx------ 2 root root 16384 Feb 4 20:24 lost+founddrwxrwxr-x 5 jellyadmin jellyadmin 4096 Feb 20 09:50 mediadrwxr-xr-x 11 jellyadmin root 4096 Jun 10 13:47 mntdrwxr-xr-x 4 root root 4096 Feb 10 15:12 optdr-xr-xr-x 210 root root 0 Jun 11 14:00 procdrwx------ 8 root root 4096 Feb 10 15:08 rootdrwxr-xr-x 42 root root 1200 Jun 11 14:23 runlrwxrwxrwx 1 root root 8 Aug 9 2023 sbin -> usr/sbindrwxr-xr-x 17 root root 4096 Feb 5 19:05 snapdrwxr-xr-x 2 root root 4096 Aug 9 2023 srv-rw------- 1 root root 4294967296 Feb 4 20:25 swap.imgdr-xr-xr-x 13 root root 0 Jun 11 14:00 sysdrwxrwxrwt 8 root root 4096 Jun 11 12:12 tmpdrwxr-xr-x 14 root root 4096 May 30 10:48 usrdrwxr-xr-x 14 root root 4096 Feb 4 20:46 varjellyadmin@jellyfin-drake:/$
As suggested:
jellyadmin@jellyfin-drake:~$ systemctl status gdm.service× gdm.service - GNOME Display Manager Loaded: loaded (/lib/systemd/system/gdm.service; static) Active: failed (Result: exit-code) since Tue 2024-06-11 14:32:31 EDT; 2h 36min agoProcess: 4615 ExecStartPre=/usr/share/gdm/generate-config (code=exited, status=1/FAILURE) CPU: 7msJun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Scheduled restart job, restart counter is at 5.Jun 11 14:32:31 jellyfin-drake systemd[1]: Stopped GNOME Display Manager.Jun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Start request repeated too quickly.Jun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Failed with result 'exit-code'.Jun 11 14:32:31 jellyfin-drake systemd[1]: Failed to start GNOME Display Manager.Jun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Triggering OnFailure= dependencies.jellyadmin@jellyfin-drake:~$
And:
jellyadmin@jellyfin-drake:~$ journalctl -xeu gdm.service░░ The job identifier is 6945.Jun 11 14:32:30 jellyfin-drake generate-config[4618]: error: Failed to create file “/var/lib/gdm3/greeter-dconf-defaults.013GP2”: Read-only file systemJun 11 14:32:30 jellyfin-drake systemd[1]: gdm.service: Control process exited, code=exited, status=1/FAILURE░░ Subject: Unit process exited░░ Defined-By: systemd░░ Support: http://www.ubuntu.com/support░░░░ An ExecStartPre= process belonging to unit gdm.service has exited.░░░░ The process' exit code is 'exited' and its exit status is 1.Jun 11 14:32:30 jellyfin-drake systemd[1]: gdm.service: Failed with result 'exit-code'.░░ Subject: Unit failed░░ Defined-By: systemd░░ Support: http://www.ubuntu.com/support░░░░ The unit gdm.service has entered the 'failed' state with result 'exit-code'.Jun 11 14:32:30 jellyfin-drake systemd[1]: Failed to start GNOME Display Manager.░░ Subject: A start job for unit gdm.service has failed░░ Defined-By: systemd░░ Support: http://www.ubuntu.com/support░░░░ A start job for unit gdm.service has finished with a failure.░░░░ The job identifier is 6945 and the job result is failed.Jun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Scheduled restart job, restart counter is at 5.░░ Subject: Automatic restarting of a unit has been scheduled░░ Defined-By: systemd░░ Support: http://www.ubuntu.com/support░░░░ Automatic restarting of the unit gdm.service has been scheduled, as the result for░░ the configured Restart= setting for the unit.Jun 11 14:32:31 jellyfin-drake systemd[1]: Stopped GNOME Display Manager.░░ Subject: A stop job for unit gdm.service has finished░░ Defined-By: systemd░░ Support: http://www.ubuntu.com/support░░░░ A stop job for unit gdm.service has finished.░░░░ The job identifier is 7077 and the job result is done.Jun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Start request repeated too quickly.Jun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Failed with result 'exit-code'.░░ Subject: Unit failed░░ Defined-By: systemd░░ Support: http://www.ubuntu.com/support░░░░ The unit gdm.service has entered the 'failed' state with result 'exit-code'.Jun 11 14:32:31 jellyfin-drake systemd[1]: Failed to start GNOME Display Manager.░░ Subject: A start job for unit gdm.service has failed░░ Defined-By: systemd░░ Support: http://www.ubuntu.com/support░░░░ A start job for unit gdm.service has finished with a failure.░░░░ The job identifier is 7077 and the job result is failed.Jun 11 14:32:31 jellyfin-drake systemd[1]: gdm.service: Triggering OnFailure= dependencies.lines 1286-1340/1340 (END)