You are not logged in.

#1 2013-05-09 00:13:05

barretme
Member
From: USA
Registered: 2012-08-09
Posts: 5

[SOLVED] Possible to load GDM with startx?

I currently boot into the command line and then

startx

to get into GNOME. Is it possible to load GDM in .xinitrc or by any other means when I load my desktop environment? The reason I ask is because I can't get a lock screen to work unless I enable gdm.service at boot, which I don't want. Thanks.

Last edited by barretme (2013-05-09 02:23:48)

Offline

#2 2013-05-09 00:39:43

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Possible to load GDM with startx?

No. You cannot start a DM as anyone but root. It must be capable of creating PAM sessions which is strictly a privileged operation.

Offline

#3 2013-05-09 02:23:26

barretme
Member
From: USA
Registered: 2012-08-09
Posts: 5

Re: [SOLVED] Possible to load GDM with startx?

Was afraid of that. Thanks for the reply.

Offline

#4 2013-05-09 05:55:48

Continwm
Member
From: P
Registered: 2011-05-03
Posts: 7
Website

Re: [SOLVED] Possible to load GDM with startx?

barretme wrote:

The reason I ask is because I can't get a lock screen to work unless I enable gdm.service at boot, which I don't want. Thanks.

Actually, if what you want is the ability to lock the screen you don't have to enable gdm.
Just add "gnome-screensaver &" to your .xinitrc (before "exec gnome-session").
The lock screen this way is rather shabby, but better than nothing.

Offline

Board footer

Powered by FluxBB