/srv/irclogs.ubuntu.com/2007/08/06/#ubuntu-classroom.txt

=== 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
alecw1:)07:17
=== pnorcks [n=pnorcks@c-67-171-158-46.hsd1.or.comcast.net] has joined #ubuntu-classroom
jribhi07:17
alecw1jrib, to start an X session I do: ssh -X user@ip07:17
alecw1right?07:17
jribare you in X now?07:17
alecw1yes07:17
jribalright, in a terminal, type 'echo $DISPLAY'07:18
alecw1caitlin@caitlin-laptop:~$ echo $DISPLAY07:18
alecw1localhost:10.007:18
alecw1that's what I got.07:18
jribk, that is how things figure out where the X server is running07:19
jribor which you want to use07:19
alecw1mmk07:19
jribyou can start new screens07:19
alecw1cool. How do I lock THAT screen?07:19
jribwell if you were to login via ssh into your laptop you'll notice DISPLAY isn't set07:20
jribso you would 'export DISPLAY=:10.0' first07:20
alecw1alecwh@aleclaptop:~$ echo $DISPLAY07:20
alecw1:0.007:20
alecw1that's what I get locally07:20
jribk07:20
jribthen set it to that07:20
jrib'export DISPLAY=:0.0'07:20
alecw1in SSH or my local terminal?07:20
jribin ssh07:21
alecw1ok07:21
jribsince locally it's already set07:21
alecw1o07:21
alecw1done07:21
alecw1now?07:21
jribk, now do: gnome-screensaver-command --help | grep -i lock07:21
jribthat should tell you the switch you need to lock the screen07:21
alecw1caitlin@caitlin-laptop:~$ gnome-screensaver-command --help | grep -i lock07:22
alecw1  -l, --lock                 Tells the running screensaver process to lock the screen immediately07:22
alecw1  -i, --inhibit              Inhibit the screensaver from activating.  Command blocks while inhibit is active.07:22
alecw1so, --lock ?07:22
jribk, now do 'gnome-screensaver-command -l'07:22
jribsure07:22
alecw1locally or SSH07:22
jribssh07:22
jribboth would work, but you asked about doing it over ssh, so this way we can make sure it works07:22
alecw1caitlin@caitlin-laptop:~$ gnome-screensaver-command -l07:23
alecw1** Message: Screensaver is not running!07:23
alecw1:(07:23
jribyou use gnome?07:23
alecw1yes07:23
jribsee if it works locally07:23
alecw1yup, it does.07:24
alecw1caitlin@caitlin-laptop:~$ gnome-screensaver-command --lock07:25
alecw1** Message: Screensaver is not running!07:25
alecw1that doesn't work either.07:25
jribquick question, why do you want to do this?  The employee can just enter his password anyway07:25
alecw1Our computers are all password protected by us, they are logged in 24/707:26
alecw1:)07:26
alecw1We've had a few problems lately07:26
jribah, well what does 'echo $DISPLAY' return on ssh now?07:26
alecw1:0.007:26
jribhmm, I wonder how it check for the screensaver07:27
alecw1:0.0 (locally)07:27
alecw1any ideas, jrib?07:28
jribgoing to look at the source real quick07:28
alecw1mmk, thanks. :)07:28
jribthough https://wiki.ubuntu.com/StudentControlPanelSpec claims to have this feature07:28
alecw1Aurgh. I'd have to go through each of our 40+ computers. :P07:29
alecw1SSH would be easier. :)07:29
jribso you're on caitlin-laptop and ssh'ed into aleclaptop?07:31
=== darich [n=trickyki@89.243.189.17] has joined #ubuntu-classroom
alecw1no, I'm on aleclaptop, SSHing to caitlin-laptop07:31
jribcan caitlin sudo on aleclaptop?07:33
alecw1sorry?07:33
jribyou're ssh'ed as the user "caitlin" into the computer "aleclaptop".  Is the caitlin user able to use "sudo"?07:34
alecw1No, I'm on ALECLAPTOP, logged in as "alec" (my machine). I'm SSHing into "caitlin-laptop" as "caitlin".07:35
jriboops, that's what I meant, can caitlin sudo on caitlin-laptop?07:35
alecw1yes.07:35
alecw1well, I can.07:35
jribok07:36
jribon caitlin-laptop, there is gnome running, correct?07:36
alecw1yes07:36
jribis the caitlin user logged into gnome on caitlin-laptop?07:37
alecw1yes07:37
jribk, did you test 'gnome-screensaver-command -l' as caitlin on caitlin-laptop locally?07:40
alecw1one sec.07:40
alecw1ok, yes, it works perfectly.07:40
jribk, gnome-screensaver-command seems to use dbus, mnaybe that's the issue07:41
alecw1hmm. no idea what that means.... :)07:42
alecw1Does that mean this isn't possible?07:42
alecw1:(07:43
jribno, it means we need to do some research :)07:44
jribyou understand c?07:44
alecw1a little. :)07:44
alecw1I've done lots of PHP.07:44
alecw1similar.07:45
alecw1You know, it's not that big of a deal, I don't want to waste your time.07:45
jribwell i was kind of interested07:45
jriblook into launching dbus in your ssh session07:45
alecw1>_>07:45
alecw1how? :)07:46
jribtry 'dbus-monitor', what happens?07:46
alecw1on SSH or local?07:46
alecw1or on caitlin-laptop?07:46
jribon ssh07:47
alecw1caitlin@caitlin-laptop:~$ dbus-monitor07:47
alecw1signal sender=org.freedesktop.DBus -> dest=:1.12 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired07:47
alecw1   string ":1.12"07:47
alecw1method call sender=:1.12 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch07:47
alecw1   string "type='method_call'"07:47
alecw1method call sender=:1.12 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch07:47
alecw1   string "type='method_return'"07:47
alecw1method call sender=:1.12 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch07:47
alecw1   string "type='error'"07:47
jribk close that07:48
jribsee what 'dbus-launch' does07:49
alecw1caitlin@caitlin-laptop:~$ dbus-launch07:50
alecw1DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Ge013ulYJe,guid=8dd8640d06cd9f1356fc520046b75f5b07:50
alecw1DBUS_SESSION_BUS_PID=735507:50
alecw1caitlin@caitlin-laptop:~$07:50
jribk, try 'gnome-screensaver-command -l' again07:51
alecw1caitlin@caitlin-laptop:~$ gnome-screensaver-command -l07:51
alecw1** Message: Screensaver is not running!07:51
alecw1caitlin@caitlin-laptop:~$07:51
jribdbus-launch 'gnome-screensaver-command -l'07:51
jribtry that07:51
alecw1caitlin@caitlin-laptop:~$ dbus-launch 'gnome-screensaver-command -l07:52
alecw1>07:52
alecw1just gave me that arrow. :P07:52
jribforgot the ' at the end07:52
alecw1caitlin@caitlin-laptop:~$ dbus-launch gnome-screensaver-command -l07:53
alecw1** Message: Screensaver is not running!07:53
jribI 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 #gnome07:54
jribthere's also #gnome on the GIMPNet network07:54
alecw1ok07:54
alecw1thnx07:55
=== 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

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!