=== Pricey [n=pricechi@ubuntu/member/pdpc.supporter.student.PriceChild] has joined #ubuntu-classroom === Crusher [n=You@ppp121-45-114-37.lns11.adl6.internode.on.net] has joined #ubuntu-classroom === merriam__ [n=merriam@82-133-115-120.dyn.gotadsl.co.uk] has joined #ubuntu-classroom === DreamThief [n=mathias@unaffiliated/dreamthief] has joined #ubuntu-classroom === HarKoT [n=tony@bpb01-1-88-162-5-1.fbx.proxad.net] has joined #ubuntu-classroom === zween [n=zween@Z7363.z.pppool.de] has joined #ubuntu-classroom === neversfelde|mobi [n=neversfe@82.113.121.1] has joined #ubuntu-classroom === PriceChild [n=pricechi@ubuntu/member/pdpc.supporter.student.PriceChild] has joined #ubuntu-classroom === never|mobi [n=neversfe@82.113.121.1] has joined #ubuntu-classroom === DreamThi1f [n=mathias@gateway.3vilh4x0r.net] has joined #ubuntu-classroom === DreamThief [n=mathias@unaffiliated/dreamthief] has joined #ubuntu-classroom === PriceChild [n=pricechi@ubuntu/member/pdpc.supporter.student.PriceChild] has joined #ubuntu-classroom === neversfelde|mobi [n=neversfe@82.113.121.1] has joined #ubuntu-classroom === jrib [n=jrib@upstream/dev/jrib] has joined #ubuntu-classroom === munckfish [n=munckfis@217.150.115.62] has joined #ubuntu-classroom === never|mobi [n=neversfe@82.113.121.1] has joined #ubuntu-classroom === HarKoT [n=tony@bpb01-1-88-162-5-1.fbx.proxad.net] has joined #ubuntu-classroom === fatsheep [n=fatsheep@74-133-190-166.dhcp.insightbb.com] has joined #ubuntu-classroom === fatsheep [n=fatsheep@74-133-190-166.dhcp.insightbb.com] has left #ubuntu-classroom [] === alecw1 [n=alecwh@71-213-29-106.slkc.qwest.net] has joined #ubuntu-classroom [07:17] :) === pnorcks [n=pnorcks@c-67-171-158-46.hsd1.or.comcast.net] has joined #ubuntu-classroom [07:17] hi [07:17] jrib, to start an X session I do: ssh -X user@ip [07:17] right? [07:17] are you in X now? [07:17] yes [07:18] alright, in a terminal, type 'echo $DISPLAY' [07:18] caitlin@caitlin-laptop:~$ echo $DISPLAY [07:18] localhost:10.0 [07:18] that's what I got. [07:19] k, that is how things figure out where the X server is running [07:19] or which you want to use [07:19] mmk [07:19] you can start new screens [07:19] cool. How do I lock THAT screen? [07:20] well if you were to login via ssh into your laptop you'll notice DISPLAY isn't set [07:20] so you would 'export DISPLAY=:10.0' first [07:20] alecwh@aleclaptop:~$ echo $DISPLAY [07:20] :0.0 [07:20] that's what I get locally [07:20] k [07:20] then set it to that [07:20] 'export DISPLAY=:0.0' [07:20] in SSH or my local terminal? [07:21] in ssh [07:21] ok [07:21] since locally it's already set [07:21] o [07:21] done [07:21] now? [07:21] k, now do: gnome-screensaver-command --help | grep -i lock [07:21] that should tell you the switch you need to lock the screen [07:22] caitlin@caitlin-laptop:~$ gnome-screensaver-command --help | grep -i lock [07:22] -l, --lock Tells the running screensaver process to lock the screen immediately [07:22] -i, --inhibit Inhibit the screensaver from activating. Command blocks while inhibit is active. [07:22] so, --lock ? [07:22] k, now do 'gnome-screensaver-command -l' [07:22] sure [07:22] locally or SSH [07:22] ssh [07:22] both would work, but you asked about doing it over ssh, so this way we can make sure it works [07:23] caitlin@caitlin-laptop:~$ gnome-screensaver-command -l [07:23] ** Message: Screensaver is not running! [07:23] :( [07:23] you use gnome? [07:23] yes [07:23] see if it works locally [07:24] yup, it does. [07:25] caitlin@caitlin-laptop:~$ gnome-screensaver-command --lock [07:25] ** Message: Screensaver is not running! [07:25] that doesn't work either. [07:25] quick question, why do you want to do this? The employee can just enter his password anyway [07:26] Our computers are all password protected by us, they are logged in 24/7 [07:26] :) [07:26] We've had a few problems lately [07:26] ah, well what does 'echo $DISPLAY' return on ssh now? [07:26] :0.0 [07:27] hmm, I wonder how it check for the screensaver [07:27] :0.0 (locally) [07:28] any ideas, jrib? [07:28] going to look at the source real quick [07:28] mmk, thanks. :) [07:28] though https://wiki.ubuntu.com/StudentControlPanelSpec claims to have this feature [07:29] Aurgh. I'd have to go through each of our 40+ computers. :P [07:29] SSH would be easier. :) [07:31] so you're on caitlin-laptop and ssh'ed into aleclaptop? === darich [n=trickyki@89.243.189.17] has joined #ubuntu-classroom [07:31] no, I'm on aleclaptop, SSHing to caitlin-laptop [07:33] can caitlin sudo on aleclaptop? [07:33] sorry? [07:34] you're ssh'ed as the user "caitlin" into the computer "aleclaptop". Is the caitlin user able to use "sudo"? [07:35] No, I'm on ALECLAPTOP, logged in as "alec" (my machine). I'm SSHing into "caitlin-laptop" as "caitlin". [07:35] oops, that's what I meant, can caitlin sudo on caitlin-laptop? [07:35] yes. [07:35] well, I can. [07:36] ok [07:36] on caitlin-laptop, there is gnome running, correct? [07:36] yes [07:37] is the caitlin user logged into gnome on caitlin-laptop? [07:37] yes [07:40] k, did you test 'gnome-screensaver-command -l' as caitlin on caitlin-laptop locally? [07:40] one sec. [07:40] ok, yes, it works perfectly. [07:41] k, gnome-screensaver-command seems to use dbus, mnaybe that's the issue [07:42] hmm. no idea what that means.... :) [07:42] Does that mean this isn't possible? [07:43] :( [07:44] no, it means we need to do some research :) [07:44] you understand c? [07:44] a little. :) [07:44] I've done lots of PHP. [07:45] similar. [07:45] You know, it's not that big of a deal, I don't want to waste your time. [07:45] well i was kind of interested [07:45] look into launching dbus in your ssh session [07:45] >_> [07:46] how? :) [07:46] try 'dbus-monitor', what happens? [07:46] on SSH or local? [07:46] or on caitlin-laptop? [07:47] on ssh [07:47] caitlin@caitlin-laptop:~$ dbus-monitor [07:47] signal sender=org.freedesktop.DBus -> dest=:1.12 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired [07:47] string ":1.12" [07:47] method call sender=:1.12 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch [07:47] string "type='method_call'" [07:47] method call sender=:1.12 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch [07:47] string "type='method_return'" [07:47] method call sender=:1.12 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch [07:47] string "type='error'" [07:48] k close that [07:49] see what 'dbus-launch' does [07:50] caitlin@caitlin-laptop:~$ dbus-launch [07:50] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Ge013ulYJe,guid=8dd8640d06cd9f1356fc520046b75f5b [07:50] DBUS_SESSION_BUS_PID=7355 [07:50] caitlin@caitlin-laptop:~$ [07:51] k, try 'gnome-screensaver-command -l' again [07:51] caitlin@caitlin-laptop:~$ gnome-screensaver-command -l [07:51] ** Message: Screensaver is not running! [07:51] caitlin@caitlin-laptop:~$ [07:51] dbus-launch 'gnome-screensaver-command -l' [07:51] try that [07:52] caitlin@caitlin-laptop:~$ dbus-launch 'gnome-screensaver-command -l [07:52] > [07:52] just gave me that arrow. :P [07:52] forgot the ' at the end [07:53] caitlin@caitlin-laptop:~$ dbus-launch gnome-screensaver-command -l [07:53] ** Message: Screensaver is not running! [07:54] I have to go now, I might play with it some more later, but don't know what to do offhand. You might want to try #ubuntu again later or #gnome [07:54] there's also #gnome on the GIMPNet network [07:54] ok [07:55] thnx === alecw1 [n=alecwh@71-213-29-106.slkc.qwest.net] has left #ubuntu-classroom [] === PWill [n=paul@unaffiliated/pwill] has joined #ubuntu-classroom === pnorcks [n=pnorcks@c-67-171-158-46.hsd1.or.comcast.net] has left #ubuntu-classroom [] === jrib [n=jrib@upstream/dev/jrib] has joined #ubuntu-classroom === PriceChild [n=pricechi@ubuntu/member/pdpc.supporter.student.PriceChild] has joined #ubuntu-classroom === Cerstimo [n=nobody@ip51ccf0d1.adsl-surfen.hetnet.nl] has joined #ubuntu-classroom === Cerstimo [n=nobody@ip51ccf0d1.adsl-surfen.hetnet.nl] has left #ubuntu-classroom [] === PriceChild [n=pricechi@ubuntu/member/pdpc.supporter.student.PriceChild] has joined #ubuntu-classroom === DrSmall [n=DrSmall@70-41-140-16.cust.wildblue.net] has joined #ubuntu-classroom === DrSmall [n=DrSmall@70-41-140-16.cust.wildblue.net] has left #ubuntu-classroom ["Adios] === ryanakca [n=ryan@ubuntu/member/ryanakca] has joined #ubuntu-classroom === sacater [n=sacater@phns1.gotdns.com] has joined #ubuntu-classroom === HarKoT [n=tony@88.162.5.1] has joined #ubuntu-classroom === zween [n=zween@89.61.115.99] has joined #ubuntu-classroom === SWAT [n=SWAT@ubuntu/member/swat] has joined #ubuntu-classroom === ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-classroom === jrib [n=jrib@upstream/dev/jrib] has joined #ubuntu-classroom