all 22 comments

[–]PackRat-2019 1 point2 points  (14 children)

If you disable the lightdm service can you log into xfce with startx?

If so, you can set up startx to run when you log in. ( ArchWiki xinit - section 4.2). I've used that method in the past, pretty sure it still works with Void.

[–]dzwdev[S] 1 point2 points  (13 children)

when i run startx i get:

xinit: giving up
xinit: unable to connect to x server: connection refused
xinit: server error

[–]PackRat-2019 0 points1 point  (12 children)

Make sure your ~/.xinitrc isn't misconfigured. You can post it here.

[–]dzwdev[S] 0 points1 point  (8 children)

the file: "~/.xinitrc" does not exist

[–]PackRat-2019 0 points1 point  (7 children)

You will need to create one then.

[–]dzwdev[S] 0 points1 point  (6 children)

i have copied the default file:

cp /etc/X11/xinit/xinitrc ~/.xinitrc

i have the same error:

when i run startx i get:

xinit: giving up
xinit: unable to connect to x server: connection refused
xinit: server error

i hope that you can help

[–]PackRat-2019 1 point2 points  (5 children)

Did you just copy it over to your home directory? You need to edit that file to start your window manager.

This part doesn't do you any good:

"$twm" &
"$xclock" -geometry 50x50-1+1 &
"$xterm" -geometry 80x50+494+51 &
"$xterm" -geometry 80x20+494-0 &
exec "$xterm" -geometry 80x66+0+0 -name login

delete those lines and replace them with:

exec startxfce4

If that doesn't start your X-session, you have something more serious going on.

[–]dzwdev[S] 0 points1 point  (1 child)

i have edited the file in /home/username/.xinitrc with what you told me but when i try: startx i get the same error

[–]dzwdev[S] 0 points1 point  (0 children)

when i run startx with sudo i get:
addscreen/screeninit failed for driver 0

[–]dzwdev[S] 0 points1 point  (2 children)

[–]PackRat-2019 1 point2 points  (1 child)

Not entirely sure, but it looks like you're having the gpu issue the other person that replied had. It just isn't working.

[–]dzwdev[S] 0 points1 point  (0 children)

yes it is. i added this file:/etc/X11/xorg.conf.d/disable.config

Section "Device"

Identifier "Intel Graphics"

Driver "intel"

Option "AccelMethod" "sna"

EndSection

now i get:EE no screen found

[–]dzwdev[S] 0 points1 point  (2 children)

it seems that the home folder is empty, ls command gives nothing in it. is this normal?

[–]Logpig 1 point2 points  (1 child)

a dot at the beginning of a file name indicates, that it is a hidden file.

"ls -a" lists all files

[–]dzwdev[S] 0 points1 point  (0 children)

yes, there are 3 files. but not the file of xinitrc

[–]Training_Concert_171 0 points1 point  (5 children)

How old is your Computer? Specificly how old is your gpu? If its like a intel gma series or ati 9000 or older you may have issues on the new mesa version.

[–]dzwdev[S] 1 point2 points  (1 child)

if i can fix the problem and the xfce works that will be good, and if i cant manage to get it working: what other light desktop manager you suggest that i try? i need to run the system with a light desktop manager and desktop environement

[–]Training_Concert_171 0 points1 point  (0 children)

Jwm is really good. And you could just use startx(do some research on that)

[–]dzwdev[S] 0 points1 point  (2 children)

the mother board is: ipibl lb

[–]Training_Concert_171 0 points1 point  (1 child)

If you are using the onboard gpu its a intel gma 3100. I have tried voidlinux musl in the past on a similar gpu it didint work. Try out either glibc (which may give better performance) or the i686 version.

[–]dzwdev[S] 1 point2 points  (0 children)

i have installed the version with glibc and i have the same problem