aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/services/xorg.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 65e9d48915..29955754fa 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -549,8 +549,14 @@ reboot_cmd " shepherd "/sbin/reboot\n"
(list (shepherd-service
(documentation "Xorg display server")
- (provision (list (symbol-append 'xorg-server-
- (string->symbol vt))))
+ (provision (append
+ ;; For compatibility, also provide 'xorg-server'.
+ (if (string=? vt "vt7")
+ '(xorg-server)
+ '())
+
+ (list (symbol-append 'xorg-server-
+ (string->symbol vt)))))
(requirement '(user-processes host-name udev))
(start
#~(lambda ()