LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2009, 12:59 AM   #1
SuperDude123
Member
 
Registered: Nov 2008
Posts: 158

Rep: Reputation: 30
Halloween prank


How do I flash a picture (jack o lantern jpg) across the user's screen while he's logged in a system? I have full access to the system via SSH.
 
Old 10-30-2009, 01:35 AM   #2
indiajoe
Member
 
Registered: Jan 2009
Location: India
Distribution: Porteus atma
Posts: 84

Rep: Reputation: 21
Put it in autorun

Hi,
If he is using KDE.
Write a script to display the image. Use any image viewer available.
And put it in his .kde/Autorun directory in home directory. It will run each time the person logins.
There may be similar thing in gnome also.
-Cheers
indiajoe
 
Old 10-30-2009, 02:34 AM   #3
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,899

Rep: Reputation: 68
I would say 1) leaving too many traces is bad and 2) you shouldn't do this unless you know that it will not be harmful, so choose the moment wisely, ssh into the box, copy (as root) /home/user/.Xauthority to /tmp and run "XAUTHORITY=/tmp.Xauthority DISPLAY=:0 display pumpkin.jpg". Hit Ctrl-C and logout before target manages to close the window for the best effect..

Automating doesn't let you te check that the moment is suitable right before doing it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to play the perfect prank??? theacerguy General 3 02-08-2009 08:02 AM
LXer: DistroWatch Weekly: First look at Dreamlinux 3.0, April Fool's PHR prank LXer Syndicated Linux News 0 04-07-2008 07:12 AM
I'm going as Microsoft for Halloween next year... xadrith General 2 11-03-2007 03:33 AM
halloween is close Peacedog General 11 10-31-2003 06:37 PM
The Latest Halloween Document darthtux General 0 08-27-2003 06:46 PM


All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration