Re: gdm on a virtual machine commit (sysv)

"Pierre Labastie" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
Le mercredi 07 mai 2025 à 18:18 -0400, Joe Locash a écrit :
> I'm some what confused by the recent commit for this.
> 
>      gdm: on a virtual machine, prevent using X11 on sysv
> 
>      The file /usr/lib/udev/rules.d/61-gdm.rules disables wayland
>      for virtual GPUs. The problem is that X11 has a permission
> problem
>      on sysv with user gdm, so wayland is mandatory. Describe
>      what to do in "configuration information". This is the same
>      problem as for nvidia GPUs...
> 
> I don't see a permission problem and I'm able to start both wayland
> and 
> xorg session with gdm in qemu?
> 
> The books states:
>   "However, on sysv, a permission problem prevents running X11 for
> user 
> gdm , so running on wayland is mandatory. If your system is sysv on a
> virtual machine or you have an NVIDIA GPU and still want to try
> running 
> Wayland sessions anyway, execute the following command as the root
> user:"
> 
> This just doesn't make sense.  If running on wayland is mandatory on
> a 
> sysv build why would there need to be a change to run on wayland?
> 
> Tested in qemu-9.2.2.

Well, gdm can run on X11 or wayland, and can launch a session on X11 or
Wayland. The problem I see (and I'd like to have some confirmation) is
that gdm _running_ on X11 cannot start... Once started (on wayland for
me) it can launch a session on any system.
Note that, not being an native English speaker, I may write non clear
sentences, so please feel free to propose something. Maybe I should
have separated the case of Nvidia (which is optional) and the case of
sysv (which really needs wayland AFAICS).

Pierre

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.