Re: adsl and xemacs (beginner)

2002-01-27 Thread Lorint Hendschel
Kapil Khosla dijheut enawaire:

 2) I used apt-get install xemacs and got the editor but am not able
 to open it from console (xemacs ),I get the follwing error
 Xlib: Client is not authorized to connect to Server

Aren't you trying to start xemacs as root in a term?  If such is the
case, try as a normal user.

Lorint



Re: adsl and xemacs (beginner)

2002-01-27 Thread Richard Cobbe
Lo, on Saturday, January 26, Kapil Khosla did write:

SNIP

 2) I used apt-get install xemacs and got the editor but am not able
 to open it from console (xemacs ),I get the follwing error
 Xlib: Client is not authorized to connect to Server
 
 Initialization error: X server not responding
 : :0.0
 
 [1]+  Exit 255xemacs
 
 I can however use it from the Apps-Editor-Xemacs
 Why is this so..can you give me a web resource to understand the \
 reason,

Has to do with X security.  My guess is that the shell in your terminal
is not running as the same user you logged in as -- did you su to root?

Simplest solution: don't su within the terminal; just stay as your
normal user and everything should be OK.

(X security is a complicated system, so I didn't go into it here.  I can
post a brief explanation of the issues if you're interested.)

Richard



adsl and xemacs (beginner)

2002-01-26 Thread Kapil Khosla
Hi, I am a beginner and have 2 questions:
1) I configured my DSL from Verizon from root, by using the Roariing
Penguin software but when I go to my user account I am not able 
to connect as I dont have the adsl-start utility.
Will I need to redo the process I did for root for every user account
i create ?
2) I used apt-get install xemacs and got the editor but am not able
to open it from console (xemacs ),I get the follwing error
Xlib: Client is not authorized to connect to Server

Initialization error: X server not responding
: :0.0

[1]+  Exit 255xemacs

I can however use it from the Apps-Editor-Xemacs
Why is this so..can you give me a web resource to understand the \
reason,
Thanks ,
Kapil




Re: adsl and xemacs (beginner)

2002-01-26 Thread Adam Majer
On Sat, Jan 26, 2002 at 03:34:35PM -0800, Kapil Khosla wrote:
 Hi, I am a beginner and have 2 questions:
 1) I configured my DSL from Verizon from root, by using the Roariing
 Penguin software but when I go to my user account I am not able 
 to connect as I dont have the adsl-start utility.
 Will I need to redo the process I did for root for every user account
 i create ?

Why not have it connected all the time?

 2) I used apt-get install xemacs and got the editor but am not able
 to open it from console (xemacs ),I get the follwing error
 Xlib: Client is not authorized to connect to Server
 
 Initialization error: X server not responding
 : :0.0

You can't use it from console. Or did you mean xterminal?



Re: adsl and xemacs (beginner)

2002-01-26 Thread Noah Massey
--begin quoted message from Adam Majer, 
 On Sat, Jan 26, 2002 at 03:34:35PM -0800, Kapil Khosla wrote:

snip

  2) I used apt-get install xemacs and got the editor but am not able
  to open it from console (xemacs ),I get the follwing error
  Xlib: Client is not authorized to connect to Server
  
  Initialization error: X server not responding
  : :0.0
 
 You can't use it from console. Or did you mean xterminal?

well, you can run 'xemacs -nw' to run it IN a shell... which is helful
if you don't feel like running X.
-- 
Noah Massey  | fingerprint : 90AD 7AAB 0768 46AF 8C52 0695 03A2 C74D E1ED C2BF
   An eye for an eye leaves us all blind.
Attached is a digital signature which can be used to authenticate this email.
For details consult www.gnupg.org or www.pgpi.org


pgpSYDVQiaguN.pgp
Description: PGP signature


Re: adsl and xemacs (beginner)

2002-01-26 Thread David Z Maze
Adam Majer [EMAIL PROTECTED] writes:
 On Sat, Jan 26, 2002 at 03:34:35PM -0800, Kapil Khosla wrote:
 2) I used apt-get install xemacs and got the editor but am not able
 to open it from console (xemacs ),I get the follwing error
 Xlib: Client is not authorized to connect to Server
 
 Initialization error: X server not responding
 : :0.0
 
 You can't use it from console. Or did you mean xterminal?

You actually can run Emacs from a text console; 'emacs -nw' (or
'xemacs -nw') will ignore the setting of the DISPLAY environment
variable and run in the console.  If you don't have the DISPLAY
environment variable set, both Emacsen will come up in this mode by
default.

-- 
David Maze [EMAIL PROTECTED]  http://people.debian.org/~dmaze/
Theoretical politics is interesting.  Politicking should be illegal.
-- Abra Mitchell



Re: adsl and xemacs (beginner)

2002-01-26 Thread Brian P. Flaherty
Kapil Khosla [EMAIL PROTECTED] writes:

 Hi, I am a beginner and have 2 questions:
 1) I configured my DSL from Verizon from root, by using the Roariing
 Penguin software but when I go to my user account I am not able 
 to connect as I dont have the adsl-start utility.
 Will I need to redo the process I did for root for every user account
 i create ?

You should run adsl-start as one of your boot scripts.  I believe the
roaring penguin distribution has an ADSL boot script.  You can also
write a ppp script that connects to dsl and calls pppoe.  This is what
I am doing and it works quite well.  Then once you have a boot script
to start pppoe, you can then use the ip-up.d and ip-down.d in /etc/ppp
to do all kinds of things---start and stop the firewall, run the exim
queue, etc.  Once it all works, it is very nice.  I believe you can
also run a firewall through pppoe, but I don't know how good it is.
Until or if you choose not to go with a boot script, I believe you
will need to be root to run adsl-start, or else you need to put all
the adsl stuff in a ppp group (dip, I think) and then put the users in
group dip.  I think that would work too.

Brian



Re: adsl and xemacs (beginner)

2002-01-26 Thread Adam Majer
On Sat, Jan 26, 2002 at 07:53:25PM -0500, Noah Massey wrote:
 --begin quoted message from Adam Majer, 
  On Sat, Jan 26, 2002 at 03:34:35PM -0800, Kapil Khosla wrote:
 
 snip
 
   2) I used apt-get install xemacs and got the editor but am not able
   to open it from console (xemacs ),I get the follwing error
   Xlib: Client is not authorized to connect to Server
   
   Initialization error: X server not responding
   : :0.0
  
  You can't use it from console. Or did you mean xterminal?
 
 well, you can run 'xemacs -nw' to run it IN a shell... which is helful
 if you don't feel like running X.

Interresting.. But then I think that regular emacs might be better
for just command line.