Giter VIP home page Giter VIP logo

Comments (7)

ubaransel avatar ubaransel commented on July 22, 2024

lgcommander.py needs X server.

from lgcommander.

lukiifaz avatar lukiifaz commented on July 22, 2024

X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.41-v7+ armv7l Raspbian
Current Operating System: Linux raspberrypi 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l
Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=0005e85a-07 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles
Build Date: 18 October 2017 04:55:30PM
xorg-server 2:1.19.2-1+rpt1+deb9u2 (https://www.debian.org/support)
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
p

from lgcommander.

ubaransel avatar ubaransel commented on July 22, 2024

if you run:
"env |grep -i display"
from a tty outside a desktop session you get nothing, because there is "no display name and no $DISPLAY environment variable"
but if you run
"env |grep -i display"
on a virtual terminal while inside a desktop session you get something like
$ env|grep -i display
DISPLAY=:0.0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0

from lgcommander.

lukiifaz avatar lukiifaz commented on July 22, 2024

Ok
I can`t use thist script via ssh :/ Thx for help.

from lgcommander.

ubaransel avatar ubaransel commented on July 22, 2024

try
ssh -X

from lgcommander.

ypid avatar ypid commented on July 22, 2024

@lukiifaz Maybe my fork works for you. I think I made X optional when you provide the session ID. https://github.com/ypid/lgcommander

from lgcommander.

lukiifaz avatar lukiifaz commented on July 22, 2024

Thx ypid, work perfect .

from lgcommander.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.