New user needs help on a few issues running LXDE on Debian 5

All questions and problems regarding the installation and upgrades of LXDE from USB Stick, Live CD or Web.
Locked
walterbyrd
Posts: 2
Joined: Tue Feb 17, 2009 3:30 pm

New user needs help on a few issues running LXDE on Debian 5

Post by walterbyrd »

I just set up LXDE on Debian 5.0 (Lenny) but I am having a few issues:

1) I don't want LXDE to start up automatically. I like to issue the startx command.

2) I want to be able to shutdown, and restart, LXDE without having to rm /tmp/.0X-lock all the time.

3) I want to able to run LXDE as root

4) I want to able to change the default fonts - the fonts in the menus, title bars, etc.


Any help appreciated, thanks in advance.
lostson
Posts: 33
Joined: Thu Jan 08, 2009 12:17 pm
Location: Wisconsin US
Contact:

Re: New user needs help on a few issues running LXDE on Debian 5

Post by lostson »

walterbyrd wrote:I just set up LXDE on Debian 5.0 (Lenny) but I am having a few issues:

1) I don't want LXDE to start up automatically. I like to issue the startx command.

what do you mean does your machine just startup and go to lxde ?

2) I want to be able to shutdown, and restart, LXDE without having to rm /tmp/.0X-lock all the time.

never had this happen to me perhaps some more info on how you startup lxde

3) I want to able to run LXDE as root

no idea never tried

4) I want to able to change the default fonts - the fonts in the menus, title bars, etc.

You are looking for obconf here it will let you do exactly this.
Any help appreciated, thanks in advance.
Image
walterbyrd
Posts: 2
Joined: Tue Feb 17, 2009 3:30 pm

Re: New user needs help on a few issues running LXDE on Debian 5

Post by walterbyrd »

what do you mean does your machine just startup and go to lxde ?
I get a GUI login, I can only log in as a standard user, not root. After I log in, I go directly to LXDE. I prefer to prompted at the CLI, and I do want the GUI to start until I enter startx.

Also, I would like to be able to shutdown, and re-start, the GUI, whenever I want. Most Linux GUIs, are shut down with ctrl-alt-backspace; I think LXDE is shut down with ctrl-alt-F2, or something. In any case, it does not seem to go smoothly.

I have figured out how to reset the fonts.
archibald haddock
Posts: 148
Joined: Sun Jan 11, 2009 6:57 pm

Re: New user needs help on a few issues running LXDE on Debian 5

Post by archibald haddock »

I think, you are misinterpreting what LXDE is. It is an desktop environment.

Starting your XServer is not LXDE point.
That can be done by startx (and its config files) or (it seems, that you have one) a desktop manager.
I think you are using gdm, because it is giving you a login prompt.
You could configure gdm to your wants and I could explain, but you want to do things by hand, so you have to remove the XServer startup from your init scripts. I never used Debain, but the could have them in /etc/init.d/. You should read some Debian docs or websites about startup, because it is only up to the Debian for getting you to prompt.

I dont see the connection between LXDE and .X0-lock, this is an lock file for your XServer. See some Debian docs about it.

LXDE is totally runable as root. But GDM is not allowing it. Configure GDM or use startx.
umarzuki
Posts: 7
Joined: Sun Jun 07, 2009 1:39 am

Re: New user needs help on a few issues running LXDE on Debian 5

Post by umarzuki »

hm...on kde or gnome, we can simply run the filemanager as root with gksu but on my debian lenny amd64, gksu pcmanfm ask for root password, popped pcmanfm for less than a second then nothing more...
rockdoctor
Posts: 116
Joined: Tue Nov 11, 2008 4:51 pm

Re: New user needs help on a few issues running LXDE on Debian 5

Post by rockdoctor »

walterbyrd wrote:
what do you mean does your machine just startup and go to lxde ?
I get a GUI login, I can only log in as a standard user, not root. After I log in, I go directly to LXDE. I prefer to prompted at the CLI, and I do want the GUI to start until I enter startx.

Also, I would like to be able to shutdown, and re-start, the GUI, whenever I want. Most Linux GUIs, are shut down with ctrl-alt-backspace; I think LXDE is shut down with ctrl-alt-F2, or something. In any case, it does not seem to go smoothly.

I have figured out how to reset the fonts.
For CLI I use I runlevel a customized runlevel 2. Here's the contents of /etc/rc2.d

Code: Select all

/mnt/Karmic/etc$ ls rc2.d/
K01laptop-mode    S11klogd          S25landscape-client  S89atd
K80nvidia-kernel    S12915resolution  S50cups              S89cron
K86avahi-daemon  S12dbus           S50pulseaudio        S98usplash
README             S20apport         S50rsync             S99acpi-support
S01policykit         S20hotkey-setup   S50saned             S99ondemand
S10acpid             S20wicd           S70bootlogs.sh       S99rc.local
S10apmd               S23ntp            S70dns-clean         S99rmnologin
S10powernowd.early  S24dhcdbd         S70pppd-dns          S99stop-readahead
S10sysklogd         S24hal            S89anacron
and here's my /etc/rcS.d:

Code: Select all

/mnt/Karmic/etc$ ls rcS.d/
README                              S35mountall.sh
S01mountkernfs.sh                   S36mountall-bootclean.sh
S01readahead                        S37apparmor
S02hostname.sh                      S37mountoverflowtmp
S06keyboard-setup                   S37udev-finish
S07linux-restricted-modules-common  S39readahead-desktop
S10udev                             S39ufw
S11mountdevsubfs.sh                 S40networking
S13pcmciautils                      S45mountnfs.sh
S15module-init-tools                S46mountnfs-bootclean.sh
S17procps                           S49console-setup
S20checkroot.sh                     S70screen-cleanup
S22mtab.sh                          S70x11-common
S26cryptdisks-early                 S80bootmisc.sh
S28cryptdisks                       S85urandom
S30checkfs.sh                       S90console-screen.sh
Geology - It's not rocket science, it's rock science!
bulkley
Posts: 25
Joined: Sun Jun 21, 2009 3:28 pm
Contact:

Re: New user needs help on a few issues running LXDE on Debian 5

Post by bulkley »

walterbyrd wrote:1) I don't want LXDE to start up automatically. I like to issue the startx command.
Have you tried removing gdm? You shouldn't need it.
Locked