[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I make xhost changes stick?

Thanks, but I'm still missing something. I appended the line

xhost local:

to /etc/profile, as well as ~/.bash_profile, and neither seems to have changed anything. I've tried to wade into the bash manual and the bash doc examples, but it's beyond me.



On 12/19/05, *Tyler Smith* <tyler.smith@mail.mcgill.ca <mailto:tyler.smith@mail.mcgill.ca>> wrote:


   I'm using Etch with x.org <http://x.org>, xdm, and fluxbox. I've
   discovered that I
   can't open an X windows after I log into root using su, as when I try to
   open emacs to edit a config file. I have to use 'xhost local:' first.
   Not a big deal, but I have to do this everytime I log in. Is there a
   to make this setting stick between sessions?

put it in your shell's startup file, .profile for sh, ksh, bash, zsh; .login for csh tcsh



My apologies if you've seen this already, my newsgroup account is
behaving strangely...

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org <mailto:debian-user-REQUEST@lists.debian.org> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org <mailto:listmaster@lists.debian.org>

Reply to: