Re: Vá : Using wdm how to pass -- -logverbose 6 to startx?
On Fri, Dec 28, 2007 at 07:02:46PM +0100, Paul Csanyi wrote: I have not .xinitrc less ~/.xsession is: #!/bin/bash ##[Desktop Entry] #Encoding=hu_HU #Name=Window maker #Comment=This session logs you into Window Maker #Exec=/usr/bin/wmaker ^ Its commented out! -- Chris. == -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Vá: Using wdm how to pass -- -logverbose 6 to startx?
On Sat, Dec 29, 2007 at 08:19:32AM -0800, Daniel Burrows [EMAIL PROTECTED] was heard to say: On Fri, Dec 28, 2007 at 07:02:46PM +0100, Paul Csanyi [EMAIL PROTECTED] was heard to say: 2007/12/28, Andrew Sackville-West [EMAIL PROTECTED]: you'll need to just press enter to keep it as currently set. Do you have a ~/.xinitrc or ~/.xsession file? if so, what are the contents? I have not .xinitrc less ~/.xsession is: #!/bin/bash ##[Desktop Entry] #Encoding=hu_HU #Name=Window maker #Comment=This session logs you into Window Maker #Exec=/usr/bin/wmaker ## no icon yet, only the top three are currently used #Icon= #Type=Application So, you've told your X session to exit immediately. This will probably produce the behavior you're seeing, of it exiting immediately. :-) Um, that was a slightly cryptic comment. What's happening is that you've copied the .desktop file for your window manager into ~/.xsession. .xsession is a bash script [0]. Desktop files are not bash scripts, so including fragments of a desktop file in a bash script will do nothing useful (in fact, it will probably produce a syntax error). On top of this, you've commented out every line of the desktop entry, which means that the lines will be completely ignored by the bash interpreter. That means that your .xsession has no effect at all, and since your X session ends as soon as your .xsession script finishes, this script will cause your X sessions to exit immediately (dumping you back to the login screen). You want this script to run /usr/bin/wmaker and exit. In fact, it would be even better if it could run /usr/bin/wmaker and exit, but run xterm if invoking wmaker fails for some reason. Adding exec /usr/bin/wmaker || /usr/bin/x-terminal-emulator should do just that. exec FOO causes the shell to run FOO and exit immediately [1], except if FOO can't be found, in which case the exec will fail and x-terminal-emulator will be run instead. Daniel [0] technically I think it could be any executable file, but bash scripts are typical, and of course since you put #!/bin/bash at the top, it will be interpreted by bash. [1] technically the running bash instance is replaced by a copy of FOO, but from the script's point of view it's as if it exited as soon as FOO did. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Vá: Using wdm how to pass -- -logverbose 6 to startx?
On Fri, Dec 28, 2007 at 07:02:46PM +0100, Paul Csanyi [EMAIL PROTECTED] was heard to say: 2007/12/28, Andrew Sackville-West [EMAIL PROTECTED]: you'll need to just press enter to keep it as currently set. Do you have a ~/.xinitrc or ~/.xsession file? if so, what are the contents? I have not .xinitrc less ~/.xsession is: #!/bin/bash ##[Desktop Entry] #Encoding=hu_HU #Name=Window maker #Comment=This session logs you into Window Maker #Exec=/usr/bin/wmaker ## no icon yet, only the top three are currently used #Icon= #Type=Application So, you've told your X session to exit immediately. This will probably produce the behavior you're seeing, of it exiting immediately. :-) Try adding the following line at the bottom of .xsession: exec /usr/bin/wmaker || x-terminal-emulator and it should work. (that says to run wmaker, and to run an xterm if wmaker can't be found) Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Vá: Using wdm how to pass -- -logverbose 6 to startx?
2007/12/28, Andrew Sackville-West [EMAIL PROTECTED]: On Thu, Dec 27, 2007 at 10:09:09PM +0100, Paul Csanyi wrote: 2007/12/27, Andrew Sackville-West [EMAIL PROTECTED]: On Thu, Dec 27, 2007 at 08:18:34PM +, Paul Csanyi wrote: Thu, 27 Dec 2007 11:49:41 -0800 keltezéssel Andrew Sackville-West azt írta: On Thu, Dec 27, 2007 at 07:10:58PM +, Paul Csanyi wrote: ... I must to start X Window with: startx -- -logverbose 6 but can't. I can only start X with wdm. I'm sure there is a way to do this in wdm, but since I don't use it, I can't comment specifically on that. But then how can I pass the parameter to startx? why not just disable wdm for the moment and use startx directly? update-rc.d -f wdm remove as root should do it, then you can just log in to a VT and startx from there. I traied that following your advice, but just can't to start X with startx. Paul, you really need to provide more information than this. What happens when you type startx? please provide the exact output. I post it as attachment. Your Xorg.0.log looks fine to me. So what exactly happens when you type startx? maybe you don't have a window manager selected? How have you selected your window manager before, using wdm? When I type startx then it runs and on the end I get a blank screen and then I get the Virtual Terminal back again. This was yesterday. Today I purge the wdm, xserver-xorg, and install xserver-xorg but without wdm again. I try now to get X Window with startx, but without success. I post the Xorg.0.log.bz2 again, if that help. I think I go to reinstall the Etch system. :( -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm Xorg.0.log.bz2 Description: BZip2 compressed data
Re: Using wdm how to pass -- -logverbose 6 to startx?
From: Paul Csanyi [EMAIL PROTECTED] Date: Fri, 28 Dec 2007 17:05:30 +0100 Subject: Vá: Using wdm how to pass -- -logverbose 6 to startx? To: debian-user@lists.debian.org 2007/12/28, Andrew Sackville-West [EMAIL PROTECTED]: On Thu, Dec 27, 2007 at 10:09:09PM +0100, Paul Csanyi wrote: 2007/12/27, Andrew Sackville-West [EMAIL PROTECTED]: On Thu, Dec 27, 2007 at 08:18:34PM +, Paul Csanyi wrote: Thu, 27 Dec 2007 11:49:41 -0800 keltezéssel Andrew Sackville-West azt írta: On Thu, Dec 27, 2007 at 07:10:58PM +, Paul Csanyi wrote: ... I must to start X Window with: startx -- -logverbose 6 but can't. I can only start X with wdm. I'm sure there is a way to do this in wdm, but since I don't use it, I can't comment specifically on that. But then how can I pass the parameter to startx? why not just disable wdm for the moment and use startx directly? update-rc.d -f wdm remove as root should do it, then you can just log in to a VT and startx from there. I traied that following your advice, but just can't to start X with startx. Paul, you really need to provide more information than this. What happens when you type startx? please provide the exact output. I post it as attachment. Your Xorg.0.log looks fine to me. So what exactly happens when you type startx? maybe you don't have a window manager selected? How have you selected your window manager before, using wdm? When I type startx then it runs and on the end I get a blank screen and then I get the Virtual Terminal back again. This was yesterday. Today I purge the wdm, xserver-xorg, and install xserver-xorg but without wdm again. I try now to get X Window with startx, but without success. I think I go to reinstall the Etch system. :( -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm
Re: Vá : Using wdm how to pass -- -logverbose 6 to startx?
On Fri, Dec 28, 2007 at 05:05:30PM +0100, Paul Csanyi wrote: 2007/12/28, Andrew Sackville-West [EMAIL PROTECTED]: Your Xorg.0.log looks fine to me. So what exactly happens when you type startx? maybe you don't have a window manager selected? How have you selected your window manager before, using wdm? When I type startx then it runs and on the end I get a blank screen and then I get the Virtual Terminal back again. Paul, if you want help, you need to be patient. THe behavior above is normal. Your X was working, you just didn't have a WM set as the default, or setup in ~/.xinitrc. This was yesterday. Today I purge the wdm, xserver-xorg, and install xserver-xorg but without wdm again. why did you purge it? it was working. I try now to get X Window with startx, but without success. Again, in *what way* are you not having success? you Xorg.0.log again looks ust fine. You are still facing the same problem as above. I think I go to reinstall the Etch system. :( please don't do this. There is no need. Please answer the following questions and I'll help you. WHat window manager do you want to use? What is the output of (as root): update-alternatives --config x-window-manager you'll need to just press enter to keep it as currently set. Do you have a ~/.xinitrc or ~/.xsession file? if so, what are the contents? A signature.asc Description: Digital signature
Vá: Using wdm how to pass -- -logverbose 6 to startx?
2007/12/28, Andrew Sackville-West [EMAIL PROTECTED]: On Fri, Dec 28, 2007 at 05:05:30PM +0100, Paul Csanyi wrote: 2007/12/28, Andrew Sackville-West [EMAIL PROTECTED]: Your Xorg.0.log looks fine to me. So what exactly happens when you type startx? maybe you don't have a window manager selected? How have you selected your window manager before, using wdm? When I type startx then it runs and on the end I get a blank screen and then I get the Virtual Terminal back again. Paul, if you want help, you need to be patient. THe behavior above is normal. Your X was working, you just didn't have a WM set as the default, or setup in ~/.xinitrc. This was yesterday. Today I purge the wdm, xserver-xorg, and install xserver-xorg but without wdm again. why did you purge it? it was working. I try now to get X Window with startx, but without success. Again, in *what way* are you not having success? you Xorg.0.log again looks ust fine. You are still facing the same problem as above. Please answer the following questions and I'll help you. WHat window manager do you want to use? I want to use Window Maker. What is the output of (as root): update-alternatives --config x-window-manager There is only 1 program which provides x-window-manager (/usr/bin/wmaker). Nothing to configure. you'll need to just press enter to keep it as currently set. Do you have a ~/.xinitrc or ~/.xsession file? if so, what are the contents? I have not .xinitrc less ~/.xsession is: #!/bin/bash ##[Desktop Entry] #Encoding=hu_HU #Name=Window maker #Comment=This session logs you into Window Maker #Exec=/usr/bin/wmaker ## no icon yet, only the top three are currently used #Icon= #Type=Application -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using wdm how to pass -- -logverbose 6 to startx?
On Fri, Dec 28, 2007 at 06:32:01PM +0100, Paul Csanyi wrote: When I type startx then it runs and on the end I get a blank screen and then I get the Virtual Terminal back again. This was yesterday. The next step, missing from this description, should be to look at the logs to see what happened. Today I purge the wdm, xserver-xorg, and install xserver-xorg but without wdm again. I try now to get X Window with startx, but without success. I think I go to reinstall the Etch system. :( A non-destructive option might be to boot a live CD system (e.g., Ubuntu, Knoppix, ...) and have a look at what it does to get X working, assuming that it does work of course. -- Ken Irving, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Vá : Using wdm how to pass -- -logverbose 6 to startx?
On Fri, Dec 28, 2007 at 07:02:46PM +0100, Paul Csanyi wrote: 2007/12/28, Andrew Sackville-West [EMAIL PROTECTED]: WHat window manager do you want to use? I want to use Window Maker. What is the output of (as root): update-alternatives --config x-window-manager There is only 1 program which provides x-window-manager (/usr/bin/wmaker). Nothing to configure. okay. interesting, my understanding is that *should* just work, but regardless here is one solution: create a new ~/.xinitrc file and put in it the following: exec /usr/bin/wmaker x-terminal-emulator save the file and try startx. you *should* get a working wmaker session and if wmaker somehow fails, you'll instead get whatever the default x-terminal-emulator is in a bare X session. Either way, based on the logs you've sent, and the information you've provided, you should be up and running. A signature.asc Description: Digital signature
Re: Vá: Using wdm how to pass -- -logverbose 6 to startx?
2007/12/28, Andrew Sackville-West [EMAIL PROTECTED]: On Fri, Dec 28, 2007 at 07:02:46PM +0100, Paul Csanyi wrote: 2007/12/28, Andrew Sackville-West [EMAIL PROTECTED]: WHat window manager do you want to use? I want to use Window Maker. What is the output of (as root): update-alternatives --config x-window-manager There is only 1 program which provides x-window-manager (/usr/bin/wmaker). Nothing to configure. okay. interesting, my understanding is that *should* just work, but regardless here is one solution: create a new ~/.xinitrc file and put in it the following: exec /usr/bin/wmaker x-terminal-emulator save the file and try startx. you *should* get a working wmaker session and if wmaker somehow fails, you'll instead get whatever the default x-terminal-emulator is in a bare X session. Either way, based on the logs you've sent, and the information you've provided, you should be up and running. Yes, my problem is solved, thanks to you! :) -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Using wdm how to pass -- -logverbose 6 to startx?
Hello! My displaymanager is wdm on Debian Etch system. Because my X Window crashes frequently (nvidia driver woth GeForce 7600 GT card and Intel Core 2 Duo CPU), I must to investigate the reason. I must to start X Window with: startx -- -logverbose 6 but can't. I can only start X with wdm. But then how can I pass the parameter to startx? Any advicess will be appreciated! -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using wdm how to pass -- -logverbose 6 to startx?
Thu, 27 Dec 2007 11:49:41 -0800 keltezéssel Andrew Sackville-West azt írta: On Thu, Dec 27, 2007 at 07:10:58PM +, Paul Csanyi wrote: Hello! My displaymanager is wdm on Debian Etch system. Because my X Window crashes frequently (nvidia driver woth GeForce 7600 GT card and Intel Core 2 Duo CPU), I must to investigate the reason. I must to start X Window with: startx -- -logverbose 6 but can't. I can only start X with wdm. I'm sure there is a way to do this in wdm, but since I don't use it, I can't comment specifically on that. But then how can I pass the parameter to startx? why not just disable wdm for the moment and use startx directly? update-rc.d -f wdm remove as root should do it, then you can just log in to a VT and startx from there. I traied that following your advice, but just can't to start X with startx. -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using wdm how to pass -- -logverbose 6 to startx?
On Thu, Dec 27, 2007 at 07:10:58PM +, Paul Csanyi wrote: Hello! My displaymanager is wdm on Debian Etch system. Because my X Window crashes frequently (nvidia driver woth GeForce 7600 GT card and Intel Core 2 Duo CPU), I must to investigate the reason. I must to start X Window with: startx -- -logverbose 6 but can't. I can only start X with wdm. I'm sure there is a way to do this in wdm, but since I don't use it, I can't comment specifically on that. But then how can I pass the parameter to startx? why not just disable wdm for the moment and use startx directly? update-rc.d -f wdm remove as root should do it, then you can just log in to a VT and startx from there. A signature.asc Description: Digital signature
Re: Using wdm how to pass -- -logverbose 6 to startx?
On Thu, Dec 27, 2007 at 08:18:34PM +, Paul Csanyi wrote: Thu, 27 Dec 2007 11:49:41 -0800 keltezéssel Andrew Sackville-West azt írta: On Thu, Dec 27, 2007 at 07:10:58PM +, Paul Csanyi wrote: ... I must to start X Window with: startx -- -logverbose 6 but can't. I can only start X with wdm. I'm sure there is a way to do this in wdm, but since I don't use it, I can't comment specifically on that. But then how can I pass the parameter to startx? why not just disable wdm for the moment and use startx directly? update-rc.d -f wdm remove as root should do it, then you can just log in to a VT and startx from there. I traied that following your advice, but just can't to start X with startx. Paul, you really need to provide more information than this. What happens when you type startx? please provide the exact output. A signature.asc Description: Digital signature
Re: Using wdm how to pass -- -logverbose 6 to startx?
2007/12/27, Andrew Sackville-West [EMAIL PROTECTED]: On Thu, Dec 27, 2007 at 08:18:34PM +, Paul Csanyi wrote: Thu, 27 Dec 2007 11:49:41 -0800 keltezéssel Andrew Sackville-West azt írta: On Thu, Dec 27, 2007 at 07:10:58PM +, Paul Csanyi wrote: ... I must to start X Window with: startx -- -logverbose 6 but can't. I can only start X with wdm. I'm sure there is a way to do this in wdm, but since I don't use it, I can't comment specifically on that. But then how can I pass the parameter to startx? why not just disable wdm for the moment and use startx directly? update-rc.d -f wdm remove as root should do it, then you can just log in to a VT and startx from there. I traied that following your advice, but just can't to start X with startx. Paul, you really need to provide more information than this. What happens when you type startx? please provide the exact output. I post it as attachment. -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm Xorg.0.log.bz2 Description: BZip2 compressed data
Re: Using wdm how to pass -- -logverbose 6 to startx?
On Thu, Dec 27, 2007 at 19:10:58 +, Paul Csanyi wrote: Hello! My displaymanager is wdm on Debian Etch system. Because my X Window crashes frequently (nvidia driver woth GeForce 7600 GT card and Intel Core 2 Duo CPU), I must to investigate the reason. I must to start X Window with: startx -- -logverbose 6 but can't. I can only start X with wdm. But then how can I pass the parameter to startx? The entries to define the Xserver(s) are in /etc/X11/wdm/Xservers. You can add the -logverbose 6 server option to the end of this line (the last one of the file): :0 local /usr/bin/X11/X -nolisten TCP Then restart wdm. I agree with Andrew, though: I think it is better to try getting it to work with startx first. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using wdm how to pass -- -logverbose 6 to startx?
On Thu, Dec 27, 2007 at 10:09:09PM +0100, Paul Csanyi wrote: 2007/12/27, Andrew Sackville-West [EMAIL PROTECTED]: On Thu, Dec 27, 2007 at 08:18:34PM +, Paul Csanyi wrote: Thu, 27 Dec 2007 11:49:41 -0800 keltezéssel Andrew Sackville-West azt írta: On Thu, Dec 27, 2007 at 07:10:58PM +, Paul Csanyi wrote: ... I must to start X Window with: startx -- -logverbose 6 but can't. I can only start X with wdm. I'm sure there is a way to do this in wdm, but since I don't use it, I can't comment specifically on that. But then how can I pass the parameter to startx? why not just disable wdm for the moment and use startx directly? update-rc.d -f wdm remove as root should do it, then you can just log in to a VT and startx from there. I traied that following your advice, but just can't to start X with startx. Paul, you really need to provide more information than this. What happens when you type startx? please provide the exact output. I post it as attachment. Your Xorg.0.log looks fine to me. So what exactly happens when you type startx? maybe you don't have a window manager selected? How have you selected your window manager before, using wdm? A signature.asc Description: Digital signature