Re: [systemd-devel] question regarding DBUS_SESSION_BUS_ADDRESS in multiseat environment

2016-12-02 Thread MohanR
On Fri, 2016-12-02 at 12:28 +, Simon McVittie wrote:
> Does this mean your user is trying to be physically present in two
> places
> at the same time? How is this a useful thing to do? :-)

I thought the same when I came across this requirement. People
explained me that the admins who are going to use our solution will
mostly be Windows Admins and they are scared (or lazy) to create
different accounts for each people. They also said this kind of setup
possible in Windows (but I don't know exactly how it works) and they
will require that kind of setup in Linux too.

> pam_systemd does not do this unless you have configured dbus-daemon
> to provide one bus per logind user-session
> (./configure --enable-user-session), which is not the default.
> Either you or your OS vendor have explicitly chosen this model: if
> that
> doesn't match your requirements, you need to revert this choice.
> 
> If you require multiple D-Bus sessions per logind user-session, you
> must
> either configure dbus without --enable-user-session (the default is
> equivalent to --disable-user-session), or mask or remove the
> dbus.service and dbus.socket systemd user units that are installed
> by enabling that option (/usr/lib/systemd/dbus.*).

I'm looking through this --enable-user-session in dbus-daemon. Even if
I enable that option, how can I retrive uniq DBUS_SESSION_BUS_ADDRESS
from systemd started dbus-daemon to pass it to gnome-session?

I think this is a silly requirement and will make our display-manager
stop user starting two sessions by checking with logind whether that
user already have a graphical session.

Thanks,
Mohan R
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] DHCP options for PXE booting

2015-09-27 Thread MohanR
Hi,

Need help adding DHCP options/parameters in DHCPACK for PXE booting. I
just populated dhcp.file[128] and dhcp.siaddr and I'm able to send
gpxelinux.0 to PXE client[1]. But the PXE clients not able to download
further files from TFTP servers.

Is it possible to get docs related to this flow? what all needed for
PXE booting from DHCP server?

[1] https://github.com/mohan43u/systemd/commit/26e11fa910a881c68ce5e106
b91129e1ac2618ac

Thanks,
Mohan R
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] systemd-nspawn - exporting /dev/video0

2014-11-04 Thread MohanR
Hi,

I'm in need to passthrough /dev/video0 for a gstreamer based application
development. Is it possible using systemd-nspawn? I tried enabling
CAP_MKNOD and manually creating /dev/video0. But it was not recognized.

Is there any way to do it?

Thanks,
Mohan R

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel