Před 25 lety, ve čtvrtek 29. dubna 1999, byla spuštěna služba "Úschovna".
Byla vydána nová verze 24.04.28 s kódovým názvem Time After Time svobodného multiplatformního video editoru Shotcut (Wikipedie) a nová verze 7.24.0 souvisejícího frameworku MLT Multimedia Framework. Nejnovější Shotcut je vedle zdrojových kódů k dispozici také ve formátech AppImage, Flatpak a Snap.
Byla vydána verze 5.30 dnes již open source operačního systému RISC OS (Wikipedie).
V aktuálním příspěvku na blogu počítačové hry Factorio (Wikipedie) se vývojář s přezývkou raiguard rozepsal o podpoře Linuxu. Rozebírá problémy a výzvy jako přechod linuxových distribucí z X11 na Wayland, dekorace oken na straně klienta a GNOME, změna velikosti okna ve správci oken Sway, …
Rakudo (Wikipedie), tj. překladač programovacího jazyka Raku (Wikipedie), byl vydán ve verzi #171 (2024.04). Programovací jazyk Raku byl dříve znám pod názvem Perl 6.
Společnost Epic Games vydala verzi 5.4 svého proprietárního multiplatformního herního enginu Unreal Engine (Wikipedie). Podrobný přehled novinek v poznámkách k vydání.
Byl vydán Nextcloud Hub 8. Představení novinek tohoto open source cloudového řešení také na YouTube. Vypíchnout lze Nextcloud AI Assistant 2.0.
Vyšlo Pharo 12.0, programovací jazyk a vývojové prostředí s řadou pokročilých vlastností. Krom tradiční nadílky oprav přináší nový systém správy ladících bodů, nový způsob definice tříd, prostor pro objekty, které nemusí procházet GC a mnoho dalšího.
Microsoft zveřejnil na GitHubu zdrojové kódy MS-DOSu 4.0 pod licencí MIT. Ve stejném repozitáři se nacházejí i před lety zveřejněné zdrojové k kódy MS-DOSu 1.25 a 2.0.
Canonical vydal (email, blog, YouTube) Ubuntu 24.04 LTS Noble Numbat. Přehled novinek v poznámkách k vydání a také příspěvcích na blogu: novinky v desktopu a novinky v bezpečnosti. Vydány byly také oficiální deriváty Edubuntu, Kubuntu, Lubuntu, Ubuntu Budgie, Ubuntu Cinnamon, Ubuntu Kylin, Ubuntu MATE, Ubuntu Studio, Ubuntu Unity a Xubuntu. Jedná se o 10. LTS verzi.
sudo apt install x11vnca pak to poustej s parametrama:
x11vnc -display :0 -usepw -no6 -rfbportv6 -1 -ping 60 -noxdamage -o /var/log/x11vnc.log -ncache_cr -bg -forever -nevershared -dontdisconnect -noxrecord -repeatpri prvnim pusteni s parametrem -usepw se zepta na vytvoreni hesla, nasledne uz pouzije to vytvorene/ulozene a ve VNC klientovy ho zadavas, pokud to mas v siti kde to chces bez hesla muzes to vynechat, zaroven pokud to chces vystrcit do internetu tak ne ten VNC port, ale tuneluj to pres SSH...
# cat ./x11vnc.log 15/01/2017 16:32:28 passing arg to libvncserver: -rfbportv6 15/01/2017 16:32:28 passing arg to libvncserver: -1 15/01/2017 16:32:28 passing arg to libvncserver: -nevershared 15/01/2017 16:32:28 passing arg to libvncserver: -dontdisconnect 15/01/2017 16:32:28 -usepw: found /root/.vnc/passwd 15/01/2017 16:32:28 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 28845 No protocol specified 15/01/2017 16:32:28 XOpenDisplay(":0") failed. 15/01/2017 16:32:28 Trying again with XAUTHLOCALHOSTNAME=localhost ... No protocol specified 15/01/2017 16:32:28 *************************************** 15/01/2017 16:32:28 *** XOpenDisplay failed (:0) *** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue. *** There may be "Xlib:" error messages above with details about the failure. Some tips and guidelines: ...
ps aux | grep unity
ps aux | grep unity lightdm 1210 0.0 0.0 4448 688 ? Ss led14 0:00 /bin/sh /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter lightdm 1216 0.0 0.0 929920 8932 ? Sl led14 0:05 /usr/sbin/unity-greeter lightdm 1284 0.0 0.0 604476 3404 ? Sl led14 0:00 /usr/lib/unity-settings-daemon/unity-settings-daemon
sudo prikaz1 sudo prikaz2nebo
sudo -i prikaz1 prikaz2prikaz muze byt klidne gui aplikace (pokud by to opravdu potrebovala(coz by bylo pri instalaci/sprave toho daneho sw/hw ale ne pri kompilaci pro jine zarieni))
# cat /etc/lightdm/lightdm.conf
[SeatDefaults]
autologin-guest=false
autologin-user=android
autologin-user-timeout=0
autologin-session=lightdm-autologin
Ale vypadá to nějak pořád stejně. Resp. v logu vidím, že mi to startuje nad uživatelem android, ale pak tam vidím cosi, že řeší pod tím starým původním userem. Nemůžu nejít, kde
# ps aux | grep unity lightdm 1221 0.0 0.0 4448 684 ? Ss 21:21 0:00 /bin/sh /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter lightdm 1227 0.1 0.1 823416 30616 ? Sl 21:21 0:00 /usr/sbin/unity-greeter lightdm 1312 0.0 0.1 604480 23448 ? Sl 21:21 0:00 /usr/lib/unity-settings-daemon/unity-settings-daemon root 1835 0.0 0.0 16064 2344 pts/9 S+ 21:28 0:00 grep --color=auto unity
m# cat ./lightdm.log [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log [+0.00s] DEBUG: Starting Light Display Manager 1.10.6, UID=0 PID=1127 [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager [+0.00s] DEBUG: Registered seat module xlocal [+0.00s] DEBUG: Registered seat module xremote [+0.00s] DEBUG: Registered seat module unity [+0.00s] DEBUG: Registered seat module surfaceflinger [+0.00s] DEBUG: Adding default seat [+0.00s] DEBUG: Seat: Starting [+0.00s] DEBUG: Seat: Creating user session [+0.02s] DEBUG: Loading users from org.freedesktop.Accounts [+0.02s] DEBUG: User /org/freedesktop/Accounts/User1001 added [+0.04s] DEBUG: User /org/freedesktop/Accounts/User1000 added [+0.04s] DEBUG: Seat: Creating display server of type x [+0.04s] DEBUG: Deactivating Plymouth [+0.06s] DEBUG: Using VT 7 [+0.06s] DEBUG: Seat: Starting local X display on VT 7 [+0.06s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log [+0.06s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0 [+0.06s] DEBUG: DisplayServer x-0: Launching X Server [+0.06s] DEBUG: Launching process 1150: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch [+0.06s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0 [+0.06s] DEBUG: Acquired bus name org.freedesktop.DisplayManager [+0.06s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0 [+0.22s] DEBUG: Got signal 10 from process 1150 [+0.22s] DEBUG: DisplayServer x-0: Got signal from X server :0 [+0.22s] DEBUG: DisplayServer x-0: Connecting to XServer :0 [+0.23s] DEBUG: Quitting Plymouth; retaining splash [+0.26s] DEBUG: Seat: Display server ready, starting session authentication [+0.26s] DEBUG: Session pid=1174: Started with service 'lightdm-autologin', username 'android' [+0.27s] DEBUG: Session pid=1174: Authentication complete with return value 0: Success [+0.27s] DEBUG: Seat: Session authenticated, running command [+0.27s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0 [+0.27s] DEBUG: Session pid=1174: Running command /usr/sbin/lightdm-session gnome-session --session=ubuntu [+0.27s] DEBUG: Creating shared data directory /var/lib/lightdm-data/android [+0.27s] DEBUG: Session pid=1174: Logging to .xsession-errors [+0.27s] DEBUG: Activating VT 7 [+0.27s] DEBUG: Activating login1 session c1 [+0.27s] DEBUG: Session pid=1174: Exited with return value 1 [+0.27s] DEBUG: Seat: Session stopped [+0.27s] DEBUG: Seat: Stopping display server, no sessions require it [+0.27s] DEBUG: Sending signal 15 to process 1150 [+0.41s] DEBUG: Process 1150 exited with return value 0 [+0.41s] DEBUG: DisplayServer x-0: X server stopped [+0.41s] DEBUG: Releasing VT 7 [+0.41s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0 [+0.41s] DEBUG: Seat: Display server stopped [+0.41s] DEBUG: Seat: Active display server stopped, starting greeter [+0.41s] DEBUG: Seat: Creating greeter session [+0.41s] DEBUG: Seat: Creating display server of type x [+0.41s] DEBUG: Using VT 7 [+0.41s] DEBUG: Seat: Starting local X display on VT 7 [+0.41s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log [+0.41s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0 [+0.41s] DEBUG: DisplayServer x-0: Launching X Server [+0.41s] DEBUG: Launching process 1185: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch [+0.41s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0 [+0.72s] DEBUG: Got signal 10 from process 1185 [+0.72s] DEBUG: DisplayServer x-0: Got signal from X server :0 [+0.72s] DEBUG: DisplayServer x-0: Connecting to XServer :0 [+0.73s] DEBUG: Seat: Display server ready, starting session authentication [+0.74s] DEBUG: Session pid=1204: Started with service 'lightdm-greeter', username 'lightdm' [+0.74s] DEBUG: Session pid=1204: Authentication complete with return value 0: Success [+0.74s] DEBUG: Seat: Session authenticated, running command [+0.74s] DEBUG: Session pid=1204: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter [+0.74s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm [+0.74s] DEBUG: Session pid=1204: Logging to /var/log/lightdm/x-0-greeter.log [+0.75s] DEBUG: Activating VT 7 [+0.75s] DEBUG: Activating login1 session c2 [+0.86s] DEBUG: Session pid=1204: Greeter connected version=1.10.6 [+0.93s] DEBUG: Session pid=1204: Greeter start authentication for petr [+0.94s] DEBUG: Session pid=1246: Started with service 'lightdm', username 'petr' [+0.94s] DEBUG: Session pid=1246: Got 1 message(s) from PAM [+0.94s] DEBUG: Session pid=1204: Prompt greeter with 1 message(s) [+10.72s] DEBUG: User /org/freedesktop/Accounts/User0 added [+12.23s] DEBUG: User /org/freedesktop/Accounts/User1000 changed [+762.98s] DEBUG: User /org/freedesktop/Accounts/User1000 changed [+776.31s] DEBUG: User /org/freedesktop/Accounts/User0 added [+777.81s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
ps aux | grep android | wc -l 60Vidím tam procesy jako gnome-session, compiz apod. Tak myslím, že automatické přihlášení tedy prošlo? VNC log je ale pořád stejný...
17/01/2017 01:04:57 passing arg to libvncserver: -rfbportv6 17/01/2017 01:04:57 passing arg to libvncserver: -1 17/01/2017 01:04:57 passing arg to libvncserver: -nevershared 17/01/2017 01:04:57 passing arg to libvncserver: -dontdisconnect 17/01/2017 01:04:57 -usepw: found /root/.vnc/passwd 17/01/2017 01:04:57 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 2294 No protocol specified 17/01/2017 01:04:57 XOpenDisplay(":0") failed. 17/01/2017 01:04:57 Trying again with XAUTHLOCALHOSTNAME=localhost ... No protocol specified 17/01/2017 01:04:57 *************************************** 17/01/2017 01:04:57 *** XOpenDisplay failed (:0)Díky
DISPLAY=:0 x11vnc
?
root@DevelAndroid:/var/log# sudo su android android@DevelAndroid:/var/log$ x11vnc -display :0 -usepw -no6 -rfbportv6 -1 -ping 60 -noxdamage -o /var/log/x11vnc.log -ncache_cr -forever -nevershared -dontdisconnect -noxrecord -repeat error opening logfile: /var/log/x11vnc.log open: Permission denied android@DevelAndroid:/var/log$ DISPLAY=:0 android@DevelAndroid:/var/log$ x11vnc -display :0 -usepw -no6 -rfbportv6 -1 -ping 60 -noxdamage -o /var/log/x11vnc.log -ncache_cr -forever -nevershared -dontdisconnect -noxrecord -repeat error opening logfile: /var/log/x11vnc.log open: Permission denied
17/01/2017 01:04:57 -usepw: found /root/.vnc/passwdtim ze z root poustis sudo su android, tak mu zustava $HOME na /root misto /home/android, takze se snazi nacist soubor s heslem ke kteremu nema pravo
eror opening logfile: /var/log/x11vnc.log open: Permission deniedbud ukladej log jinam, nebo mu nastav prava zapisu uzivatelem android
ps aux | grep [u]nity-panel(proc [u]nity a ne unity? aby grep neukazoval sam sebe :)
# ps aux | grep unity-panel-service android 1369 0.0 0.1 651248 26436 ? Ssl led17 0:04 /usr/lib/unity/unity-panel-service android 2162 0.0 0.1 489772 27164 ? Ssl led17 0:03 /usr/lib/unity/unity-panel-service --lockscreen-modeAle to VNC mi pořád nenastartuje. :(
# x11vnc -xkb -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -usepw -forever -bg -rfbport 5900 -o /home/android/x11vnc.logDíky.
sudo service lightdm restartpak pust x11vnc znovu, tentokrat/prozatim bez parametru
x11vncmelo by to skoncit timto (a zustat bezet):
One can also add -ncache_cr for smooth 'copyrect' window motion. More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-cachingpak se zkus pripojit VNC klientem a podivej se co/jestli x11vnc vypsalo(a postni to sem), pokud to prijimalo spojeni z tveho vnc klienta a neco by se podelalo tak x11vnc by se ukoncilo (bez parametru je pousteno "na jedno pouziti"), a pred dalsim pokusem o VNC spojeni musis x11vnc zase pusitt, pripadne ho pust aspon s parametrem "bez naporad"
x11vnc -foreverjinak zamek si zrus v "Nastaveni/Jas a zamykani" (snad staci tam)...
Tiskni Sdílej: