FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Xubuntu User

 
 
LinkBack Thread Tools
 
Old 02-19-2010, 12:07 PM
Pasi Lallinaho
 
Default New to Xubuntu: but I'm a startx user. how do I ditch the gui login???

Joe(theWordy)Philbrook wrote:
> I'm a multi-boot, multi-desktop kind of guy. I run Sabayon linux, elive,
> and now I just replaced kubuntu with Xubuntu 9.10 on my (amd64) laptop. I
> have to say that I like most of the user interface better than kde4...
>
> With all my linux installations (ever since I kde4 happened) I've been
> choosing enlightenment (either e16 or e17 depending on my mood) instead of
> kde4. Now I think I might sometimes choose xfce instead... {It's good to
> have more than one working choice one can stand to work with}
>
> But the thing is, for a real long time, it's been my habit to boot to a
> text based console session. Then, depending on what I'm doing, I usually,
> but don't always, choose to run startx to fire up a gui.
>
> I really dislike gui logins... So back when I didn't even know how to copy
> a suitable file to ~/.xinitrc to get anything besides the default desktop,
> which was always kde back then, I learned how to kill the gui on a Kubuntu
> system via:
>
> update-rc.d -f kdm remove
> update-rc.d kdm stop 20 2 3 4 5 .
>
> And when I tried edubuntu on my old {now defunct} desktop I got the
> same result from:
>
> update-rc.d -f gdm remove
> update-rc.d gdm stop 20 2 3 4 5 .
>
> And I thought Xubuntu used gdm... But I tried the above and whatever
> bootmanager is insisting on starting the gui didn't quit... to me,
> this is very frustrating.
>
> So like I said in the Subject: line... how do I ditch the gui login???
>
sudo apt-get remove gdm
> Thanks in advance.
>
>


--
Pasi Lallinaho
Xubuntu Marketing Lead
Web-designer, graphic artist
IRC: knome @ freenode


--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
 
Old 02-19-2010, 01:03 PM
"Joe(theWordy)Philbrook"
 
Default New to Xubuntu: but I'm a startx user. how do I ditch the gui login???

It would appear that on Feb 19, Pasi Lallinaho did say:

> Joe(theWordy)Philbrook wrote:

-snipped. . . . . . . . . .stuff

> >
> > So like I said in the Subject: line... how do I ditch the gui login???
> >
> sudo apt-get remove gdm

Hmmnnn. Well that sounds like a rather severe method that should certainly
work... I didn't think to try it because I wasn't sure what might have gdm
as a listed dependency, but if I remember right, any time apt-get wants to
remove more than one package it gives me a chance to say "no" so I guess
I'll try it... Though, if Xubuntu DOES use gdm, I can't figure why:

update-rc.d -f gdm remove
update-rc.d gdm stop 20 2 3 4 5 .

didn't work... It is a *buntu distribution right?

He said as he shook his head and started to load the bigger guns...
{"apt-get remove $X" IS a bigger gun than "update-rc.d -f $X remove". Isn't it?}

Thanks

--
| ~^~ ~^~
| <*> <*> Joe (theWordy) Philbrook
| ^ J(tWdy)P
| \___/ <<jtwdyp@ttlc.net>>


--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
 
Old 02-19-2010, 02:13 PM
Charlie Kravetz
 
Default New to Xubuntu: but I'm a startx user. how do I ditch the gui login???

On Fri, 19 Feb 2010 09:03:29 -0500
"Joe(theWordy)Philbrook" <jtwdyp@ttlc.net> wrote:

>
> It would appear that on Feb 19, Pasi Lallinaho did say:
>
> > Joe(theWordy)Philbrook wrote:
>
> -snipped. . . . . . . . . .stuff
>
> > >
> > > So like I said in the Subject: line... how do I ditch the gui login???
> > >
> > sudo apt-get remove gdm
>
> Hmmnnn. Well that sounds like a rather severe method that should certainly
> work... I didn't think to try it because I wasn't sure what might have gdm
> as a listed dependency, but if I remember right, any time apt-get wants to
> remove more than one package it gives me a chance to say "no" so I guess
> I'll try it... Though, if Xubuntu DOES use gdm, I can't figure why:
>
> update-rc.d -f gdm remove
> update-rc.d gdm stop 20 2 3 4 5 .
>
> didn't work... It is a *buntu distribution right?
>
> He said as he shook his head and started to load the bigger guns...
> {"apt-get remove $X" IS a bigger gun than "update-rc.d -f $X remove". Isn't it?}
>
> Thanks
>

The gdm login manager is a complete rewrite compared to the
version in earlier Ubuntu releases. This, along with other changes
including HAL being deprecated, changed how a lot of things start. A
look at /etc/init.d will show many links to /lib/init/upstart-job now.
With the use of Upstart, many apps use a startup file in /etc/init.
This has a big impact on what will work now compared to what used to
work.

As linux switches to Upstart (it is not just Ubuntu), the old startup
methods will be phased out completely.

--
Charlie Kravetz
Linux Registered User Number 425914 [http://counter.li.org/]
Never let anyone steal your DREAM. [http://keepingdreams.com]

--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
 
Old 02-19-2010, 06:11 PM
Lionel Le Folgoc
 
Default New to Xubuntu: but I'm a startx user. how do I ditch the gui login???

Hi,

On Fri, Feb 19, 2010 at 09:21:36AM -0500, Arthur Johnson wrote:
> On Fri, Feb 19, 2010 at 9:03 AM, Joe(theWordy)Philbrook <jtwdyp@ttlc.net> wrote:
>
> Xubuntu really needs to switch to SLiM when Lucid drops. GDM is

Slim doesn't support .desktop session files in /usr/share/xsessions,
only sessions hardcoded in slim.conf, and always defaults to 'default'
session instead of the previous selected one (e.g. 'startxfce4'), which
can create inconsistencies with custom XDG dirs… It may also have issue
with <whatever>kit (probably consolekit, as I'm not sure it uses
ck-launch-session). So the switch to slim is rather unlikely to happen
(maybe lxdm when it'll be less hacky).

> wicked heavy now, it even loads metacity, session stuff, and other
> desktop applications, just for a login screen! I find that pretty

It will work fine if they are not installed. You can even use this gdm
with xfce4-settings, xfwm4 and xfce4-power-manager instead (that's what
Xubuntu does in karmic).

> unacceptable. And if you don't have GNOME installed it will interfere
> with mouse operations after login, which I discovered when trying to
> install GDM on a cli only Ubuntu with just XFCE installed.

How so? I don't see any bug report related to that for Xubuntu (and I
don't have any mouse issue without Gnome).

Cheers,
Lionel

--
Lionel Le Folgoc - https://launchpad.net/~mrpouit
E61E 116D 4BA1 3936 0A33 F61D 65D9 A66E 10E2 969A
--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
 
Old 02-20-2010, 12:19 PM
"Joe(theWordy)Philbrook"
 
Default New to Xubuntu: but I'm a startx user. how do I ditch the gui login???

It would appear that on Feb 19, Arthur Johnson did say:

> On Fri, Feb 19, 2010 at 9:03 AM, Joe(theWordy)Philbrook <jtwdyp@ttlc.net> wrote:

> >> sudo apt-get remove gdm
> >
> > Hmmnnn. Well that sounds like a rather severe method that should certainly
> > work... I didn't think to try it because I wasn't sure what might have gdm
> > as a listed dependency, but if I remember right, any time apt-get wants to
> > remove more than one package it gives me a chance to say "no" so I guess
> > I'll try it...
> Xubuntu really needs to switch to SLiM when Lucid drops. GDM is
> wicked heavy now, it even loads metacity, session stuff, and other
> desktop applications, just for a login screen! I find that pretty
> unacceptable. And if you don't have GNOME installed it will interfere
> with mouse operations after login, which I discovered when trying to
> install GDM on a cli only Ubuntu with just XFCE installed.
>
> If you ditch the display manager, your going to run into policy kit
> problems. You can edit the policy kit files in
> /usr/share/polkit-1/actions/, I'm not sure if there is a GUI for that.

Ummmnnn would you believe I'm not even sure what policy kit does...
I dang sure wouldn't know how to edit the files I just peeked at there.

So hopefully none of the problems you mention ever bite me in the backside.
Cause I wouldn't even know it was a "policy kit" problem...
>
> Personally I just switched to SLiM and was happy. You can install it
> on Karmic via:
>
> sudo add-apt-repository ppa:stemp/xfce
> sudo apt-get update
> sudo apt-get install slim
>

Well, thanks for the suggestion, but there are some applications that I
pre-feed to my enlightenment sessions via the .xinitrc file... If I
selected the desktop from a "display manager" I won't get to do that.
(yeah I know E has a method to remember selected "windows" But there are
a few applications I use that E doesn't offer the opportunity to start
them on login. But if I spoon feed them via .xinitrc, it can recognize
them and relocate them to my preselected workspace etc...)

Besides one of the things on my list is to figure out how to get xubuntu to
stop hiding the boot messages (some of them don't make it to dmesg. And I
really don't want ANYTHING gui before I'm ready for it. Especially a gui
login prompt. So fortunately, "apt-get remove gdm" worked...

> If you have multiple desktops and WMs installed, you may want to set
> your default environment:
> sudo update-alternatives --config x-session-manager

> SLiM is configurable via /etc/slim.conf including default user and autologin.

The console 'is' my default environment... And I've got a little wrapper
script for startx.

I type:

$ xdo e17

And it copies my xinitrc-e17 file to .xinitrc and calls startx...

I type

$ xdo x

And it copies the xinitrc-xfce file instead...

What do I need a "display manager" for???

But thanks for the suggestion. And the heads up about that policy kit
thingy.

--
| --- ___
| <0> <-> Joe (theWordy) Philbrook
| ^ J(tWdy)P
| ~\___/~ <<jtwdyp@ttlc.net>>

--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
 
Old 02-21-2010, 08:24 PM
"Joe(theWordy)Philbrook"
 
Default New to Xubuntu: but I'm a startx user. how do I ditch the gui login???

It would appear that on Feb 19, Charlie Kravetz did say:

> The gdm login manager is a complete rewrite compared to the
> version in earlier Ubuntu releases. This, along with other changes
> including HAL being deprecated, changed how a lot of things start. A
> look at /etc/init.d will show many links to /lib/init/upstart-job now.
> With the use of Upstart, many apps use a startup file in /etc/init.
> This has a big impact on what will work now compared to what used to
> work.

Yeah, every time I can almost remember how to do more than two or
three simple tasks without having to research the latest methods, Some
developer or other always does some "new and improved method" thing that
totally trashes all my personal notes on what worked last time...

> As linux switches to Upstart (it is not just Ubuntu), the old startup
> methods will be phased out completely.

I can understand that the actual start-up applications would need to be
rewritten. But does that mean that they are planning to rip startx out
by the roots??? Or just that you doubt anyone who knows how, will be
willing to update the startx scripts to use the new methods? Or is it
that the upstart developers are deliberately excluding the possibility
of starting a text only (non X) session on an X capable machine, and
then optionally, starting the X-server as a non-root process???

As much as I find gui login prompts as attractive as an unflushed
toilet, I could put up with one that could be configured to by default
to boot to a console only session. That would then be able to use something
like startx to selectively fire up a gui when and if I happen to need
to do something I can't do with console applications...

Granted I "usually" choose to run startx almost as soon as I logon.
But aside from those occasions where I managed to break my X server
and just needed access to mc, alpine, wget, elinks, and {apt-get or
equo or yum or zipper or "whatever command line package management tool
is currently supported by whichever distribution I'm currently using...}
in order to find out how, and then fix it, and or back up the stuff I
care about before doing the drastic reinstall process, I also sometimes
don't have time to boot the full gui. IE I have a script that opens
a few files with vim, including a simple text log of my meals, blood
sugar and blood pressure readings. When I'm running late I can't see
waiting for the gui to load when I can enter my data, save and start a
"sudo shutdown -h now" quickly enough that I can be running for my
truck about the same moment as I'd just about finally have a working
xterm up if I had to wait for the gui...

And since I do my email with a console app, if the ONLY reason I'm
booting is to check my mail, I'm likely to do that without bothering
with X. Then if I learn something that changes my plans... I like
being able to do a startx to fire up the gui I hadn't expected to
need... There's no question though, once I've got X running, I'm doing
so many things at once that I'm likely to forget I promised to
shutdown when I've cleared out my inbox, so that I might actually spend
some time with my Lady. And that gets me in Soooo much trouble.

--
| ~^~ ~^~
| <?> <?> Joe (theWordy) Philbrook
| ^ J(tWdy)P
| \___/ <<jtwdyp@ttlc.net>>


--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
 

Thread Tools




All times are GMT. The time now is 10:00 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org