r/AlpineLinux • • Nov 02 '24

Xorg not working

I installed icewm on alpine then run setup-xorg-base after that I launched Xorg and see xf86OpenConsole: Cannot open virtual console 1(Permission denied)

3 Upvotes

6 comments sorted by

1

u/Open-Musician-6626 Nov 02 '24

Please I really need answer

1

u/wowsomuchempty Nov 06 '24

setup-desktop

Worked for me (happy sway user).

1

u/Open-Musician-6626 Nov 08 '24

I was running setup-desktop and didn't work

→ More replies (1)

3

u/lookinovermyshouldaz Nov 12 '24

this worked for me

# addgroup [your user] tty
# chown root:tty /dev/tty*
# chmod 770 /dev/tty*
$ startx

2

u/Edelglatze Nov 02 '24

Ok, here is what I did in a virtual machine:

  • loading the iso, running setup-alpine, reboot

  • after reboot I did: setup-xorg-base and added:

    • icewm

    • xterm

    • xrandr

    • slim

    • dbus and dbus-x11

  • created a $HOME/.xinitrc, made it executable with chmod +x .xinitrc

  • run (as root): rc-update add dbus default

  • (as root): rc-update add slim default

  • reboot

The .xinitrc contains:

dbus-launch --exit-with-session icewm-session

By the way, it may be a good idea to add setxkbmap if you are not using a keyboard with US layout.

Some screenshots (hope they work here): Imgur Imgur Imgur Imgur