<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; получить имя пользователя из программы udev]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=39426&amp;type=atom" />
	<updated>2017-08-11T03:14:14Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=39426</id>
		<entry>
			<title type="html"><![CDATA[Re: получить имя пользователя из программы udev]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=456832#p456832" />
			<content type="html"><![CDATA[<p>Единственной, что пока видится. <br />Выполнить консольную утилиту &quot;w&quot; и любым доступным методом (файл, каналы и пр.) вернуть значение в программу.<br />Единственная проблема в том, что &quot;w&quot; вывподит все активные сессии (ssh, консоль, графика).</p>]]></content>
			<author>
				<name><![CDATA[marikk]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20103</uri>
			</author>
			<updated>2017-08-11T03:14:14Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=456832#p456832</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[получить имя пользователя из программы udev]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=456831#p456831" />
			<content type="html"><![CDATA[<p>Здравствуйте. Ситуация такая. Есть программа на с++ которая запускается по событию вставки носителя в usb порт(RUN udev). Смысл в том чтобы как то в этой программе определить имя пользователя который открыл графическую сессию( зарегистрирован в системе через графику)</p>]]></content>
			<author>
				<name><![CDATA[kold2015]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35073</uri>
			</author>
			<updated>2017-08-10T19:50:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=456831#p456831</id>
		</entry>
</feed>
