Find the answer to your Linux question:
Results 1 to 2 of 2
Hi! I am using "sudo bash" to avid write sudo all the time. I had fun to make full reinstall (with config files) of X11 and all X Servers that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Andy_Crowd's Avatar
    Join Date
    Sep 2013
    Location
    日不落
    Posts
    63

    Question startx [xServer] command line from console


    Hi!

    I am using "sudo bash" to avid write sudo all the time.

    I had fun to make full reinstall (with config files) of X11 and all X Servers that I had... BlackBox, FluxBox, Cinnamon. And I installed GDM for login screen where I can chose which client I want start.

    1st problem is that I have .Xauthority time out sometimes when I start from console. I had to rebuild that "X cookie" to be able start X session. But is become empty and I do not know how to fix work good. I know that I must use ."xauth" to do it but I do not know how.

    2nd is that I can use startx in cosole with out loading any X Server and I getting a yellow console in the top left corner where I can write what I want to start for example: fluxbox , and then it starts but yellow window still left and I cannot start any more terminal window there, it closed automaticaly. With Crtl+Alt+F2 I can shutdown it and go back to console. Other way it to write t.e. "startx fluxbox" then it start fluxbox but the yellow winow still left. To use normal them again I have to restart GDM login GUI screen and login as normal. It is not working even if I using "startx blackbox & disown", then it shows only pid of session, and I can use kill 'pid' to stop it.

    !!!!!! How can I use the startx same way as a GUI loging with mutiple xServers without any problems? !!!!!!

  2. #2
    Just Joined! Andy_Crowd's Avatar
    Join Date
    Sep 2013
    Location
    日不落
    Posts
    63
    ... it was a while ago when I posted it and got no answers... but I have found a solution for this...
    To start a custom X session is possible by giving full path to the X desktop e.g.
    Code:
    ### start openbox without reading autostart 
    startx /usr/bin/openbox
    #### start full openbox session with autostart apps
    startx /usr/bin/openbox-session
    As I know now, it is many X desktops can be started this way.

    Thanks for helppppppping meeeee!

Posting Permissions

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