SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-05-30 02:08:26

cotic
New Member
Registered: 2015-05-30
Posts: 5

Openbox dosent Run

Hi, i have a problem, yesterday i install #! from a Usb , everything allright. I was all night explore commands and configure prefferences.

Today in the morning when i start the pc, Black screen and the cursor is an X with white border.

in internet i found with the solution, they say that sessions manager was unconfig, so i tried this
sudo update-alternatives --config  x-session-manager
but the terminal says its not a command.
with ctrl + alt F2


https://hotsechu.wordpress.com/2015/02/ … ang-linux/

Edit: I tried again but nothing, say this: dont have other alternatives.

Edit2: I can initialize xtartx

Last edited by cotic (2015-05-30 02:33:46)

Offline

Be excellent to each other!

#2 2015-05-30 02:46:25

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Openbox dosent Run

Hi Cotic,
welcome to the forum!

Can you paste in here the output of your terminal when you run that command? I get this:

john@bunsen:~$ sudo update-alternatives --config  x-session-manager
[sudo] password for john: 
There is only one alternative in link group x-session-manager (providing /usr/bin/x-session-manager): /usr/bin/openbox-session
Nothing to configure.

So openbox-session is already the session manager.
If that is also your case, what happens when you enter startx?
Do you get the normal #! setup?
If you get a black screen, can you right-click on it and get a very simple openbox menu?
One more question, can you run

cat ~/.xsession-errors

and post the result here? If it's very long, just post the last 20 lines or so.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

#3 2015-05-30 03:00:04

cotic
New Member
Registered: 2015-05-30
Posts: 5

Re: Openbox dosent Run

When i on the pc crunchbang run, he ask me my credentials i give them and then black screen with the cursor, but the cursor is an X with white border, i cant right click, nothing happens with any command, only can open the terminal, in the terminal i wrote this.
i starting the pc to respond you

when i start the terminal ctrl + alt + F2:

CrunchBang Linux waldorf cotic tty2
cotic login: 

I put my user and password

Last login ... 
Debian ... bla bla bla 
cotic@cotic: $ 

When i run the command the output is

update-alternatives:error: no hay alternativas para x-sessions-manager (Dosent exist alternatives for x-sessions-manager TRADUCTION)

When i start startx, appears the normal cursor in a grey background i can right to get the options: Terminal emulator, web browser, Debian, Desks, obCong, reconfigure, restart, exit. the menu is white ... completely difference to normal #!

when i am in startx if i tab ctrl+alt+6 i go back to black screen with X cursor

to end: Cat output :

/home/cotic/ .xsessions-erros: dosent exist directory

Last edited by cotic (2015-05-30 03:11:30)

Offline

#4 2015-05-30 06:29:58

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Openbox dosent Run

Did you edit menu.xml or rc.xml when you were changing configurations? It sounds like you may be using the very basic default openbox session because the session won't start properly.

Backup menu.xml and rc.xml, then use the default files instead

mv ~/.config/openbox/{menu.xml,menu.xml.bkp}
mv ~/.config/openbox/{rc.xml,rc.xml.bkp}

cp /etc/skel/.config/openbox/menu.xml ~/.config/openbox/
cp /etc/skel/.config/openbox/rc.xml ~/.config/openbox/

Then try starting openbox again


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#5 2015-05-30 10:22:31

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Openbox dosent Run

cotic wrote:
update-alternatives:error: no hay alternativas para x-sessions-manager (Dosent exist alternatives for x-sessions-manager TRADUCTION)

You have used:

sudo update-alternatives --config x-sesions-manager

You should have used:

sudo update-alternatives --config x-session-manager

Note: no "s" after "session"...

EDIT: When posting error messages here please put "LC_ALL=C" before the command to get it to output in English, like this:

sudo LC_ALL=C update-alternatives --config x-session-manager

Last edited by Head_on_a_Stick (2015-05-30 10:25:00)

Offline

#6 2015-05-30 17:16:41

cotic
New Member
Registered: 2015-05-30
Posts: 5

Re: Openbox dosent Run

Well...  i did this
mv ~/.config/openbox/{menu.xml,menu.xml.bkp}
mv ~/.config/openbox/{rc.xml,rc.xml.bkp}

cp /etc/skel/.config/openbox/menu.xml ~/.config/openbox/
cp /etc/skel/.config/openbox/rc.xml ~/.config/openbox/

and then i start Openbox with this

sudo openbox

and say

Openbox-messange: Failed to open the display from the DISPLAY enviroment variable

i try with

sudo update-alternatives --config x-session-manager

and got

there is only one alternative in link group x-session-manager (providing /usr/bin/x-session-manager):/usr/bin/openbox-session Nothing to configure

Offline

#7 2015-05-30 17:54:37

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Openbox dosent Run

cotic wrote:

and then i start Openbox with this

sudo openbox

That is a very bad idea -- never try to start the desktop with `sudo` or as root.

Try this instead (as your normal user):

startx

If it doesn't work, post any error messages and output of:

cat /var/log/Xorg.0.log

Make sure you use code tags for the command output.

Offline

#8 2015-05-30 17:55:05

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: Openbox dosent Run

don't use openbox with sudo.

is slim (=login window) still coming up normally? or what exactly do you see when you boot? or did you set slim to autologin?

also, please remember as much as possible of this:

I was all night explore commands and configure prefferences.

Offline

#9 2015-05-30 18:06:26

cotic
New Member
Registered: 2015-05-30
Posts: 5

Re: Openbox dosent Run

I star startx

and now open crunchbang as normal, menu, colors, but his not my config and dont let me conect to Wi-fi, say : dispositive its not ready and dosent work the audio. its my session i can access to my files and everything
this happens after i use de commands mv ,mv, cp and cp that say damo.

Login windows is normally and then black window with a X in the cursor.
but no prefferences of Openbox, just configure menus

Last edited by cotic (2015-05-30 18:17:39)

Offline

#10 2015-05-30 18:22:52

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Openbox dosent Run

Given the language barrier here, I think it will be simplest for you to just re-install.

Read the bottom link in my signature (if you can understand it) and make sure you don't break it again...

Offline

#11 2015-05-30 19:15:58

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Openbox dosent Run

cotic wrote:

I star startx

and now open crunchbang as normal, menu, colors, but his not my config and dont let me conect to Wi-fi, say : dispositive its not ready and dosent work the audio. its my session i can access to my files and everything
this happens after i use de commands mv ,mv, cp and cp that say damo.

Login windows is normally and then black window with a X in the cursor.
but no prefferences of Openbox, just configure menus

That is why I said to make a backup of those configuration files first. Rename the backup files to menu.xml and rc.xml, then restart openbox. If you get the same problem as before you know it is your incorrect editing of those files that caused it.

Have you edited autostart?

It seems that using startx is OK (except for the personal configurations), but using lightdm login is not? Did you edit lightdm.conf or lightdm-gtk-greeter.conf?


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#12 2015-05-30 20:43:00

cotic
New Member
Registered: 2015-05-30
Posts: 5

Re: Openbox dosent Run

Head_on_a_Stick wrote:

Given the language barrier here, I think it will be simplest for you to just re-install.

Read the bottom link in my signature (if you can understand it) and make sure you don't break it again...

My last resort.

Sorry for my bad english.

damo wrote:

Have you edited autostart?
It seems that using startx is OK (except for the personal configurations), but using lightdm login is not? Did you edit lightdm.conf or lightdm-gtk-greeter.conf?

i dont remember edit theese files, im99% sure.

damo wrote:

That is why I said to make a backup of those configuration files first. Rename the backup files to menu.xml and rc.xml, then restart openbox. If you get the same problem as before you know it is your incorrect editing of those files that caused it.

Okay, so... i start my pc, run startx and rename the files .bkp ? how restart Openbox?

Edit: I rename the files bkp to his original names (without bkp) and then i tried to use

openbox 

but dosent work
so i tried

startx

and openbox show up with my last config, the menus, everything but i still with problemas with inalambric conection and audio.

Last edited by cotic (2015-05-30 22:11:12)

Offline

#13 2015-05-30 22:32:36

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Openbox dosent Run

cotic wrote:

Edit: I rename the files bkp to his original names (without bkp) and then i tried to use

openbox 

but dosent work
so i tried

startx

and openbox show up with my last config, the menus, everything but i still with problemas with inalambric conection and audio.

Starting Openbox without the graphical log in
Instead of

openbox

use

openbox-session

BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#14 2015-05-31 04:19:45

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Openbox dosent Run

damo wrote:

It seems that using startx is OK (except for the personal configurations), but using lightdm login is not? Did you edit lightdm.conf or lightdm-gtk-greeter.conf?

This is #! so no lightdm stuff, the display manager is Slim.

@cotic, maybe the quickest way out would be to install #! again.

Last edited by johnraff (2015-05-31 04:20:45)


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo