Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 6.0.10
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other
Target Operating System
Linux
QNX
other
Hardware Platform
NVIDIA DRIVE™ AGX Orin DevKit
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other
SDK Manager Version
1.9.1.10844
other
Host Machine Version
native Ubuntu 18.04
other
Hello all,
Following the nvsip_camera sample tutorial available here, we need to terminate gdm in order to use the DevKit’s DisplayPort to see the camera output.
This involves the commands systemctl disable gdm and systemctl stop gdm.
The problem is that gdm cannot be restarted or enabled afterwards, for me systemctl start gdm.service does nothing while**systemctl enable gdm.service** throws the following error:
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
instance name specified.
I have tried to fix this error but it seems gdm should be enabled in some other way.
All these commands are executed remotely, as the DevKit will lose all display functionalities. Some users with the same problem seem to have access to the terminal but I don’t (probably my fault).
Regardless, the only solution I have found is this:
dpkg-reconfigure gdm3
which seems to renable gdm and start it up (might need a systemctl start gdm.service
afterwards). I found it from here.
Is this the oficial solution? I also don’t know why the tutorial requires disabling gdm instead of just stopping it, but it may have an official reason.
Anyways this has worked for me twice but I would like to know if there is any other solution to this.
Relevant questions on this topic:
Thank you very much for your time!