Archive for the ·

Misc

· Category...

Setting up X11forwarding after su – another user id

Comments Off

Problem:

 

I am able to use putty and X11forwarding to establish a Xwindows. however, when I su – into another id, X session broke.

 

Solution:

 

My id is myid and I need to su into wadadm

$ echo $DISPLAY
localhost:10.0

Log on as root in another sesssion:

# cp ~myid/.Xauthority ~wasadm/.Xauthority
# chown wasadm.wasadm ~wasadm/.Xauthority
# chmod 600 ~wasadm/.Xauthority

Back to myid:

myid [testserver] $ su - wasadm

myid [testserver] $ export DISPLAY=localhost:10.0

wasadm [testserver] $ xclock &

We should now see the Xclock is running on your local screen from use id wasadm.

Comments Off

Invoking Windows Explorer GUI by commands

Comments Off

Here are a few easy ways to invoke the Windows Explorer GUI, which displays certain parts of the directory/folder tree depending on given syntax. I also threw in a few other miscellaneous items.

1. Select Run
Then type “.”
This action will invoke the C:\Documents and Settings\mysysad

2. Select Run
Then type “..”
This action will invoke a window that displays C:\Documents and Settings

3. Select Run
Then type “…”
This action will invoke a window that displays My Computer

Other misc Run exercises

Select Run
Type “explorer” – same as Type “My Documents”
Type “explorer c:”
Type “explorer desktop”
Type “explorer .”
Type “explorer ..”

Select Run
Type “control panel”

Select Run
Type “calc”

Select Run
Type “notepad”

Select Run
Type “wordpad”

Select Run
Type “ping MySysAdDOTCOM”

Select Run
Type “c:” or “d:” or “a:”

Select Run
Type “freecell”
Type “sol”
Type “mshearts”
Type “spider”
Type “winmine”

Select Run
Type “mspaint”

Select Run
Type “nslookup”

Select Run
Type “cmd”

Comments Off

What softwares facebook site is using?

Comments Off

An interesting article on Facebook’s architecture: Exploring the software behind Facebook, the world’s largest site. It covers the challenges Facebook faces, the software Facebook uses, and the techniques Facebook uses to keep on scaling. Definitely worth a look.

Comments Off