Re: XDM can't shutdown
On Wed, Nov 26, 2003 at 08:04:42PM -0800, Marc Wilson wrote: On Thu, Nov 27, 2003 at 03:19:49AM +, [EMAIL PROTECTED] wrote: use update-alternatives --config x-window-manager to get to a menu that will allow you to select between what you've got available. then use startx to fire it up. No, no, NO. The alternatives system is not intended to facilitate a *user* choosing a particular application binary, it is intended to provide a mechanism for several application binaries to perform the same role interchangeably. At a *system* level. Policy defines the operation of that alternative, and the scoring method necessary to provide a sane and safe default. Messing with the alternative is of questionable benefit, even if the machine is single user, and is usually of zero educational benefit as it's a complete Debian-ism. Further, the idea of Debian's X startup even paying the slightest bit of attention to the alternative depends on a number of variables, including but not limited to whether or not the user has provided any sort of .xinitrc or .xsession file in $HOME. If the user wants anything at all to launch at startup, any other X client, he's going to have to write an .xinitrc/.xsession, and the alternative is going to get *ignored*. His X session will start up, and just as nicely shut down again because there's no client launching to hold it up. Please, please, PLEASE... if you're going to tell people how to mess with X, at least educate them PROPERLY. If you want a particular X client or set of X clients to launch when X starts (and yes, the window manager is just another X client, albeit one with a specific role), then write a proper .xsession or .xinitrc and let things work the way they're intended to. How people hit on the esoteric method of modifying the alternative, which requires that you be root, versus a simple user-level configuration (which makes the alternative utterly irrelevant) is something I'll never understand. I even met someone once who insisted the way to do things was to set the alternative, then use 'exec x-window-manager' in .xinitrc... -- jeez, relax. we're not all competing here. i even met someone once what a shock his perspective must have been to you. at least, in this case, nobody is insisting that _the_ way is oops, no, that's not true, is it? you are, aren't you? so update-alternatives was developed with nobler intents than my meagre employment of it--big deal. on this single user system, it works, hasn't broken anything, and if you really are interested in understanding how people hit on the esoteric method, i'm sure that the mail archives might spit up the first mention of it, which was a while back and not the only one up to now. ben -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: XDM can't shutdown
On Tue, Nov 25, 2003 at 09:27:14PM -0500, lee wrote: On Tuesday 25 November 2003 12:31, Otto Wyss wrote: I've installed XDM to get directly into X after starting but XDM doesn't allow for a shutdown. Are there better alternatives to start X without installing Gome or KDE (just use XFCE) or can XDM be configured to have a shutdown feature? O. Wyss How 'bout WDM ? Yup, seconded. However there's an annoying problem with default x-display-manager in unstable at the moment: http://bugs.debian.org/219184 -- Jon Dowland http://jon.dowland.name/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: XDM can't shutdown
On Sat, Nov 22, 2003 at 11:09:48PM +0100, Otto Wyss wrote: I've installed XDM to get directly into X after starting but XDM doesn't allow for a shutdown. How can this be changed or are there better alternatives to start X without installing Gome or KDE? unless you're totally fixated on starting into x, dump xdm, apt-get xbase-clients to get hold of startx. there's a whole slew of alternative That's what I do myself all the time but now I have to install it for a a novice user I don't want to plague with the console. apart from that, what's stopping you from doing an su to root in an xterm, and then shutdown -h now? See above. BTW how can I give a normal user the right to shutdown without the root password? O. Wyss -- See http://wxguide.sourceforge.net/; for ideas how to design your app. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: XDM can't shutdown
Otto Wyss wrote: I've installed XDM to get directly into X after starting but XDM doesn't allow for a shutdown. How can this be changed or are there better alternatives to start X without installing Gome or KDE? You should be able to install kdm or gdm without installing the full-blown Gnome or KDE environments. You might also take a look at wdm, although I don't think it offers a shutdown option either. You haven't look at the list of dependend packages otherwise you wouldn't suggest it. I'll have a look into wdm but it seems Debian doesn't offer a useful login app. O. Wyss -- See http://wxguide.sourceforge.net/; for ideas how to design your app. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: XDM can't shutdown
On Thu, Nov 27, 2003 at 06:13:45PM +0100, Otto Wyss wrote: I'll have a look into wdm but it seems Debian doesn't offer a useful login app. Other than xdm/gdm/kdm/wdm, huh? They're all useful. Just because there isn't one that exactly fits your specific features doesn't make them any less. Exactly what display manager is out there that Debian does NOT offer? -- Marc Wilson | Alea iacta est. [The die is cast] -- Gaius Julius [EMAIL PROTECTED] | Caesar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
XDM can't shutdown
I've installed XDM to get directly into X after starting but XDM doesn't allow for a shutdown. How can this be changed or are there better alternatives to start X without installing Gome or KDE? O. Wyss -- See http://wxguide.sourceforge.net/; for ideas how to design your app. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: XDM can't shutdown
On Sat, Nov 22, 2003 at 11:09:48PM +0100, Otto Wyss wrote: I've installed XDM to get directly into X after starting but XDM doesn't allow for a shutdown. How can this be changed or are there better alternatives to start X without installing Gome or KDE? unless you're totally fixated on starting into x, dump xdm, apt-get xbase-clients to get hold of startx. there's a whole slew of alternative window managers to choose from. check the mail archives for recent appraisals of quite a few. download a few and use update-alternatives --config x-window-manager to get to a menu that will allow you to select between what you've got available. then use startx to fire it up. apart from that, what's stopping you from doing an su to root in an xterm, and then shutdown -h now? ben -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
XDM can't shutdown
I've installed XDM to get directly into X after starting but XDM doesn't allow for a shutdown. Are there better alternatives to start X without installing Gome or KDE (just use XFCE) or can XDM be configured to have a shutdown feature? O. Wyss -- See http://wxguide.sourceforge.net/; for ideas how to design your app. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: XDM can't shutdown
Otto Wyss wrote: I've installed XDM to get directly into X after starting but XDM doesn't allow for a shutdown. How can this be changed or are there better alternatives to start X without installing Gome or KDE? O. Wyss You should be able to install kdm or gdm without installing the full-blown Gnome or KDE environments. You might also take a look at wdm, although I don't think it offers a shutdown option either. -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: XDM can't shutdown
[EMAIL PROTECTED] (Otto Wyss) writes: I've installed XDM to get directly into X after starting but XDM doesn't allow for a shutdown. How can this be changed or are there better alternatives to start X without installing Gome or KDE? X is X; using a single application (or display manager) from one world doesn't require you to only use that world forever more. If you don't like xdm, use a different display manager. My machines use gdm, but beyond that I have one custom GNOME app, and for a while I was using Konqueror as my Web browser; I don't use the gnome-session stuff at all. You should be able to straightforwardly configure gdm to start KDE, or kwm to start GNOME. -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ Theoretical politics is interesting. Politicking should be illegal. -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: XDM can't shutdown
On Thu, Nov 27, 2003 at 03:19:49AM +, [EMAIL PROTECTED] wrote: use update-alternatives --config x-window-manager to get to a menu that will allow you to select between what you've got available. then use startx to fire it up. No, no, NO. The alternatives system is not intended to facilitate a *user* choosing a particular application binary, it is intended to provide a mechanism for several application binaries to perform the same role interchangeably. At a *system* level. Policy defines the operation of that alternative, and the scoring method necessary to provide a sane and safe default. Messing with the alternative is of questionable benefit, even if the machine is single user, and is usually of zero educational benefit as it's a complete Debian-ism. Further, the idea of Debian's X startup even paying the slightest bit of attention to the alternative depends on a number of variables, including but not limited to whether or not the user has provided any sort of .xinitrc or .xsession file in $HOME. If the user wants anything at all to launch at startup, any other X client, he's going to have to write an .xinitrc/.xsession, and the alternative is going to get *ignored*. His X session will start up, and just as nicely shut down again because there's no client launching to hold it up. Please, please, PLEASE... if you're going to tell people how to mess with X, at least educate them PROPERLY. If you want a particular X client or set of X clients to launch when X starts (and yes, the window manager is just another X client, albeit one with a specific role), then write a proper .xsession or .xinitrc and let things work the way they're intended to. How people hit on the esoteric method of modifying the alternative, which requires that you be root, versus a simple user-level configuration (which makes the alternative utterly irrelevant) is something I'll never understand. I even met someone once who insisted the way to do things was to set the alternative, then use 'exec x-window-manager' in .xinitrc... -- Marc Wilson | Never frighten a small man -- he'll kill you. [EMAIL PROTECTED] | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: XDM can't shutdown
On Tuesday 25 November 2003 12:31, Otto Wyss wrote: I've installed XDM to get directly into X after starting but XDM doesn't allow for a shutdown. Are there better alternatives to start X without installing Gome or KDE (just use XFCE) or can XDM be configured to have a shutdown feature? O. Wyss How 'bout WDM ? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xdm e shutdown
On Thu, 4 Apr 2002 04:49:19 -0300 (EST) caio ferreira [EMAIL PROTECTED] wrote: All Instalei o pacote xdm para login grafico. Ate ai tudo beleza, a inicializacao grafica ocorre normalmente. O problema eh na hora de desligar o micro, sou obrigado a executar o CTRL+ALT+F1 e depois CTRL+ALT+DEL para poder desligar o computador. Existe alguma forma de criar botoes, um para desligar e outro para reinicializar ?!?!?! Instala o gdm (apt-get install gdm), ele tem o menu system pra desligar e reiniciar. -- [ ]'s ***.''`. * [EMAIL PROTECTED] * : :' : * GNU/Linux Debian * `. `'` *** `- Key fingerprint = F9F6 F9CC 3DDD 27B5 B3A4 517E 3B38 EC8E 6FC4 89C9 Paradoxo: Xampu para cabelos secos? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- nick: fsf (fsf significa fsf) alternativo: finsu (finsu is not simple user) Viva o software livre www.fsf.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
xdm e shutdown
All Instalei o pacote xdm para login grafico. Ate ai tudo beleza, a inicializacao grafica ocorre normalmente. O problema eh na hora de desligar o micro, sou obrigado a executar o CTRL+ALT+F1 e depois CTRL+ALT+DEL para poder desligar o computador. Existe alguma forma de criar botoes, um para desligar e outro para reinicializar ?!?!?! -- [ ]'s ***.''`. * [EMAIL PROTECTED] * : :' : * GNU/Linux Debian * `. `'` *** `- Key fingerprint = F9F6 F9CC 3DDD 27B5 B3A4 517E 3B38 EC8E 6FC4 89C9 Paradoxo: Xampu para cabelos secos? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xdm e shutdown
Em Thu, Apr 04, 2002 at 04:49:19AM -0300, caio ferreira escreveu:: Instalei o pacote xdm para login grafico. Ate ai tudo beleza, a inicializacao grafica ocorre normalmente. O problema eh na hora de desligar o micro, sou obrigado a executar o CTRL+ALT+F1 e depois CTRL+ALT+DEL para poder desligar o computador. Existe alguma forma de criar botoes, um para desligar e outro para reinicializar ?!?!?! O wdm faz isto, apesar de não ser recomendado por questões de segurança, mas... What a heck! Meu micro não é um servidor! Eu uso aqui em casa. Se bem que na maior parte das vezes desligo na linha de comando mesmo. leia como fazer isto nas páginas do manual do sudo (man sudo), se ele já tiver instalado. Qq dúvida mande e-mail. []s -- \\|||/// Itamar Grochowski Rocha Fortune cookie for you: Os esqueletos dos reis são apenas esqueletos. --Mikhail Naimy Hey! Você já conhecia este pacote? cocoon-doc - Documentation for Cocoon //|||\\\ pgpD95o4wGuqf.pgp Description: PGP signature
Re: xdm e shutdown
Em Thu, Apr 04, 2002 at 10:19:44AM -0300, Itamar Grochowski Rocha escreveu:: Em Thu, Apr 04, 2002 at 04:49:19AM -0300, caio ferreira escreveu:: Instalei o pacote xdm para login grafico. Ate ai tudo beleza, a inicializacao grafica ocorre normalmente. O problema eh na hora de desligar o micro, sou obrigado a executar o CTRL+ALT+F1 e depois CTRL+ALT+DEL para poder desligar o computador. Existe alguma forma de criar botoes, um para desligar e outro para reinicializar ?!?!?! O wdm faz isto, apesar de não ser recomendado por questões de segurança, mas... What a heck! Meu micro não é um servidor! Eu uso aqui em casa. Se bem que na maior parte das vezes desligo na linha de comando mesmo. leia como fazer isto nas páginas do manual do sudo (man sudo), se ele já tiver instalado. Qq dúvida mande e-mail. Quer usar algo mais bonitinho? Já fez o sudu funcionar? Então modifique o script que segue anexo como quiser e salve-o em ~/bin/ (não esqueça de torná-lo executável) e inclua no menu do seu WM uma chamada para ele. Pronto. []s -- \\|||/// Itamar Grochowski Rocha Fortune cookie for you: Princípio do Comunismo: De cada um, segundo a sua capacidade, para cada um, segundo a sua necessidade. Hey! Você já conhecia este pacote? libbcel-java - analyze, create, and manipulate (binary) Java class files //|||\\\ #!/bin/bash xmessage -center -buttons Desligar:2,Reiniciar:1,Desistir:0 -timeout 15 -default Desistir Você realmente deseja desligar o computador? if ((PIPESTATUS == 2)) then sudo /sbin/halt elif ((PIPESTATUS == 1)) then sudo /sbin/reboot fi
Re: xdm and shutdown
Jorge Daniel Ruckj [EMAIL PROTECTED] writes: Hi all. How I do a shutdown if I use xdm? Thanks Are you aware that even while using xdm one can press Ctrl-Alt-F1 to get to a text console? I find a surprising number of linux users unaware of this fact. From the text console, you can do a shutdown as normal. A while ago (within the last two weeks, I think) someone posted some nice tcl/tk code that one could add to some of xdm's startup scripts to get a little shutdown button to appear on the xdm startup screen. I'll see if I can go dig it up... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xdm and shutdown
Daniel Martin at cush wrote: Jorge Daniel Ruckj [EMAIL PROTECTED] writes: Hi all. How I do a shutdown if I use xdm? Thanks Are you aware that even while using xdm one can press Ctrl-Alt-F1 to get to a text console? I find a surprising number of linux users unaware of this fact. A lot of people are also unaware that typing 'Ctrl-r' from the xdm login screen exits xdm. Note that xdm is not killed. This mapping is actually set up by the resources for the server in /etc/X11/xdm/Xresources, resource xlogin*login.translations. At least on my system I have: xlogin*login.translations: #override\ CtrlKeyR: abort-display()\n\ KeyF1: set-session-argument(failsafe) finish-field()\n\ CtrlKeyReturn: set-session-argument(failsafe) finish-field()\n\ KeyReturn: set-session-argument() finish-field() From the text console, you can do a shutdown as normal. A while ago (within the last two weeks, I think) someone posted some nice tcl/tk code that one could add to some of xdm's startup scripts to get a little shutdown button to appear on the xdm startup screen. I'll see if I can go dig it up... -- Jens B. Jorgensen [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
xdm and shutdown
Hi all. How I do a shutdown if I use xdm? Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xdm and shutdown
shutdown -h 0? just remember to save stuff first... On Thu, 30 Apr 1998, Jorge Daniel Ruckj wrote: Hi all. How I do a shutdown if I use xdm? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]