On Thursday 03 April 2003 04:29, Oswald Buddenhagen wrote:
On Thu, Apr 03, 2003 at 02:35:48AM +0200, Achim Bohnet wrote:
[.. old script...]
this scipt will fail if an already terminated server used the same
display as another currently running one. you should only check the logs
of currently
On Mittwoch, 2. April 2003 22:33, David Pye wrote:
But yes, as I said, if there are multiple X servers active, I'm unsure
as to how you can tell which one is currently being displayed on the
screen. You could do something like either:
I think there could even be more than one active Xserver.
Hi,
I would like to startup digikam, when the camera is plugged in.
libgphoto2 comes with the example usbcam.x11-app hotplug script,
but it has two limitations:
o fixed user
o fixed display (new complication du to the great 'New Session'
feature)
'last' is one way to find out
On Wed, Apr 02, 2003 at 08:12:54PM +0200, Achim Bohnet wrote:
Is there a kdm setting to turn on to find out what display is the active one
and if/what user is logged in there?
try who. this requires that sessreg is used in Xstartup/Xreset, though.
Other ways to get this info?
none i'd
Hmm... Good question!
who
tells you who's logged in...
bash-2.05b$ who
dmp :0 Mar 23 18:35
and the display/terminal is the middle column. However, I'm not sure how you
can find out which one is currently being displayed.
Perhaps you could annoy ALL the users by running
Hi there,
Sorry - I have now copied my original reply to the list - I have no interest
in being secretive, I simply thought I'd pressed reply-to-all!
bash-2.05b$ ls -la wtmp*
-rw-rw-r--1 root utmp 768 2003-04-02 11:31 wtmp
-rw-rw-r--1 root utmp 147072 2003-03-27
On Wed, Apr 02, 2003 at 08:29:16PM +, David Pye wrote:
However, I'm not sure how you
can find out which one is currently being displayed.
oh, right, i forgot that part. fgconsole. but this works only as root,
so you need to define a sudo rule if a regular user should be able to
execute
On Wednesday 02 April 2003 23:45, Oswald Buddenhagen wrote:
On Wed, Apr 02, 2003 at 08:29:16PM +, David Pye wrote:
However, I'm not sure how you
can find out which one is currently being displayed.
oh, right, i forgot that part. fgconsole. but this works only as root,
so you need to
On Thu, Apr 03, 2003 at 02:35:48AM +0200, Achim Bohnet wrote:
Great one peace more of the puzzle. Here fgconsole works also for normal
user:
[...]
It this a (security) bug?
no, that's a bit permission magic done by PAM and/or the Xstartup
script. every system does something different here
9 matches
Mail list logo