if you are using csh, put it in ~/.login
------------ jamisar
Einfachheit ist das Resultat der Reife. (Friedrich Schiller)
Simplicity is the fruit of maturity.
Thanks, but I've tried ~.cshrc & ~.login.... found the DISPLAY variable in .cshrc and uncommented it, however when I type the env command, I still get
DISPLAY=( pc name ) - this used to be IP address before I uncommented it.... is this correct?
please be exact: NOT tilde.cshrc
BUT tilde/.cshrc
(i'm writin on a 'pc' and cannot get the tilde char)
you can put your DISPLAY var where you want, if this file is
sourced.
look for .cshrc,.login,.xinitrc,.Xdefaults and so on
you also can compound it using the output of 'who' or 'who -a'
really: what is your problem ?
------------ jamisar
Einfachheit ist das Resultat der Reife. (Friedrich Schiller)
Simplicity is the fruit of maturity.
You should check man csh on your system to be certain of the sequence of "." files fired when your shell starts.
From memory, for c-shell it's a system .login-type stored in the /etc (maybe /etc/cshrc). The different Unixes may vary in the sequence, but I think it's supposed to be system "." files, usually followed by private "." files in order to overlay generic system values with private, or group settings. Typically, for every "private" dot file necessary to the shell startup, there's a corresponding system-wide generic supplied. (If nothing else, the system-wide copy serves as a template for the SAs to set up new account of that shell type.
Since you mention DISPLAY, I'm assuming you're also doing X Windows, so you also have to check private and public .Xinitrc, and (I think) .xstartup.
Sorry for the long messege, but there's all sorts of places your "DISPLAY" could be hiding.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.