Find the answer to your Linux question:
Results 1 to 5 of 5
I get this message whenever I try to run startfluxbox. I have tried startx and have it setup to launch fluxbox as the windows manager. When I use startx it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    Posts
    2

    Cannot connect to X Server


    I get this message whenever I try to run startfluxbox. I have tried startx and have it setup to launch fluxbox as the windows manager. When I use startx it launches, goes to vt7 and then comes back to a prompt with NO ERROR message. When I use startfluxbox I get the error message: Cannot connect to X Server. I just launch X and I get a graphical environment and everything works fine with no window manager. I am running T30 IBM Thinkpad 1.6Ghz, 1GB RAM, ATI 7500 Mobility, Gentoo 2005.1, 2.6 kernel.
    If you need any other information let me know


  2. #2
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    try

    Code:
    exec fluxbox OR exec startfluxbox
    in your ~/.xinitrc file
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  3. #3
    Linux Enthusiast gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    541
    It would help to know the contents of your Xorg log file.

    It is in /var/log/Xorg.0.log

    Linux User #376741
    Code is Poetry

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jan 2006
    Posts
    2

    Smile Solved

    I added exec infront of fluxbox within the xinitrc file

    It looks like this:

    exec fluxbox

    instead of this

    fluxbox &

    I do not understand why it works now but it does

  6. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by Frohike
    I added exec infront of fluxbox within the xinitrc file

    It looks like this:

    exec fluxbox

    instead of this

    fluxbox &

    I do not understand why it works now but it does
    It's because that is the correct command from within .xinitrc:

    Code:
    # exec fvwm
    # exec icewm
    # exec pekwm
    # exec fluxbox
    # exec openbox
    # exec startxfce4
    They all start that way... you can remove any you don't want, or you add others and simply uncomment whichever one you want to run.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •