StartX as GUI with LXDM

5 replies [Last post]
CentaurX
Offline
Joined: 12/03/2013

Hello, guys. Yesterday I just intalled Trisquel 6.0 mini. I'm very happy with it, It's running really fast, indeed (more than lubuntu 13.10) I made the transition between lubuntu and trisquel because I felt that I really wanted to contribute with the Free Software movement, and by using Lubuntu I was doing the opposite.
Well, I've been reading a lot about this issue everywhere. My computer is an Optiplex 320 series with a Intel Pentium D processor (3Ghz) with 1 Gb Ram and a Ati Radeon Xpress 200 (as I've read in one of the topics here, there probably is a problem with my integrated graphics) so the problem is that when I start my computer, there appears a command prompt, don't get me wrong I love using the command prompt rather than the GUI, the problem is that my sisters will get angry for logging in by typing too many things in an environment they might dislike.
I already installed Xinit and I have to start "startx" (with sudo) after I log in. Then the GUI starts normally. I've installed the GDM and some others display managers, they don't seem to work, though. Let me explain, for instance, when I start the GDM all seems to work perfect until I access to the file manager or any other thing (after I log in obviously, already in desktop). The others display managers don't seem to work, AT ALL! I'm using LXDM and I've seen that there is a way to start the GUI, but I've tried many things, and they don't seem to work. I wonder if you could help me. I'm sort of new on this, so please make it simple and don't assume I know what you're talking about :D

dadix
Offline
Joined: 07/01/2013

Go in:

/etc/xdg/lxsession/Trisquel-mini

-edit the file "autostart" and add:

@startlxde

Maybe will work after that.

or this:

http://wiki.archlinux.org/index.php/Start_X_at_Boot#Starting_X_as_preferred_user_without_logging_in

CentaurX
Offline
Joined: 12/03/2013

I just finished editing the file as you told me and rebooting my pc. Here's how the file is after I edited it:

@lxpanel --profile Trisquel-mini
@xscreensaver -no-splash
@gnome-power-manager
@pcmanfm --desktop --profile Trisquel-mini
@/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
@startlxde

Nothing happened after I restarted it, though... :/

CentaurX
Offline
Joined: 12/03/2013

I saw the page before but because I didn't have someone to ask about it, I just didn't follow the steps. Here's a problem. I don't have such a file in the pointed directory, as the page says:

"For Bash, add the following to the bottom of ~/.bash_profile. If the file does not exist, copy a skeleton version from /etc/skel/.bash_profile.
For Zsh, add it to ~/.zprofile instead"

I don't find ANY bash_profile in the /etc/skel directory, just a profile file as you can see in the image. And I wonder if I can do in the terminal something like: nano zprofile to create one or a nano bash_profile. I don't know if that would be equally valid, if so, what directory should it be put then/after that, in etc/skel?

Skel.png
lembas
Offline
Joined: 05/13/2010

~ (tilde) means your home directory, i.e. /home/YOURUSERNAME/

Don't forget the . (dot) before the filename. (it hides the files from listings)

Different distros have things in different places to keep us wondering... :)

There seems to be a bash_profile in /usr/share/doc/adduser/examples/adduser.local.conf.examples/skel/dot.bash_profile but it's empty. It points to ~/.bashrc.

You don't use zsh by default. It's another shell you'd have to install, so forget that bit.

CentaurX
Offline
Joined: 12/03/2013

Thanks a lot, I'll give it a try!