* Re: [gentoo-user] how to wake up gdm
2014-06-29 19:20 ` covici
@ 2014-06-29 19:28 ` Jc García
2014-06-29 20:37 ` covici
2014-06-29 19:29 ` Michael Cook
2014-07-07 22:52 ` Tom Wijsman
2 siblings, 1 reply; 16+ messages in thread
From: Jc García @ 2014-06-29 19:28 UTC (permalink / raw
To: gentoo-user
2014-06-29 13:20 GMT-06:00 <covici@ccs.covici.com>:
> Tom Wijsman <TomWij@gentoo.org> wrote:
>
>> On Tue, 24 Jun 2014 22:36:14 +0300
>> Gevisz <gevisz@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
> covici@ccs.covici.com
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] how to wake up gdm
2014-06-29 19:28 ` Jc García
@ 2014-06-29 20:37 ` covici
2014-06-29 21:53 ` Jc García
2014-06-30 4:34 ` Gevisz
0 siblings, 2 replies; 16+ messages in thread
From: covici @ 2014-06-29 20:37 UTC (permalink / raw
To: gentoo-user
Jc García <jyo.garcia@gmail.com> wrote:
> 2014-06-29 13:20 GMT-06:00 <covici@ccs.covici.com>:
> > Tom Wijsman <TomWij@gentoo.org> wrote:
> >
> >> On Tue, 24 Jun 2014 22:36:14 +0300
> >> Gevisz <gevisz@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
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] how to wake up gdm
2014-06-29 20:37 ` covici
@ 2014-06-29 21:53 ` Jc García
2014-06-30 4:34 ` Gevisz
1 sibling, 0 replies; 16+ messages in thread
From: Jc García @ 2014-06-29 21:53 UTC (permalink / raw
To: gentoo-user
2014-06-29 14:37 GMT-06:00 <covici@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
> covici@ccs.covici.com
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] how to wake up gdm
2014-06-29 20:37 ` covici
2014-06-29 21:53 ` Jc García
@ 2014-06-30 4:34 ` Gevisz
1 sibling, 0 replies; 16+ messages in thread
From: Gevisz @ 2014-06-30 4:34 UTC (permalink / raw
To: gentoo-user
On Sun, 29 Jun 2014 16:37:12 -0400
covici@ccs.covici.com wrote:
> Jc García <jyo.garcia@gmail.com> wrote:
>
> > 2014-06-29 13:20 GMT-06:00 <covici@ccs.covici.com>:
> > > Tom Wijsman <TomWij@gentoo.org> wrote:
> > >
> > >> On Tue, 24 Jun 2014 22:36:14 +0300
> > >> Gevisz <gevisz@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.
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] how to wake up gdm
2014-06-29 19:20 ` covici
2014-06-29 19:28 ` Jc García
@ 2014-06-29 19:29 ` Michael Cook
2014-06-29 20:16 ` covici
2014-07-07 22:52 ` Tom Wijsman
2 siblings, 1 reply; 16+ messages in thread
From: Michael Cook @ 2014-06-29 19:29 UTC (permalink / raw
To: gentoo-user
On 06/29/2014 03:20 PM, covici@ccs.covici.com wrote:
> Tom Wijsman <TomWij@gentoo.org> wrote:
>
>> On Tue, 24 Jun 2014 22:36:14 +0300
>> Gevisz <gevisz@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)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] how to wake up gdm
2014-06-29 19:29 ` Michael Cook
@ 2014-06-29 20:16 ` covici
0 siblings, 0 replies; 16+ messages in thread
From: covici @ 2014-06-29 20:16 UTC (permalink / raw
To: gentoo-user
Michael Cook <mcook@mackal.net> wrote:
> On 06/29/2014 03:20 PM, covici@ccs.covici.com wrote:
> > Tom Wijsman <TomWij@gentoo.org> wrote:
> >
> >> On Tue, 24 Jun 2014 22:36:14 +0300
> >> Gevisz <gevisz@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
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] how to wake up gdm
2014-06-29 19:20 ` covici
2014-06-29 19:28 ` Jc García
2014-06-29 19:29 ` Michael Cook
@ 2014-07-07 22:52 ` Tom Wijsman
2014-07-07 23:25 ` covici
2 siblings, 1 reply; 16+ messages in thread
From: Tom Wijsman @ 2014-07-07 22:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]
On Sun, 29 Jun 2014 15:20:26 -0400
covici@ccs.covici.com wrote:
> Tom Wijsman <TomWij@gentoo.org> wrote:
>
> > On Tue, 24 Jun 2014 22:36:14 +0300
> > Gevisz <gevisz@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 : TomWij@gentoo.org
GPG Public Key : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] how to wake up gdm
2014-07-07 22:52 ` Tom Wijsman
@ 2014-07-07 23:25 ` covici
0 siblings, 0 replies; 16+ messages in thread
From: covici @ 2014-07-07 23:25 UTC (permalink / raw
To: gentoo-user
Tom Wijsman <TomWij@gentoo.org> wrote:
> On Sun, 29 Jun 2014 15:20:26 -0400
> covici@ccs.covici.com wrote:
>
> > Tom Wijsman <TomWij@gentoo.org> wrote:
> >
> > > On Tue, 24 Jun 2014 22:36:14 +0300
> > > Gevisz <gevisz@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
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 16+ messages in thread