• Display issue


    Hi Guys,

    I’m having an issue whenever i try to open an application or a file with an application (like a pdf), from gnome terminal. I get an error such as:

    Error: Unable to initialize GTK+, is DISPLAY set properly?
    Unable to init server: Could not connect: Connection refused
    Cannot parse arguments: Cannot open display:

    Does anyone know how to fix this?

    $DISPLAY shows nothing

    thanks

  • @andrew
    Hard to know why the problem exists, but maybe you could try this command:

    export DISPLAY=:0
    

    on the Gnome terminal.
    If that helps, then for some reason your DISPLAY variable is not automatically set properly.
    You can put the above command in the end of your ~/.bashrc file though.

  • echo $DISPLAY
    

    would be the command and it should show something like:

    :0.0
    
  • and this should be set by display itself, if not there is something wrong.

  • Yeah I meant to write echo $DISPLAY but either way, it returns nothing. I’ll try setting it as described above and get back to you. Thanks

  • hi all,

    i tried running export DISPLAY=:0 and the variable now returns that value. However, i still can’t launch anything from the terminal, any ideas?

  • @andrew Maybe @joekamprad has more info about Gnome services? I’m using Xfce and for me the terminal can launch apps without problems.
    However, I suspect that some required Gnome service is not running, but why, probably Joe can help you more.

  • without some related errorlogs all this is diggin in the dark:

    lspci > log.txt && lsusb >> log.txt && journalctl -b -0 >> log.txt && cat log.txt | curl -F [email protected] https://ptpb.pw/?u=1
    
    inxi -Fxxc0 | curl -F [email protected] https://ptpb.pw/?u=1
    
  • inxi -Fxxc0 > log.txt && lspci >> log.txt && lsusb >> log.txt && journalctl -b -0 >> log.txt && cat log.txt | curl -F [email protected] https://ptpb.pw/?u=1
    

    so that’s the all in one system overview command…

  • or:

    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2

  • https://ptpb.pw/5HlI

    as andrew can not post this caused by kismet ;)

  • platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    cfg80211: failed to load regulatory.db
    

    again i see this often at the moment…

    systemd-udevd[235]: Process '/usr/bin/tlp auto' failed with exit code 4.
    
    TLP powermanagement, can stay in relation...
    kernel: [drm:wait_panel_status [i915]] *ERROR* PPS state mismatch
    kernel: [drm:wait_panel_status [i915]] *ERROR* PPS state mismatch
    gnome-shell[613]: Can't initialize KMS backend: could not find drm kms device
    gnome-session[558]: gnome-session-binary[558]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
    gnome-session-binary[558]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
    gnome-session-binary[558]: Unrecoverable failure in required component org.gnome.Shell.desktop
    systemd-logind[335]: Removed session c1.
    systemd[1]: Stopping User Manager for UID 120...
    systemd[449]: Stopped target Default.
    systemd[449]: Stopping D-Bus User Message Bus...
    gdm[376]: Child process -539 was already dead.
    gdm[376]: Child process 393 was already dead.
    gdm[376]: Unable to kill session worker process
    

    this is a crash… driver (i915) gives ERROR >> Gnome Shell failure >> gdm crashes…

    and this is something you want to provide?

    gsd-color[750]: failed to set screen _ICC_PROFILE: Failed to open file “/home/andy/.local/share/icc/edid-22bf0c6d80c56aedc6e2f7929292ba82.icc”: Permission denied
    

    and followed by :

    gsd-power[1170]: gsd_power_backlight_abs_to_percentage: assertion 'max > min' failed
    

    backlight failed to set correctly…

    gnome-shell[663]: Failed to read EDID from 'eDP-1': No such file or director
    gnome-shell[663]: Failed to apply DRM plane transform 0: Permission denied
    gnome-shell[663]: drmModeSetCursor2 failed with (Permission denied), drawing cursor with OpenGL from now on
    gnome-shell[663]: Failed to apply DRM plane transform 0: Permission denied
    org.gnome.Shell.desktop[663]: Window manager warning: Failed to set power save mode for output eDP-1: Permission denied
    

    I was wondering about all the permission denied messages…, looks like something missing to setup, or try to setup something and failing on this…

    is it a asus zenbook?

    You can try installing:
    sudo pacman -S vulkan-intel

  • Hey, thanks for the info. Yeah, it a zenbook and installing the vulkan package seems to have fixed some of the issues. updated journal dump here: https://ptpb.pw/KtQd

display50 Posts 13Views 634
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.