Starting up and shutting down network cards
By jeltsch on Thu, 05/24/2007 - 21:21STARTING:
(/usr)/sbin/ifup eth0 (or eth1)
STOPPING:
(/usr)/sbin/ifdown eth0 (or eth1)
STATUS:
(/usr)/sbin/ifconfig -a
STARTING:
(/usr)/sbin/ifup eth0 (or eth1)
STOPPING:
(/usr)/sbin/ifdown eth0 (or eth1)
STATUS:
(/usr)/sbin/ifconfig -a
It never happened to me under Red Hat 9, but when I am working in KDE as a normal user and try to execute emacs from a terminal, in which I am su, I occasionally get the following error message:
jeltsch@mcblpc2:~> su
Password:
mcblpc2:/home/jeltsch emacs test.txt
Xlib: connection to ":0.0" refused by server
Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison)
emacs: Cannot connect to X server :0.0.
Check the DISPLAY environment variable or use `-d'.
I tried to use vncserver on Suse 9, but to my surprise upon starting up with "vncserver" and then connecting with the "vncviewer" command I only saw the grey screen and an X terminal. I tried to execute xclock and gaim and they start up nicely. However I would also like to bee able to start up KDE. So I looked into the xstartup file (in the .vnc directory in your home folder) from my old Red Hat 9 install and compared it to the one from my Suse 9 install: