Skip to content

startx fails to work #492

Closed
Closed

Description

@xiangzhai

sddm is running in tty1, swtich to tty2, startx, but failed:

XSEVTransSocketUNIXCreateListener SocketCreateListener failed. server already running

Linux Thinkpad-X250 4.2.0-3-ARCH #1 SMP PREEMPT Fri Sep 4 20:59:11 UTC 2015 x86_64 GNU/Linux
Qtv5.5.0
X11v1.6.3

Activity

  1. plfiorini commented on Sep 14, 2015

    @plfiorini
    Member

    I don't think you can do that, it's either sddm or startx because sddm already start a Xorg server on DISPLAY=:0 - To be precise maybe you can make startx use another DISPLAY

  2. plfiorini commented on Sep 14, 2015

    @plfiorini
    Member

    Try Xorg :2 on tty2

  3. xiangzhai commented on Sep 15, 2015

    @xiangzhai
    Author

    Hi @plfiorini yup, it is able to startx -- :2 but lightdm does _NOT_ need to do so!

    sddm start X server might be different with lightdm ?

  4. plfiorini commented on Sep 15, 2015

    @plfiorini
    Member

    @xiangzhai can you check on which display does lightdm runs the greeter?

  5. xiangzhai commented on Sep 15, 2015

    @xiangzhai
    Author

    Hi @plfiorini in my Arch box, lightdm start the greeter in tty7

    lightdm get_vt then start X server and greeter on it.

    Regards,
    Leslie Zhai

  6. plfiorini commented on Sep 15, 2015

    @plfiorini
    Member

    @xiangzhai ok but what X11 display? :)

    What does the following command say?

    ls -al /tmp/.X11-unix /tmp/.X*lock
  7. xiangzhai commented on Sep 17, 2015

    @xiangzhai
    Author
    -r--r--r-- 1 root root 11 Sep 17 20:21 /tmp/.X0-lock
    
    /tmp/.X11-unix:
    drwxrwxrwt 2 root root  60 Sep 17 20:21 .
    drwxrwxrwt 9 root root 280 Sep 17 20:25 ..
    srwxrwxrwx 1 root root   0 Sep 17 20:21 X0
    
  8. jleclanche commented on Nov 9, 2015

    @jleclanche
    Member

    Closing as invalid, this is not a bug.

  9. plfiorini commented on Nov 9, 2015

    @plfiorini
    Member

    @xiangzhai we never told anyone we would provide the exact same behavior as lightdm
    since sddm doesn't prevent users from running another X display, i believe this is not a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions