Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TigerVNC Problem nach system update: Can't open display
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Tue Sep 13, 2022 3:20 pm    Post subject: TigerVNC Problem nach system update: Can't open display Reply with quote

Hallo zusammen!

Leider kann ich mich nach einem world update nicht mehr zu meiner VNC Server verbinden.

Code:
ms ~ $ vncviewer

TigerVNC-Betrachter (32-bit) Version 1.12.0
Erstellt auf: 2022-09-09 15:57
Copyright (C) 1999-2021 TigerVNC-Team und viele andere (siehe README.rst)
Siehe https://www.tigervnc.org für Informationen zu TigerVNC.
Can't open display:
ms ~ $


Vermutlich ein Problem bereits beim Starten des Servers.

Code:
ms ~ # vncserver :1
Using desktop session xfce

New 'ms:1 (root)' desktop is ms:1

Starting desktop session xfce


Xvnc TigerVNC 1.12.0 - built Sep  9 2022 18:02:19
Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12101001


Sat Sep 10 09:15:18 2022
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0
[mi] mieq: warning: overriding existing handler (nil) with 0x57cafc for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x57cafc for event 3
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: connection to X server lost

waiting for X server to shut down  ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:nan ratio)

ms ~ #


tigervnc wurde bereits mit USE="server" neu kompiliert, leider blieb das problem damit ungelöst.

Beim beenden Restarten des Servers kommen komische Meldungen bezogen auf Benutzer.

Code:
ms ~ # /etc/init.d/tigervnc restart
 * Stopping TigerVNC server ...
cat: '/run/vncsession-:1.pid': Datei oder Verzeichnis nicht gefunden
Kein Benutzer mit dem Namen »«
cat: '/run/vncsession-:2.pid': Datei oder Verzeichnis nicht gefunden
Kein Benutzer mit dem Namen »«                                                                                                                            [ ok ]
 * Starting TigerVNC server ...                                                                                                                           [ ok ]
ms ~ #


Was könnte ich versuchen um das Problem zu löschen. Danke für jeden Tip im Voraus!
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Sep 13, 2022 3:55 pm    Post subject: Reply with quote

Das ist alles etwas durcheinander.

Verstehe ich es richtig, dass Du zwei Probleme hast?
  1. Du startest "vncviewer" auf dem Client. Du würdest erwarten, dass jetzt ein Fenster aufgeht. Und stattdessen bekommst Du die Meldung "Can't open display".

  2. Du hast auch auf dem Server ein Problem - auch dort bekommst Du Fehlermeldungen.
Sind Client und Server der gleiche Rechner? Oder sind das unterschiedliche Rechner?

Fangen wir erst einmal mit dem Client an. Die Meldung "Can't open display" bedeutet, dass vncviewer keine Verbindung zum X-Server bekommt.

Verstehe ich es richtig, dass auf dem Client ein X-Server und die Desktop-Umgebung XFCE läuft? Und Du hast dort ein Terminal-Fenster geöffnet und gibst dort "vncviewer" ein - und dann kommt die Fehlermeldung?

Was passiert, wenn Du andere X-Programme wie xclock vom Terminal startest? Funktionieren die? Oder bekommst Du dort auch die Meldung "Can't open display"?

Bitte poste die Ausgabe von folgendem Befehl auf dem Client:
Code:
emerge --info
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Wed Sep 14, 2022 3:35 pm    Post subject: Reply with quote

Hallo mike155,

danke für Deine Rückmeldung.

Sorry für die Verwirrung. Du hast Recht, ich habe vncviewer aus einem Terminal ohne X-Server aufgerufen. Eigentlich habe ich es so eingestellt, dass X-Server biz. die XFCE Umgebung mitgestartet wird, wenn eine VNC Session geöffnet wird.

Im Normalfall eröffne ich eine VNC Session vom einem Mac Rechner aus (was vorher immer gut funktioniert hat). Jetzt bekomme ich die Meldung, dass die Verbindung nicht aufgebaut werden kann, und mann soll überprüfen, ob die Freigabe aktiviert ist. Der gleiche Effekt, wenn man sich von einer Windows Maschine aus, verbinden möchte.

Wie gesagt, vor dem Update hat alles so wie beschrieben sowohl vom Mac auch von windows aus funktioniert.

Wenn ich auf dem Gentoo die XFCE Umgebung starte und von da aus vncviewer auf localhost aufrufe so wird die Verbindung zwar aufgebaut, da die Login Informationen abgefragt werden, dann kommt aber ein schwarzer Bildschirm, bis die XFCE Umgebung über zweiten Kanal gekillt wird.

So soll es vermutlich am VNC Server liegen, der keine Verbindungen von aussen zulässt oder die XFCE hierzu nicht starten kann?
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Wed Sep 14, 2022 3:37 pm    Post subject: Reply with quote

Anbei Emerge Info

Code:
ms ~ # emerge --info
Portage 3.0.30 (python 3.10.6-final-0, default/linux/arm/17.0/armv7a/desktop, gcc-11.3.0, glibc-2.35-r8, 4.9.44 armv7l)
=================================================================
System uname: Linux-4.9.44-armv7l-ARMv7_Processor_rev_3_-v7l-with-glibc2.35
KiB Mem:     2041904 total,     59740 free
KiB Swap:    4189180 total,   4187292 free
Timestamp of repository gentoo: Mon, 12 Sep 2022 13:30:01 +0000
Head commit of repository gentoo: aaba9197a89385d18f8c9ee69ff16e3db81ec5c5
sh bash 5.1_p16-r1
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.13_p4::gentoo, 3.10.6_p2::gentoo
dev-lang/rust-bin:         1.62.1::gentoo
dev-util/cmake:            3.23.3::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.15.1-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils:        2.37_p1::gentoo, 2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            12.0.1::gentoo, 13.0.1::gentoo, 14.0.6-r2::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl airplay alsa apache2 arm bluetooth bluray branding bzip2 cairo caps cdda cdr cec cli crypt css cups curl dbus dri dts dvd dvdr elogind encode exif flac fortran fpm ftp gd gdbm gif gpm gtk gui iconv icu ipv6 java jce jpeg lcms libglvnd libnotify mad mng mp3 mp4 mpeg ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf pdo php phython png policykit postgres ppds qt5 readline sdl seccomp server spell split-usr sqlite ssl startup-notification svg threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xmlreader xmlwriter xv xvid zip zlib" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 vfp" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="de en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Thu Sep 15, 2022 11:19 am    Post subject: Reply with quote

Mein Problem ist anscheinend, dass VNC Server den X Server nicht starten kann.

Früher:

Code:
Xvnc TigerVNC 1.9.0 - built Mar 31 2021 09:40:16
Copyright (C) 1999-2018 TigerVNC Team and many others (see README.rst)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12000000, The X.Org Foundation


Fri Jul 23 19:15:06 2021
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0
/usr/bin/startxfce4: X server already running on display :1

(xfwm4:2707): xfwm4-WARNING **: 19:15:11.194: The display does not support the XPresent extension.

(xfwm4:2707): xfwm4-WARNING **: 19:15:11.661: Unsupported GL renderer (llvmpipe (LLVM 11.1.0, 128 bits)).



Jetzt:

Code:
Xvnc TigerVNC 1.12.0 - built Sep 10 2022 13:50:04
Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12101001


Thu Sep 15 13:15:59 2022
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5902
 vncext:      created VNC server for screen 0
[mi] mieq: warning: overriding existing handler (nil) with 0x55bafc for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x55bafc for event 3
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: connection to X server lost

waiting for X server to shut down  ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:nan ratio)
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Thu Sep 15, 2022 11:42 am    Post subject: Reply with quote

In der .xsession-errors steht

Code:
/etc/X11/Sessions/Xsession: Zeile 106: exec: xsm: Nicht gefunden.
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Thu Sep 15, 2022 11:49 am    Post subject: Reply with quote

Ich habe ein ähnliches Problem mit Starten von VNC Server.

In der .xsession-errors steht

Code:
/etc/X11/Sessions/Xsession: Zeile 106: exec: xsm: Nicht gefunden.
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1522

PostPosted: Thu Sep 15, 2022 12:04 pm    Post subject: Reply with quote

@misterxx:

Try emerging xsm.
Back to top
View user's profile Send private message
Uli Sing
Apprentice
Apprentice


Joined: 03 May 2010
Posts: 197
Location: MUC

PostPosted: Thu Sep 15, 2022 2:49 pm    Post subject: Reply with quote

xdm installiert?
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Fri Sep 16, 2022 12:43 pm    Post subject: Reply with quote

OK, habe xsm installiert.

Jetzt lässt sich VNC Session öffnen und dabei wird nicht xfce4 sondern xsm gestartet. Was ich so nicht habe möchte.

Anscheinend hat sich bei der neuen Tigervnc Version einiges im Konfigurationskonzept geändert.

Habe leider noch nicht finden können, wo ich es umstellen kann, dass anstatt xsm wie früher xfce4 gestartet wird.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4244
Location: Bavaria

PostPosted: Fri Sep 16, 2022 1:30 pm    Post subject: Reply with quote

[Moderator edit: Ich habe die letzten 3 Beiträge aus einem Thread im internationalen Bereich abgetrennt und hier hinzugefügt (w/ gleiches Thema und dt. Sprache)]
Back to top
View user's profile Send private message
Uli Sing
Apprentice
Apprentice


Joined: 03 May 2010
Posts: 197
Location: MUC

PostPosted: Fri Sep 16, 2022 2:49 pm    Post subject: Reply with quote

/etc/X11/xsm/system.xsm
Code:
...
startxfce4
...
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Mon Sep 19, 2022 8:31 am    Post subject: Reply with quote

Uli Sing wrote:
/etc/X11/xsm/system.xsm
Code:
...
startxfce4
...


Danke für den Hinweis.

Genau so habe ich es auch da stehen. In der Session Log von xms seht auch

Code:
Starting locally: startxfce4


xfce4 startet bei einer VNC Verbindung aber nicht. Aus der Konsole lässt sich Xfce4 problemlos starten.

Habe bei mir in der Sicherung vor dem System Update nachgeschaut. Vor dem Update von tigervnc hatte ich xsm nicht installiert gehabt.
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Mon Sep 19, 2022 8:57 am    Post subject: Reply with quote

OK, habe Problem lösen können.

1) xsm deinstalliert, so kam erneut in der Xsession-errors, dass das Kommando xsm nicht gefunden wurde.
2) In der Datei /etc/X11/Sessions/Xsession folgenden Anweisung angepasst


Vorher:
Code:
if [ -x "$startup" ]; then
     exec "$startup"
elif [ -x "$HOME/.Xclients" ]; then
        exec "$HOME/.Xclients"
elif [ -x /etc/X11/xinit/Xclients ]; then
        exec /etc/X11/xinit/Xclients
elif [ -x /etc/X11/Xclients ]; then
        exec /etc/X11/Xclients
else
        exec xsm
fi


Nachher:
Code:
if [ -x "$startup" ]; then
     exec "$startup"
elif [ -x "$HOME/.Xclients" ]; then
        exec "$HOME/.Xclients"
elif [ -x /etc/X11/xinit/Xclients ]; then
        exec /etc/X11/xinit/Xclients
elif [ -x /etc/X11/Xclients ]; then
        exec /etc/X11/Xclients
else
        exec startxfce4
fi


Jetzt wird bei den VNC Logons Xfce4 gestartet und angezeigt.
Back to top
View user's profile Send private message
Uli Sing
Apprentice
Apprentice


Joined: 03 May 2010
Posts: 197
Location: MUC

PostPosted: Tue Sep 20, 2022 5:59 am    Post subject: Reply with quote

Mit
vi ~/.xsession
Code:
exec startxfce4

chmod +x ~/.xsession

muss die /etc/X11/Sessions/Xsession nicht editiert werden.
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 509

PostPosted: Tue Sep 20, 2022 6:54 am    Post subject: Reply with quote

Uli Sing wrote:
Mit
vi ~/.xsession
Code:
exec startxfce4

chmod +x ~/.xsession

muss die /etc/X11/Sessions/Xsession nicht editiert werden.


~/.xsession taucht in der If Anweisung doch nicht auf.

Ich habe mir auch bereits überlegt, dass das Editieren von Xsession nicht ganz klug ist. So habe ich bei mir

Code:
~/.Xclients


zu diesem Zweck angelegt.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5206

PostPosted: Tue Sep 20, 2022 7:32 am    Post subject: Reply with quote

misterxx wrote:

~/.xsession taucht in der If Anweisung doch nicht auf.

Liegt daran dass "/etc/X11/Sessions/Xsession" der fallback ist wenn ~/.xsession nicht existiert ;)
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Uli Sing
Apprentice
Apprentice


Joined: 03 May 2010
Posts: 197
Location: MUC

PostPosted: Tue Sep 20, 2022 10:31 am    Post subject: Reply with quote

misterxx wrote:

~/.xsession taucht in der If Anweisung doch nicht auf.

vi /etc/X11/Sessions/Xsession
Code:
...
startup=$HOME/.xsession
...
if [ -x "$startup" ]; then
        exec "$startup"
elif [ -x "$HOME/.Xclients" ]; then
        exec "$HOME/.Xclients"
elif [ -x /etc/X11/xinit/Xclients ]; then
        exec /etc/X11/xinit/Xclients
elif [ -x /etc/X11/Xclients ]; then
        exec /etc/X11/Xclients
else
        exec xsm
fi
Back to top
View user's profile Send private message
Uli Sing
Apprentice
Apprentice


Joined: 03 May 2010
Posts: 197
Location: MUC

PostPosted: Tue Sep 20, 2022 10:38 am    Post subject: Reply with quote

firefly wrote:
Liegt daran dass "/etc/X11/Sessions/Xsession" der fallback ist wenn ~/.xsession nicht existiert ;)

IMHO ruft /etc/X11/Sessions/Xsession ~/.xsession auf.
Übersichtlichkeit geht anders. ;-)
Womöglich ist die Variablensetzung ein Relikt voriger Versionen...

Edit: 3x hintereinander elif in einer Schleife muss man schon echt mögen. :D

Edit 2: Ich hätt's ja so gemacht:
Code:
var="xsm"
array=( /etc/X11/Xclients /etc/X11/xinit/Xclients $HOME/.Xclients $HOME/.xsession )
for item in ${array[*]}; do [[ -x "$item" ]] && var="$item"; done
exec "$var"
aber naja...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum