Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

X2Go works with single apps but not with K Desktop Environme

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
RayDude
Advocate
Advocate
User avatar
Posts: 2195
Joined: Sat May 29, 2004 6:11 am
Location: San Jose, CA

X2Go works with single apps but not with K Desktop Environme

  • Quote

Post by RayDude » Fri Jan 17, 2014 7:29 pm

I've been using nxserver-freeedition for ever and its getting really crufty. If I detach from the session, when I go back in the graphics are all fowled up and mostly unusable.

So I've been looking for alternatives and found X2Go, which is really cool, but I can't quite get it to work.

It seems to fail when it launches startkde. I get absolutely no error messages, no clues as to what's going on.

But when I run a single application, like Chromium, it works fine.

I have recompiled openssh on the server with -hpn. I tried the latest libssh but that failed because scp couldn't write to my home directory on the server. I got an error message for that.

Has anyone seen anything like this or have any suggestions / things to try?

Thanks in advance.

Brian
Some day there will only be free software.
Top
muixeg
n00b
n00b
Posts: 1
Joined: Fri Feb 07, 2014 3:53 am
Location: Russia

  • Quote

Post by muixeg » Fri Feb 07, 2014 5:04 am

I've had the same trouble. As workaround I would suggest you (re)move /etc/x2go/Xsession file.
Hope, it'll help you.
Top
JanSteen
n00b
n00b
User avatar
Posts: 11
Joined: Sun Feb 13, 2005 8:58 pm
Location: Amsterdam/NL

  • Quote

Post by JanSteen » Wed Feb 12, 2014 12:06 pm

Weird hint, muixeg, but it works well for me, thank you! After moving /etc/x2go/Xsession out of the way, I managed to start XFCE without problem, and also Gnome2.

Only Gnome3 doesn't work yet within x2go, but that seems to be an unrelated bug (?).
Top
RayDude
Advocate
Advocate
User avatar
Posts: 2195
Joined: Sat May 29, 2004 6:11 am
Location: San Jose, CA

  • Quote

Post by RayDude » Fri Feb 14, 2014 3:13 am

Thanks much Muixeg!

I also did this, although I don't know if it was necessary:

Code: Select all

mkdir /etc/X11/Xresources
Its working now!
Some day there will only be free software.
Top
thoughtform
l33t
l33t
Posts: 600
Joined: Mon May 24, 2004 3:25 am

  • Quote

Post by thoughtform » Fri Mar 27, 2015 3:02 am

muixeg wrote:I've had the same trouble. As workaround I would suggest you (re)move /etc/x2go/Xsession file.
Hope, it'll help you.
THANKS!

That got my KDE session working.
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Mon Apr 27, 2015 9:49 pm

I got the stable x2goclient and x2goserver running on my home network this morning and I've been running it all day. It was easy to get it going, and it seems stable.

I did need to follow advice here and remove /etc/x2go/Xsession from the x2go server installation (by renaming it to Xsession.not). What's that all about? I did not do anything with the broken link /etc/x2go/Xresources but what's that about? These are apparently left over or in-work developoment files, and seem hardly appropriate in a stable release.

Very little forum activity here about x2go. I'm very thankful for those who brought these to the regular repositories. I've been worried about the abandonment of freenx and the nomachine efforts.
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
devsk
Advocate
Advocate
User avatar
Posts: 3039
Joined: Fri Oct 24, 2003 1:16 am
Location: Bay Area, CA

  • Quote

Post by devsk » Fri May 29, 2015 2:13 pm

If the folks can help, I am having a tough time with x2go. See: https://forums.gentoo.org/viewtopic-p-7755224.html

How can things change within a month to go from "easy to get going" to "tough time making x2go work"? What changed?
Top
mrbassie
l33t
l33t
User avatar
Posts: 855
Joined: Fri May 31, 2013 5:46 pm
Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.

  • Quote

Post by mrbassie » Sat Oct 03, 2015 4:31 pm

I'm also experiencing this, I can get firefox to launch and a kde session does start, a window opens but then the session is closed almost instantly. Removing Xsession didn't help me. :?
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Wed Oct 14, 2015 9:56 am

Same problem here, single applications are working, but I can't get Xfce or Fluxbox working.
Setup is both sides with Gentoo and net-misc/x2goserver-4.0.1.19 and net-misc/x2goclient-4.0.4.0 (the recent did not build).
The pam_mount stuff is working via ssh, anyway the home is already mounted for testing at x2go login.
I also tried removing the Xsession file and calling some /usr/bin/startfluxbox or /usr/bin/startxfce4 manually. Same issue, the session gets closed immediately.
Connecting via ssh -X works. Also starting an nxagent locally like this works:

Code: Select all

nxagent :42 &
DISPLAY=:42 xfce4-session
Server-Log:

Code: Select all

Oct 14 09:33:29 [sshd] Accepted password for mo from 94.79.149.... port 57338 ssh2
Oct 14 09:33:29 [sshd] pam_unix(sshd:session): session opened for user mo by (uid=0)
Oct 14 09:33:29 [sshd] (mount.c:68): Messages from underlying mount program:_
Oct 14 09:33:29 [sshd] (mount.c:72): crypt_activate_by_passphrase: File exists_
Oct 14 09:33:34 [sshd] (pam_mount.c:522): mount of /dev/disk/by-uuid/cfd4ec4b-d1ee-4257-98d5-d1d4536dba59 failed_
Oct 14 09:33:36 [kernel]  sdb: unknown partition table
                - Last output repeated twice -
Oct 14 09:33:39 [kernel] EXT4-fs (dm-2): mounted filesystem with journalled data mode. Opts: barrier,data=journal,journal_checksum
Oct 14 09:33:42 [/usr/bin/x2gostartagent] successfully started X2Go agent session with ID mo-55-1444808020_stDXFCE_dp24_
Oct 14 09:33:44 [/usr/bin/x2goruncommand] launching session with Xsession-x2go mechanism, using STARTUP="xfce4-session"_
Oct 14 09:33:46 [sshd] Received disconnect from 94.79.149....: 11: Bye Bye
Oct 14 09:33:46 [sshd] Disconnected from 94.79.149....
Oct 14 09:33:46 [sshd] pam_unix(sshd:session): session closed for user mo
Oct 14 09:33:46 [sshd] (mount.c:68): umount messages:_
Oct 14 09:33:46 [sshd] (mount.c:72): umount: /home.crypt: target is busy_
Oct 14 09:33:46 [sshd] (mount.c:72):         (In some cases useful info about processes that_
Oct 14 09:33:46 [sshd] (mount.c:72):          use the device is found by lsof(8) or fuser(1).)_
Oct 14 09:33:46 [sshd] (mount.c:888): unmount of /dev/disk/by-uuid/cfd4ec4b-d1ee-4257-98d5-d1d4536dba59 failed_
From the client debug log:

Code: Select all

x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:5718> Proxy wrote on stderr: "Info: Using ADSL link parameters 512/24/1/0.
Info: Using cache parameters 4/4096KB/8192KB/8192KB.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_24'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: No suitable cache file found.
Info: Forwarding X11 connections to display ':0.0'.
Session: Session started at 'Wed Oct 14 09:43:06 2015'.
"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:5718> Proxy wrote on stderr: "Info: Established X server connection.
"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:5718> Proxy wrote on stderr: "Info: Using shared memory parameters 0/0K.
"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:5718> Proxy wrote on stderr: "Session: Terminating session at 'Wed Oct 14 09:43:08 2015'.
Info: Your session was closed before reaching a usable state.
Info: This can be due to the local X server refusing access to the client.
Info: Please check authorization provided by the remote X application.
Session: Session terminated at 'Wed Oct 14 09:43:08 2015'.
"
x2go-DEBUG-../x2goclient-4.0.4.0/src/sshmasterconnection.cpp:1651> Socket 15 closed.
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
Polynomial-C
Retired Dev
Retired Dev
User avatar
Posts: 1432
Joined: Sun Jun 01, 2003 4:19 pm
Location: Germany

  • Quote

Post by Polynomial-C » Thu Feb 18, 2016 9:35 am

Most likely [bug=575022]bug #575022[/bug].
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Top
Post Reply

10 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic