Re: [gentoo-user] how to wake up gdm
On Sun, 29 Jun 2014 15:20:26 -0400 cov...@ccs.covici.com wrote: Tom Wijsman tom...@gentoo.org wrote: On Tue, 24 Jun 2014 22:36:14 +0300 Gevisz gev...@gmail.com wrote: Are you sure that you need gdm at all? Yes, `startx` doesn't work well in GNOME 3 for a lot of people; so, unless one attempts to cover what the login manager sets up, I don't think that a plain call with a plain `exec gnome-session` will work. It for example needs the *-launch things between exec and gnome-session. So, What can I do aside from restarting gdm after it goes to sleep or whatever its doing after a few minutes? Also, I did try startx and I did get a session and it seems to work, although I have not tested extensively. Sounds like some kind of power management kicking in; usually typing some key and/or mouse helps with that, a step further is to try pressing the power button if it has made it sleep, suspend, ... The screen-saver control of x11-apps/xset might help correct this. -- With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : tom...@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D signature.asc Description: PGP signature
Re: [gentoo-user] how to wake up gdm
Tom Wijsman tom...@gentoo.org wrote: On Sun, 29 Jun 2014 15:20:26 -0400 cov...@ccs.covici.com wrote: Tom Wijsman tom...@gentoo.org wrote: On Tue, 24 Jun 2014 22:36:14 +0300 Gevisz gev...@gmail.com wrote: Are you sure that you need gdm at all? Yes, `startx` doesn't work well in GNOME 3 for a lot of people; so, unless one attempts to cover what the login manager sets up, I don't think that a plain call with a plain `exec gnome-session` will work. It for example needs the *-launch things between exec and gnome-session. So, What can I do aside from restarting gdm after it goes to sleep or whatever its doing after a few minutes? Also, I did try startx and I did get a session and it seems to work, although I have not tested extensively. Sounds like some kind of power management kicking in; usually typing some key and/or mouse helps with that, a step further is to try pressing the power button if it has made it sleep, suspend, ... The screen-saver control of x11-apps/xset might help correct this. I found out that at least part of the problem is that the correct window is not in focus, not sure why. If I hit right-control-alt and hold them and use the tab key sometimes, I get the correct item in focus and can login normally. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] how to wake up gdm
On Tue, 24 Jun 2014 22:36:14 +0300 Gevisz gev...@gmail.com wrote: Are you sure that you need gdm at all? Yes, `startx` doesn't work well in GNOME 3 for a lot of people; so, unless one attempts to cover what the login manager sets up, I don't think that a plain call with a plain `exec gnome-session` will work. It for example needs the *-launch things between exec and gnome-session. -- With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : tom...@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D signature.asc Description: PGP signature
Re: [gentoo-user] how to wake up gdm
On Sun, 29 Jun 2014 10:05:58 +0200 Tom Wijsman tom...@gentoo.org wrote: On Tue, 24 Jun 2014 22:36:14 +0300 Gevisz gev...@gmail.com wrote:startxfce4 Are you sure that you need gdm at all? Yes, `startx` doesn't work well in GNOME 3 for a lot of people; so, unless one attempts to cover what the login manager sets up, I don't think that a plain call with a plain `exec gnome-session` will work. It for example needs the *-launch things between exec and gnome-session. Then, it is high time to switch for xfce4. First of all, the version number is bigger. :) And, the second of all :), in case of xfce4 I need only one following line in ./xinitrc startxfce4 One even can do without ./xinitrc al all if he do not mind instead of the startx command type startxfce4. P.S. I have switched to xfce4 from gnome2 and nobody can find any difference. Only I know that the image of sun in gnome2 weather applet was nicer. :)
Re: [gentoo-user] how to wake up gdm
Tom Wijsman tom...@gentoo.org wrote: On Tue, 24 Jun 2014 22:36:14 +0300 Gevisz gev...@gmail.com wrote: Are you sure that you need gdm at all? Yes, `startx` doesn't work well in GNOME 3 for a lot of people; so, unless one attempts to cover what the login manager sets up, I don't think that a plain call with a plain `exec gnome-session` will work. It for example needs the *-launch things between exec and gnome-session. So, What can I do aside from restarting gdm after it goes to sleep or whatever its doing after a few minutes? Also, I did try startx and I did get a session and it seems to work, although I have not tested extensively. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] how to wake up gdm
2014-06-29 13:20 GMT-06:00 cov...@ccs.covici.com: Tom Wijsman tom...@gentoo.org wrote: On Tue, 24 Jun 2014 22:36:14 +0300 Gevisz gev...@gmail.com wrote: Are you sure that you need gdm at all? Yes, `startx` doesn't work well in GNOME 3 for a lot of people; so, unless one attempts to cover what the login manager sets up, I don't think that a plain call with a plain `exec gnome-session` will work. It for example needs the *-launch things between exec and gnome-session. So, What can I do aside from restarting gdm after it goes to sleep or whatever its doing after a few minutes? Also, I did try startx and I did get a session and it seems to work, although I have not tested extensively. Have you tried any other DM? technically gdm, just calls gnome-session( it does other things, but thats the main goal), so I'd guess, you could use something like lightdm. altought I haven't tested it with gnome. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] how to wake up gdm
On 06/29/2014 03:20 PM, cov...@ccs.covici.com wrote: Tom Wijsman tom...@gentoo.org wrote: On Tue, 24 Jun 2014 22:36:14 +0300 Gevisz gev...@gmail.com wrote: Are you sure that you need gdm at all? Yes, `startx` doesn't work well in GNOME 3 for a lot of people; so, unless one attempts to cover what the login manager sets up, I don't think that a plain call with a plain `exec gnome-session` will work. It for example needs the *-launch things between exec and gnome-session. So, What can I do aside from restarting gdm after it goes to sleep or whatever its doing after a few minutes? Also, I did try startx and I did get a session and it seems to work, although I have not tested extensively. What are your settings under the Power settings in the settings app? I have Blank screen: 5 minutes and Automatic suspend: Off (there are no other settings under Suspend Power Off)
Re: [gentoo-user] how to wake up gdm
Michael Cook mc...@mackal.net wrote: On 06/29/2014 03:20 PM, cov...@ccs.covici.com wrote: Tom Wijsman tom...@gentoo.org wrote: On Tue, 24 Jun 2014 22:36:14 +0300 Gevisz gev...@gmail.com wrote: Are you sure that you need gdm at all? Yes, `startx` doesn't work well in GNOME 3 for a lot of people; so, unless one attempts to cover what the login manager sets up, I don't think that a plain call with a plain `exec gnome-session` will work. It for example needs the *-launch things between exec and gnome-session. So, What can I do aside from restarting gdm after it goes to sleep or whatever its doing after a few minutes? Also, I did try startx and I did get a session and it seems to work, although I have not tested extensively. What are your settings under the Power settings in the settings app? I have Blank screen: 5 minutes and Automatic suspend: Off (there are no other settings under Suspend Power Off) But if I change them when I am logged in as my regular user, with they apply to gdm? They seem OK, I don't get any screen blanking in a regular session. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] how to wake up gdm
Jc García jyo.gar...@gmail.com wrote: 2014-06-29 13:20 GMT-06:00 cov...@ccs.covici.com: Tom Wijsman tom...@gentoo.org wrote: On Tue, 24 Jun 2014 22:36:14 +0300 Gevisz gev...@gmail.com wrote: Are you sure that you need gdm at all? Yes, `startx` doesn't work well in GNOME 3 for a lot of people; so, unless one attempts to cover what the login manager sets up, I don't think that a plain call with a plain `exec gnome-session` will work. It for example needs the *-launch things between exec and gnome-session. So, What can I do aside from restarting gdm after it goes to sleep or whatever its doing after a few minutes? Also, I did try startx and I did get a session and it seems to work, although I have not tested extensively. Have you tried any other DM? technically gdm, just calls gnome-session( it does other things, but thats the main goal), so I'd guess, you could use something like lightdm. altought I haven't tested it with gnome. I have tried xfce4 using startx and it worked great under openrc and I went to a lot of trouble to boot with systemd to keep using gnome, but maybe I will go back to xfce4 after all, if using startx with gnome-session gives problems. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] how to wake up gdm
2014-06-29 14:37 GMT-06:00 cov...@ccs.covici.com: I have tried xfce4 using startx and it worked great under openrc and I went to a lot of trouble to boot with systemd to keep using gnome, but maybe I will go back to xfce4 after all, if using startx with gnome-session gives problems. If you want to run gnome-session from startx, I think your minimum line should be: exec /usr/bin/dbus-lauch --exit-with-session /usr/bin/gnome-session I have eventually used that for long sessions, but I haven't got around, making it not ask the keyring password, as I only use startx for starting awesome now, when I don't want to use a lot of ram. It comes to my mind a workaround for your case, you point out this only happends when you leave gdm sitting there without starting a session, wasting your ram anyway, so why don't you change your systemd defalut.target to just multiuser.target, configure gdm to auto-login your user, alias myxsession=sudo systemctl start gdm.service in your .bashrc, and add proper line for your user with NOPASSWD parameter for that on /etc/sudoers, I would do that if I didn't logged into a X session right away after boot. Its a shame it's going bad for you, I've actually had a good experience with the versatility of systemd these past months, and gnome has become a nice desktop in my opinion. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] how to wake up gdm
On Sun, 29 Jun 2014 16:37:12 -0400 cov...@ccs.covici.com wrote: Jc García jyo.gar...@gmail.com wrote: 2014-06-29 13:20 GMT-06:00 cov...@ccs.covici.com: Tom Wijsman tom...@gentoo.org wrote: On Tue, 24 Jun 2014 22:36:14 +0300 Gevisz gev...@gmail.com wrote: Are you sure that you need gdm at all? Yes, `startx` doesn't work well in GNOME 3 for a lot of people; so, unless one attempts to cover what the login manager sets up, I don't think that a plain call with a plain `exec gnome-session` will work. It for example needs the *-launch things between exec and gnome-session. So, What can I do aside from restarting gdm after it goes to sleep or whatever its doing after a few minutes? Also, I did try startx and I did get a session and it seems to work, although I have not tested extensively. Have you tried any other DM? technically gdm, just calls gnome-session( it does other things, but thats the main goal), so I'd guess, you could use something like lightdm. altought I haven't tested it with gnome. I have tried xfce4 using startx and it worked great under openrc and I went to a lot of trouble to boot with systemd to keep using gnome, just another reason to return to openrc+xfce4 and, in general, to avoid huge complicated programs that do not comply with the unix principles but maybe I will go back to xfce4 after all, if using startx with gnome-session gives problems.
Re: [gentoo-user] how to wake up gdm
On 06/24/2014 11:51 AM, cov...@ccs.covici.com wrote: Hi. If I don't log in to gdm after a few minutes gdm enters a mode where no keystroke seems to wake it up -- I did manage to move the mouse and wake it up, but is there a way to disable the feature (maybe its a screen saver or something), so it does not go to sleep? Thanks in advance for any suggestions. Something must be going wrong. Basically it's entering powersave mode instead of activating a screen saver like older gnome would. Maybe it's entering suspend/hibernate instead of just putting the display to sleep? Either way, shaking my mouse or pressing a key wakes GDM up fine here.
Re: [gentoo-user] how to wake up gdm
Michael Cook mc...@mackal.net wrote: On 06/24/2014 11:51 AM, cov...@ccs.covici.com wrote: Hi. If I don't log in to gdm after a few minutes gdm enters a mode where no keystroke seems to wake it up -- I did manage to move the mouse and wake it up, but is there a way to disable the feature (maybe its a screen saver or something), so it does not go to sleep? Thanks in advance for any suggestions. Something must be going wrong. Basically it's entering powersave mode instead of activating a screen saver like older gnome would. Maybe it's entering suspend/hibernate instead of just putting the display to sleep? Either way, shaking my mouse or pressing a key wakes GDM up fine here. Hmmm, this last time, even shaking the mouse did nothing, I had to restart gdm and gdm always leaves behind several processes which I must kill for things to work again. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] how to wake up gdm
On Tue, 24 Jun 2014 11:51:40 -0400 cov...@ccs.covici.com wrote: Hi. If I don't log in to gdm after a few minutes gdm enters a mode where no keystroke seems to wake it up -- I did manage to move the mouse and wake it up, but is there a way to disable the feature (maybe its a screen saver or something), so it does not go to sleep? Thanks in advance for any suggestions. Are you sure that you need gdm at all? The startx command from the console already after login there works just fine. The only thing you need is to put something like export XDG_MENU_PREFIX=gnome- exec gnome-session into your ~/.xinitrc file. Those lines was needed for my Gnome2. Gnome3 may need something different. But I do not care any more, as I migrated to xfce4. :)
Re: [gentoo-user] how to wake up gdm
Gevisz gev...@gmail.com wrote: On Tue, 24 Jun 2014 11:51:40 -0400 cov...@ccs.covici.com wrote: Hi. If I don't log in to gdm after a few minutes gdm enters a mode where no keystroke seems to wake it up -- I did manage to move the mouse and wake it up, but is there a way to disable the feature (maybe its a screen saver or something), so it does not go to sleep? Thanks in advance for any suggestions. Are you sure that you need gdm at all? The startx command from the console already after login there works just fine. The only thing you need is to put something like export XDG_MENU_PREFIX=gnome- exec gnome-session into your ~/.xinitrc file. Those lines was needed for my Gnome2. Gnome3 may need something different. But I do not care any more, as I migrated to xfce4. :) I have tried that in the past, I may do that instead. Thanks. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com