Yesterday when updating my ~amd64 sytem portage pulled in xorg-server-1.19.5-r1. After the update, startx doesn't bring up the X server anymore:
Code: Select all
(EE) Parse_vt_settings: Cannot open /dev/tty0 (permission denied)After some digging around I found out that the "suid" use-flag, that has been default so far, was removed in 1.19.5 [1]. Apparently this transitions to rootless X. But my attempts to follow the instructions for non-root X.org from the wiki (adding a udev rule for input devices) didn't change anything. Also executing "startx -- vt1" didn't get X to run (the error messages are different).
So - does anybody know how to get xorg-server-1.19.5 running with startx?
[1] https://github.com/gentoo/gentoo/commit ... 9e46777dc4
[2] https://wiki.gentoo.org/wiki/Non_root_Xorg
Thanks and regards,
mazumoto
My .xinitrc
Code: Select all
#!/bin/sh
#
# ~/.xinitrc
#
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session cinnamon-session
Code: Select all
ls -lisah /dev/tty*
1035 0 crw-rw-rw- 1 root tty 5, 0 Oct 22 15:12 /dev/tty
1037 0 crw--w---- 1 root tty 4, 0 Oct 22 15:12 /dev/tty0
1042 0 crw------- 1 mazumoto tty 4, 1 Oct 22 15:22 /dev/tty1
1051 0 crw--w---- 1 root tty 4, 10 Oct 22 15:12 /dev/tty10
1052 0 crw--w---- 1 root tty 4, 11 Oct 22 15:12 /dev/tty11
1053 0 crw------- 1 root root 4, 12 Oct 22 15:50 /dev/tty12
1054 0 crw--w---- 1 root tty 4, 13 Oct 22 15:12 /dev/tty13
1055 0 crw--w---- 1 root tty 4, 14 Oct 22 15:12 /dev/tty14
1056 0 crw--w---- 1 root tty 4, 15 Oct 22 15:12 /dev/tty15
1057 0 crw--w---- 1 root tty 4, 16 Oct 22 15:12 /dev/tty16
1058 0 crw--w---- 1 root tty 4, 17 Oct 22 15:12 /dev/tty17
1059 0 crw--w---- 1 root tty 4, 18 Oct 22 15:12 /dev/tty18
1060 0 crw--w---- 1 root tty 4, 19 Oct 22 15:12 /dev/tty19
1043 0 crw--w---- 1 root tty 4, 2 Oct 22 15:12 /dev/tty2
1061 0 crw--w---- 1 root tty 4, 20 Oct 22 15:12 /dev/tty20
1062 0 crw--w---- 1 root tty 4, 21 Oct 22 15:12 /dev/tty21
1063 0 crw--w---- 1 root tty 4, 22 Oct 22 15:12 /dev/tty22
1064 0 crw--w---- 1 root tty 4, 23 Oct 22 15:12 /dev/tty23
1065 0 crw--w---- 1 root tty 4, 24 Oct 22 15:12 /dev/tty24
1066 0 crw--w---- 1 root tty 4, 25 Oct 22 15:12 /dev/tty25
1067 0 crw--w---- 1 root tty 4, 26 Oct 22 15:12 /dev/tty26
1068 0 crw--w---- 1 root tty 4, 27 Oct 22 15:12 /dev/tty27
1069 0 crw--w---- 1 root tty 4, 28 Oct 22 15:12 /dev/tty28
1070 0 crw--w---- 1 root tty 4, 29 Oct 22 15:12 /dev/tty29
1044 0 crw--w---- 1 root tty 4, 3 Oct 22 15:12 /dev/tty3
1071 0 crw--w---- 1 root tty 4, 30 Oct 22 15:12 /dev/tty30
1072 0 crw--w---- 1 root tty 4, 31 Oct 22 15:12 /dev/tty31
1073 0 crw--w---- 1 root tty 4, 32 Oct 22 15:12 /dev/tty32
1074 0 crw--w---- 1 root tty 4, 33 Oct 22 15:12 /dev/tty33
1075 0 crw--w---- 1 root tty 4, 34 Oct 22 15:12 /dev/tty34
1076 0 crw--w---- 1 root tty 4, 35 Oct 22 15:12 /dev/tty35
1077 0 crw--w---- 1 root tty 4, 36 Oct 22 15:12 /dev/tty36
1078 0 crw--w---- 1 root tty 4, 37 Oct 22 15:12 /dev/tty37
1079 0 crw--w---- 1 root tty 4, 38 Oct 22 15:12 /dev/tty38
1080 0 crw--w---- 1 root tty 4, 39 Oct 22 15:12 /dev/tty39
1045 0 crw--w---- 1 root tty 4, 4 Oct 22 15:12 /dev/tty4
1081 0 crw--w---- 1 root tty 4, 40 Oct 22 15:12 /dev/tty40
1082 0 crw--w---- 1 root tty 4, 41 Oct 22 15:12 /dev/tty41
1083 0 crw--w---- 1 root tty 4, 42 Oct 22 15:12 /dev/tty42
1084 0 crw--w---- 1 root tty 4, 43 Oct 22 15:12 /dev/tty43
1085 0 crw--w---- 1 root tty 4, 44 Oct 22 15:12 /dev/tty44
1086 0 crw--w---- 1 root tty 4, 45 Oct 22 15:12 /dev/tty45
1087 0 crw--w---- 1 root tty 4, 46 Oct 22 15:12 /dev/tty46
1088 0 crw--w---- 1 root tty 4, 47 Oct 22 15:12 /dev/tty47
1089 0 crw--w---- 1 root tty 4, 48 Oct 22 15:12 /dev/tty48
1090 0 crw--w---- 1 root tty 4, 49 Oct 22 15:12 /dev/tty49
1046 0 crw--w---- 1 root tty 4, 5 Oct 22 15:12 /dev/tty5
1091 0 crw--w---- 1 root tty 4, 50 Oct 22 15:12 /dev/tty50
1092 0 crw--w---- 1 root tty 4, 51 Oct 22 15:12 /dev/tty51
1093 0 crw--w---- 1 root tty 4, 52 Oct 22 15:12 /dev/tty52
1094 0 crw--w---- 1 root tty 4, 53 Oct 22 15:12 /dev/tty53
1095 0 crw--w---- 1 root tty 4, 54 Oct 22 15:12 /dev/tty54
1096 0 crw--w---- 1 root tty 4, 55 Oct 22 15:12 /dev/tty55
1097 0 crw--w---- 1 root tty 4, 56 Oct 22 15:12 /dev/tty56
1098 0 crw--w---- 1 root tty 4, 57 Oct 22 15:12 /dev/tty57
1099 0 crw--w---- 1 root tty 4, 58 Oct 22 15:12 /dev/tty58
1100 0 crw--w---- 1 root tty 4, 59 Oct 22 15:12 /dev/tty59
1047 0 crw--w---- 1 root tty 4, 6 Oct 22 15:12 /dev/tty6
1101 0 crw--w---- 1 root tty 4, 60 Oct 22 15:12 /dev/tty60
1102 0 crw--w---- 1 root tty 4, 61 Oct 22 15:12 /dev/tty61
1103 0 crw--w---- 1 root tty 4, 62 Oct 22 15:12 /dev/tty62
1104 0 crw--w---- 1 root tty 4, 63 Oct 22 15:12 /dev/tty63
1048 0 crw--w---- 1 mazumoto users 4, 7 Oct 22 15:12 /dev/tty7
1049 0 crw--w---- 1 root tty 4, 8 Oct 22 15:12 /dev/tty8
1050 0 crw--w---- 1 root tty 4, 9 Oct 22 15:12 /dev/tty9







