[wplug] XWindows Startup Applications

John Harrold jmh17 at pitt.edu
Thu Jun 3 13:36:47 EDT 2004


Sometime in June Wise, Jeremey assaulted the keyboard and produced:

| 2)I have to run seveal applcation functions as root and so find that I
| am constantly running this set of steps to setup a "root" shell console.
| **********
| wisej at wizej:~>
| wisej at wizej:~> xhost +localhost
| localhost being added to access control list
| wisej at wizej:~> su -
| Password:
| wizej:~ # DISPLAY=:0.0
| wizej:~ # export DISPLAY
| wizej:~ #
| *********
| This is on a typical SuSE 9.0 install. I have gotten around some of this
| in adding a ~/.bashrc for each user. What again is the "proper" way to
| do this?

There are probably many ways to do this, one method is instead of using 'su
-' just use 'ssh -X root at localhost'. you can alias this to:

alias mysu='ssh -X root at localhost'

-- 
---------------------------------------------------------- 
                            | /"\                         
 john harrold               | \ / ASCII ribbon campaign   
 jmh at member.fsf.org      |  X  against HTML mail       
 the most useful idiot      | / \                         
----------------------------------------------------------
 What difference does it make to the dead, the orphans, 
 and the homeless, whether the mad destruction is brought 
 under the name of totalitarianism or the holy name of 
 liberty and democracy?
 --Gandhi
----------------------------------------------------------
  gpg --keyserver keys.indymedia.org --recv-key F65A739E
----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20040603/fbb3a0c6/attachment-0001.bin


More information about the wplug mailing list