Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] tough time making x2go work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Wed May 27, 2015 7:22 am    Post subject: [SOLVED] tough time making x2go work Reply with quote

I am trying to get a KDE session going for x2go but I keep getting this failure:

Code:
Info: Using shared memory parameters 1/1/0/0K.
Info: Using alpha channel in render extension.
Info: Not using local device configuration changes.
keyboard file created
Error: Aborting session with 'Could not open default font 'fixed''.
Session: Aborting session at 'Tue May 26 23:22:22 2015'.
Session: Session aborted at 'Tue May 26 23:22:22 2015'.


Particularly:

Error: Aborting session with 'Could not open default font 'fixed''.

I have all the X11 fixed fonts in /usr/share/fonts but I can't get rid of this error. Does anybody have any ideas on how to tackle this? I remember seeing this issue with NX Server a long time ago and dealing with it somehow but don't remember how.

Any ideas?


Last edited by devsk on Wed Sep 02, 2015 1:58 am; edited 1 time in total
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Thu May 28, 2015 5:02 am    Post subject: Reply with quote

anybody using x2go on Gentoo? I can not be the only one running into this issue.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri May 29, 2015 5:13 am    Post subject: Reply with quote

This seems like the failing code:
Code:
        InitFonts();
        if (loadableFonts) {
            SetFontPath(0, 0, (unsigned char *)defaultFontPath, &error);
        } else {
            if (SetDefaultFontPath(defaultFontPath) != Success)
                ErrorF("failed to set default font path '%s'",
                        defaultFontPath);
        }
        if (!SetDefaultFont(defaultTextFont))
            FatalError("could not open default font '%s'", defaultTextFont);
So, SetDefaultFont() is failing to set any fonts. When I run nxagent -fn "9x15", it can't load that font also, although I know that font is present in the fontpath and loaded. Very strange!
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 548
Location: uk

PostPosted: Fri May 29, 2015 5:59 am    Post subject: Reply with quote

I have been using x2go without a problem for a long time now, but I did have early issues.

I think the solution(hack?) is to open session preferences, select the "Input/Output" tab and deselect the "Set display dpi" checkbox

The following quote from the x2go website FAQ suggests it to be so as well
Quote:
How do I customize font sizes in X2Go sessions?

Some people have asked for font size customizations in X2Go session windows. Please use the DPI value in the session setup to customize font sizes within your X2Go sessions:

70 DPI → quite readable fonts
90 DPI → the default font size
120 DPI → miniature font size
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri May 29, 2015 6:29 am    Post subject: Reply with quote

I did that and the same result. I have a feeling that the nxagent code is too old for this fontsproto (2.1.3) and libXfont (1.5.1) and xorg-server (1.17) versions.

are you running ~amd64? What versions do you have for fontsproto, linXfont, xorg-server?
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri May 29, 2015 6:33 am    Post subject: Reply with quote

Man, this thing is as hard to setup as it was like 6-7 years (that's when server side was known as freenx). The issues don't leave much log. In this case, it just says "Could not open default font 'fixed'". It won't say why!

I am stuck. I don't know what else to try now! If you could provide me versions of your packages, may be I could try those out. Its some sort of library incompatibility. Something very basic is broken between NX and X libraries.
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 548
Location: uk

PostPosted: Fri May 29, 2015 11:35 am    Post subject: Reply with quote

devsk wrote:
I did that and the same result. I have a feeling that the nxagent code is too old for this fontsproto (2.1.3) and libXfont (1.5.1) and xorg-server (1.17) versions.

are you running ~amd64? What versions do you have for fontsproto, linXfont, xorg-server?


Yes it is ~amd64
Code:
baa@boxx2 ~ $ eix -I fontsproto
[I] x11-proto/fontsproto
     Available versions:  2.1.2 2.1.3 {doc}
     Installed versions:  2.1.3(15:11:04 16/02/15)(-doc)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org Fonts protocol headers

baa@boxx2 ~ $ eix -I libXfont
[I] x11-libs/libXfont
     Available versions:  1.4.9 1.5.1 {bzip2 doc ipv6 static-libs truetype}
     Installed versions:  1.5.1(09:46:28 20/03/15)(bzip2 ipv6 truetype -doc -static-libs)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org Xfont library

baa@boxx2 ~ $ eix -I xorg-server
[I] x11-base/xorg-server
     Available versions:  1.12.4-r4(0/1.12.4) (~)1.12.4-r5(0/1.12.4) 1.15.2-r2(0/1.15.2) 1.16.4(0/1.16.1) (~)1.16.4-r1(0/1.16.1) (~)1.16.4-r2(0/1.16.1) (~)1.17.1(0/1.17.1) (~)1.17.1-r1(0/1.17.1) {dmx doc glamor ipv6 kdrive minimal nptl selinux static-libs +suid systemd tslib +udev unwind wayland xephyr xnest xorg xvfb}
     Installed versions:  1.17.1-r1(15:54:38 01/03/15)(glamor ipv6 nptl suid udev xorg xvfb -dmx -doc -kdrive -minimal -selinux -static-libs -systemd -tslib -unwind -wayland -xephyr -xnest)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org X servers

and if it helps
Code:
emerge --info x2goclient
Portage 2.2.20 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 3.6.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.6.6-gentoo-x86_64-Dual-Core_AMD_Opteron-tm-_Processor_2218_HE-with-gentoo-2.2
KiB Mem:     8246792 total,   5462296 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 27 May 2015 15:15:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
app-shells/bash:          4.3_p39::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.16.3::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.uk.gentoo.org/gentoo-portage
    priority: -1000

myown
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ rsync://rsync.mirrorservice.org/www.ibiblio.org/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit postproc ppds prison qt3support qt4 readline samba sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd thumbnail tiff truetype udev udisks unicode upower usb vorbis vpx wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

net-misc/x2goclient-4.0.4.0::gentoo was built with the following:
USE="ldap nsplugin" ABI_X86="64"
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 548
Location: uk

PostPosted: Fri May 29, 2015 12:05 pm    Post subject: Reply with quote

it may be worth trying this on the server?

https://forums.gentoo.org/viewtopic-p-7495584.html#7495584
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri May 29, 2015 1:49 pm    Post subject: Reply with quote

baaann wrote:
it may be worth trying this on the server?

https://forums.gentoo.org/viewtopic-p-7495584.html#7495584
Yeah, I had read that and I already tried that, but no change...:(
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri May 29, 2015 1:50 pm    Post subject: Reply with quote

your packages are exactly like mine. No difference!
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri May 29, 2015 1:52 pm    Post subject: Reply with quote

So, I went with strace to nail it down: as expected everything is working fine and then "Could not open default font 'fixe'" out of the flue:

Code:
22:11:10.601581 open("/usr/share/fonts/Speedo/fonts.dir", O_RDONLY) = 4
22:11:10.601624 fstat(4, {st_mode=S_IFREG|0644, st_size=1689, ...}) = 0
22:11:10.601671 fstat(4, {st_mode=S_IFREG|0644, st_size=1689, ...}) = 0
22:11:10.601702 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ca5a9000
22:11:10.601733 read(4, "24\nfont0419.spd -bitstream-couri"..., 4096) = 1689
22:11:10.601783 read(4, "", 4096)       = 0
22:11:10.601811 read(4, "", 4096)       = 0
22:11:10.601838 close(4)                = 0
22:11:10.601863 munmap(0x7f29ca5a9000, 4096) = 0
22:11:10.601897 open("/usr/share/fonts/Type1/fonts.dir", O_RDONLY) = 4
22:11:10.601930 fstat(4, {st_mode=S_IFREG|0644, st_size=13319, ...}) = 0
22:11:10.601959 fstat(4, {st_mode=S_IFREG|0644, st_size=13319, ...}) = 0
22:11:10.601985 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ca5a9000
22:11:10.602013 read(4, "193\nUTBI____.pfa -adobe-utopia-b"..., 4096) = 4096
22:11:10.602073 read(4, "ld-r-normal--0-0-0-0-m-0-ascii-0"..., 4096) = 4096
22:11:10.602128 read(4, "m-r-normal--0-0-0-0-p-0-iso8859-"..., 4096) = 4096
22:11:10.602182 read(4, "8859-13\nl049033t.pfa -b&h-luxi s"..., 4096) = 1031
22:11:10.602217 read(4, "", 4096)       = 0
22:11:10.602243 read(4, "", 4096)       = 0
22:11:10.602269 close(4)                = 0
22:11:10.602293 munmap(0x7f29ca5a9000, 4096) = 0
22:11:10.602324 open("/usr/share/fonts/TTF/fonts.dir", O_RDONLY) = 4
22:11:10.602388 fstat(4, {st_mode=S_IFREG|0644, st_size=10298, ...}) = 0
22:11:10.602418 fstat(4, {st_mode=S_IFREG|0644, st_size=10298, ...}) = 0
22:11:10.602443 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ca5a9000
22:11:10.602472 read(4, "156\nluximb.ttf -b&h-luxi mono-bo"..., 4096) = 4096
22:11:10.602533 read(4, "d-r-normal--0-0-0-0-p-0-iso8859-"..., 4096) = 4096
22:11:10.602588 read(4, "xi sans-bold-o-normal--0-0-0-0-p"..., 4096) = 2106
22:11:10.602630 read(4, "", 4096)       = 0
22:11:10.602662 read(4, "", 4096)       = 0
22:11:10.602692 close(4)                = 0
22:11:10.602716 munmap(0x7f29ca5a9000, 4096) = 0
22:11:10.602748 open("/usr/share/fonts/misc/fonts.dir", O_RDONLY) = 4
22:11:10.602804 fstat(4, {st_mode=S_IFREG|0644, st_size=6721, ...}) = 0
22:11:10.602836 fstat(4, {st_mode=S_IFREG|0644, st_size=6721, ...}) = 0
22:11:10.602863 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ca5a9000
22:11:10.602891 read(4, "88\n10x20.pcf.gz -misc-fixed-medi"..., 4096) = 4096
22:11:10.603125 read(4, "lean-medium-r-normal--8-80-75-75"..., 4096) = 2625
22:11:10.603277 read(4, "", 4096)       = 0
22:11:10.603311 read(4, "", 4096)       = 0
22:11:10.603338 close(4)                = 0
22:11:10.603362 munmap(0x7f29ca5a9000, 4096) = 0
22:11:10.603393 open("/usr/share/fonts/misc/fonts.alias", O_RDONLY) = 4
22:11:10.603425 fstat(4, {st_mode=S_IFREG|0644, st_size=6209, ...}) = 0
22:11:10.603453 fstat(4, {st_mode=S_IFREG|0644, st_size=6209, ...}) = 0
22:11:10.603480 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ca5a9000
22:11:10.603508 read(4, "fixed        -misc-fixed-medium-"..., 4096) = 4096
22:11:10.603642 read(4, "-iso8859-1 -misc-fixed-medium-r-"..., 4096) = 2113
22:11:10.603732 read(4, "", 4096)       = 0
22:11:10.603759 close(4)                = 0
22:11:10.603783 munmap(0x7f29ca5a9000, 4096) = 0
22:11:10.603825 open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 4
22:11:10.603863 fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
22:11:10.603891 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ca5a9000
22:11:10.603919 read(4, "MemTotal:        4044544 kB\nMemF"..., 1024) = 1024
22:11:10.604017 close(4)                = 0
22:11:10.604046 munmap(0x7f29ca5a9000, 4096) = 0
22:11:10.604147 open("/usr/share/fonts/75dpi/fonts.dir", O_RDONLY) = 4
22:11:10.604203 fstat(4, {st_mode=S_IFREG|0644, st_size=17280, ...}) = 0
22:11:10.604233 fstat(4, {st_mode=S_IFREG|0644, st_size=17280, ...}) = 0
22:11:10.604259 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ca5a9000
22:11:10.604287 read(4, "220\nUTBI__10.pcf.gz -adobe-utopi"..., 4096) = 4096
22:11:10.604320 brk(0x1ebc000)          = 0x1ebc000
22:11:10.604542 read(4, "r-bold-o-normal--14-140-75-75-m-"..., 4096) = 4096
22:11:10.604779 read(4, "b&h-lucida-medium-i-normal-sans-"..., 4096) = 4096
22:11:10.605005 read(4, "um-r-normal-sans-14-140-75-75-m-"..., 4096) = 4096
22:11:10.605235 read(4, "5-75-p-128-iso10646-1\ntimI08.pcf"..., 4096) = 896
22:11:10.605319 read(4, "", 4096)       = 0
22:11:10.605354 read(4, "", 4096)       = 0
22:11:10.605380 close(4)                = 0
22:11:10.605404 munmap(0x7f29ca5a9000, 4096) = 0
22:11:10.605434 open("/usr/share/fonts/75dpi/fonts.alias", O_RDONLY) = 4
22:11:10.605466 fstat(4, {st_mode=S_IFREG|0644, st_size=3066, ...}) = 0
22:11:10.605494 fstat(4, {st_mode=S_IFREG|0644, st_size=3066, ...}) = 0
22:11:10.605520 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ca5a9000
22:11:10.605548 read(4, "lucidasans-bolditalic-8 -b&h-luc"..., 4096) = 3066
22:11:10.605582 brk(0x1edd000)          = 0x1edd000
22:11:10.605704 read(4, "", 4096)       = 0
22:11:10.605732 close(4)                = 0
22:11:10.605756 munmap(0x7f29ca5a9000, 4096) = 0
22:11:10.605937 open("/usr/share/fonts/100dpi/fonts.dir", O_RDONLY) = 4
22:11:10.605973 fstat(4, {st_mode=S_IFREG|0644, st_size=17828, ...}) = 0
22:11:10.606001 fstat(4, {st_mode=S_IFREG|0644, st_size=17828, ...}) = 0
22:11:10.606027 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ca5a9000
22:11:10.606055 read(4, "220\nUTBI__10.pcf.gz -adobe-utopi"..., 4096) = 4096
22:11:10.606268 read(4, "0-m-90-iso10646-1\ncourBO12.pcf.g"..., 4096) = 4096
22:11:10.606668 read(4, "so10646-1\nluBS19.pcf.gz -b&h-luc"..., 4096) = 4096
22:11:10.606988 read(4, "lucidatypewriter-bold-r-normal-s"..., 4096) = 4096
22:11:10.607334 read(4, "0-100-p-132-iso10646-1\ntimB24.pc"..., 4096) = 1444
22:11:10.607589 read(4, "", 4096)       = 0
22:11:10.607728 read(4, "", 4096)       = 0
22:11:10.607829 close(4)                = 0
22:11:10.607916 munmap(0x7f29ca5a9000, 4096) = 0
22:11:10.608011 open("/usr/share/fonts/100dpi/fonts.alias", O_RDONLY) = 4
22:11:10.608108 fstat(4, {st_mode=S_IFREG|0644, st_size=3154, ...}) = 0
22:11:10.608217 fstat(4, {st_mode=S_IFREG|0644, st_size=3154, ...}) = 0
22:11:10.608308 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ca5a9000
22:11:10.608398 read(4, "lucidasans-bolditalic-8 -b&h-luc"..., 4096) = 3154
22:11:10.608496 brk(0x1f01000)          = 0x1f01000
22:11:10.608688 read(4, "", 4096)       = 0
22:11:10.608781 close(4)                = 0
22:11:10.608868 munmap(0x7f29ca5a9000, 4096) = 0
22:11:10.609148 write(2, "Error: Aborting session with '", 30Error: Aborting session with ') = 30
22:11:10.609277 write(2, "Could not open default font 'fix"..., 35Could not open default font 'fixed') = 35
22:11:10.609395 write(2, "'.\n", 3'.
)     = 3
22:11:10.609537 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
22:11:10.609641 write(2, "Session: Aborting session at 'Th"..., 57Session: Aborting session at 'Thu May 28 22:11:10 2015'.
) = 57
22:11:10.609792 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
22:11:10.609894 write(2, "Session: Session aborted at 'Thu"..., 56Session: Session aborted at 'Thu May 28 22:11:10 2015'.
) = 56
22:11:10.610036 unlink("/tmp/.X58-lock") = 0
22:11:10.610198 munmap(0x7f29ca56b000, 135168) = 0
22:11:10.610295 munmap(0x7f29ca5aa000, 135168) = 0
22:11:10.610414 write(3, "\2\6\4\0006\0`\3\0\10\0\0\177\300#\0<\1\2\0\0\0`\3+\0\1\0", 28) = 28
22:11:10.610527 read(3, 0x7ffde612ba18, 32) = -1 EAGAIN (Resource temporarily unavailable)
22:11:10.610592 select(4, [3], NULL, NULL, {5, 0}) = 1 (in [3], left {4, 976333})
22:11:10.634311 read(3, "\1\1\212\0\0\0\0\0>\0@\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 32) = 32
22:11:10.634367 shutdown(3, SHUT_RDWR)  = 0
22:11:10.634414 close(3)                = 0
22:11:10.634502 close(0)                = 0
22:11:10.634594 unlink("@/tmp/.X11-unix/X58") = -1 ENOENT (No such file or directory)
22:11:10.634858 exit_group(1)           = ?
22:11:10.635337 +++ exited with 1 +++
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri May 29, 2015 1:57 pm    Post subject: Reply with quote

@baaann: what steps did you take to set it up?

I pretty much emerged the packages on both machines.
Added my remote user to the x2gouser.
Initialized the sqlite DB.
Setup passwordless key based ssh login for the user.
And tried to connect using x2goclient.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri May 29, 2015 2:03 pm    Post subject: Reply with quote

I tried the localhost to rule out any differences between the client and server (although both are Gentoo ~amd64 and using the same packages). That resulted in the same issue.
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 548
Location: uk

PostPosted: Fri May 29, 2015 10:43 pm    Post subject: Reply with quote

Sorry, as I said earlier it has been a long time and I can't remember clearly. I definitely remember deselecting the DPI checkbox but you have tried that.

Maybe it is worth trying either net-misc/pyhoca-gui or net-misc/pyhoca-cli, I am afraid I have no experience of either.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Wed Sep 02, 2015 1:58 am    Post subject: Reply with quote

I finally decoded this issue. I can't believe it. The reason why its not able to load the default font and default cursor was that language specific fonts were missing from the /usr/share/fonts/misc folder. Those are missing because I have '-nls' in my global USE flags.

I had to spin up an Ubuntu 14.04 VM to figure this out...:) This is a packaging bug. nx package on Gentoo should force the 'nls' USE flag on media-fonts/font-misc-misc because without that nxagent is completely broken. I wonder how Xorg and Xvnc are fine without those! May be there is legacy code in nxagent which needs removal...:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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