pygame wont output to the virtual screen
Ill_be_back_inb (5)

whenever i try to run a program that uses pygame to display visuals, i get an error message, i have looked around forums for a while but havnt found aything related to this issue and REPl.
the error:

xset:  unable to open display ":0"
xset:  unable to open display ":0"
Keyboard Control:
  auto repeat:  on    key click percent:  0    LEDmask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off 02: Scroll Lock: off
    03: Shift Lock:  off    04: Group 2:     off 05: Mouse Keys:  off
  auto repeat delay:  660    repeat rate:  25
  auto repeating keys:  00feffffdffffbbf
                        fadfffffffdfe5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  600
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/X11/misc,built-ins
DPMS (Energy Star):
  Display is not capable of DPMS
nohup: ignoring input and appending output to 'nohup.out'
nohup: appending output to 'nohup.out'
pygame 1.9.5
Hello from the pygame community. https://www.pygame.org/contribute.html
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
You are viewing a single comment. View All
Answered by ArchieMaclean (663) [earned 5 cycles]
View Answer
ArchieMaclean (663)

@Ill_be_back_inb Yes, they happen to me too - they don't actually mean any errors happening.