LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2012, 04:29 AM   #1
manumanu
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Rep: Reputation: Disabled
xinit has been modified


Hello

i have been modified xinit file (usr/bin) and i can't log in to fluxbox,

this message appears on the line command when i type startx

/usr/bin/startx :line 195: 1756 Segmentation fault xinit "$client" $clientargs --"$server" $display $serverargs.


i have copied on the path (/usr/bin) another different file . i.e. another xinit file and it hasn't been possible solve this issue.

I used to get to use Backtrack 5 R1 , i have installed flux-for-back, when i wanted to switch to gnome , i modified this file for error. It was my fault

Please i need some help to resolve this issue or any recommendation, i'll be very happy
 
Old 01-08-2012, 09:02 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,667
Blog Entries: 12

Rep: Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894
This is just a shot in the dark, but did you start Fluxbox with

Code:
exec fluxbox
or

Code:
exec startfluxbox
The Arch wiki, which is an excellent all-around resource, recommends the latter and it's what I'm using successfully on this here Debian box.

It's also better to create your own ~/home/.xinitrc file than to modify the system file unless you want Fluxbox to be a global selection.

Last edited by frankbell; 01-08-2012 at 09:04 PM.
 
Old 01-08-2012, 11:25 PM   #3
manumanu
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello Frankbell and thanks so much for your support
Let me tell you that i wrote exec fluxbox command and show me and error : Couldn't connect to Xserver.
So when i wrote exec startfluxbox appears : Can't open display. It is running , yeah^?

Let me tell you that i have read that linux generally save a copy when a file has been modified, you know something about that?

Best regards
 
Old 01-09-2012, 09:40 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,667
Blog Entries: 12

Rep: Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894
I can't diagnose your Fluxbox problem, at least not without more info, but as to the backup file:

Many Linux text editors, when you edit a file (foo) leave an original copy with the same file name but a tilde appended to it (foo~). This is not necessarily default behavior with every editor on every distro.

What I've taken to doing when I'm making line by line edits in files such as .xintrc is remarking out the old lines with a number sign at the beginning of them, then writing the new line(s). That makes it very easy to drop back.

In my own .xinitrc one on of my machines, I have calls for three different window managers/desktop environments. I change among them by moving the number signs around.

Edit:

For your Fluxbox, try starting it from the command line with "fluxbox," "exec fluxbox," and "exec startfluxbox." Make a note of any error messages that appear in the terminal (a digital camera may be a help here, but there are ways to take a screenshot from a terminal).

Last edited by frankbell; 01-09-2012 at 09:49 PM. Reason: more info
 
Old 01-10-2012, 01:36 PM   #5
manumanu
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello Frankbell
Let me tell you that investigate further this issue and i am sorry, the problem is not fluxbox, the problem is X.

For that reason i will try to reinstall xinit , i must to donwload binary file from debian sources.

Let me tell you as well that some editors you have mentioned save a file but really i Don't know if Pico editor has that functionality, do you have some info about editors save a file modified?

Thanks a lot
 
Old 01-10-2012, 07:46 PM   #6
manumanu
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello Team

let me tell you that i had to reinstall xinit and it works.

i Have to solve the problem with backtrack 5 R1 updating and upgrading xinit file. To solve some issues with fluxbox i had to reinstall as well :apt-get install flux-for-back
Afortunately now i can swith from gnome to fluxbox and vice-versa modifying .xinitrc

Thanks a lot for your support

Best Regards!!
 
Old 01-10-2012, 09:16 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,667
Blog Entries: 12

Rep: Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894
Coll beans.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xinit X problem BattousaiX Linux - Software 2 01-31-2012 05:08 PM
xinit in solaris 10 crisostomo_enrico Solaris / OpenSolaris 4 03-01-2007 08:37 AM
Kdrive and xinit slothpuck Linux - Software 0 01-24-2005 02:50 PM
confused about which xinit to use Earth Slackware 3 07-20-2004 12:14 AM
question about XINIT evaross1 Linux - Software 3 05-12-2004 04:00 AM


All times are GMT -5. The time now is 12:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration