AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[x2go](ubuntu)

Martin Hope
mattiav27
Asked: 2023-05-31 15:08:08 +0800 CST

使用 x2go 注销后如何保持程序运行?

  • 5

我必须使用 x2go 在共享工作站上运行一些程序。

这些程序需要相当长的时间,我希望:

  1. 在 x2go 中启动程序
  2. 登出
  3. 一段时间后使用 x2go 再次连接到机器并查看程序的结果

所以,最后,我想做的与人们可以用screen. 但是,似乎注销会杀死所有正在运行的程序。

这些程序使用 Mathematica,特别是它的一些动态内置函数,所以我需要访问 X 服务器才能与 GUI 交互,这不是screen一个选项。

如果需要,我的电脑和工作站都使用 Ubuntu。命令cat /etc/os-release给出:

我的电脑

NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

工作站

PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
x2go
  • 1 个回答
  • 13 Views
Martin Hope
Jacco.Oosterhuis
Asked: 2020-09-03 23:13:42 +0800 CST

X2go 会话在短暂时间后无响应

  • 9

当我使用 ubuntu gnome x2goclient 连接到运行 ubuntu xfce 的 x2goserver 时,我无法在短时间内(+-5 分钟)后恢复暂停的会话。我已经在客户端和服务器上运行调试以尝试查找任何内容,但没有错误消息。客户端上的显示只是冻结;服务器似乎说它已成功恢复。但是屏幕没有反应。如果我终止并开始一个新会话,一切正常。但是 5 分钟后(不活动后)同样的问题发生了。

一段时间后,客户端会说“没有收到来自远程服务器的响应”。

在 x2goclient 运行窗口上不会出现该问题,会话可以在以后继续。

客户端调试(仅相关部分,不能在这里发布所有内容)

x2go-DEBUG-../src/sshmasterconnection.cpp:356> Creating new channel for reverse tunnel 57307
x2go-DEBUG-../src/sshmasterconnection.cpp:368> Connecting to "127.0.0.1":4713

x2go-DEBUG-../src/sshmasterconnection.cpp:392> New channel created
x2go-DEBUG-../src/onmainwindow.cpp:6618> Proxy wrote on stderr: "Warning: No data received from remote proxy within 30 seconds.\n"

服务器信息

Sep  3 06:59:38 lnz1-inno /usr/bin/x2goumount-session[1567193]: x2goumount-session has been called with options: j.oosterhuis-50-1599113954_stDXFCE_dp24
Sep  3 06:59:38 lnz1-inno /usr/bin/x2goumount-session[1567193]: SSHFS share already unmounted, taking care of further clean-up (C-j.oosterhuis-50-1599113954_stDXFCE_dp24)
Sep  3 06:59:38 lnz1-inno /usr/bin/x2gofeature: x2gofeature called with options: X2GO_FMBINDINGS
Sep  3 06:59:38 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_FMBINDINGS
Sep  3 06:59:38 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features called with options: X2GO_FMBINDINGS
Sep  3 06:59:38 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features: x2goserver-fmbindings.features called with options: X2GO_FMBINDINGS
Sep  3 07:00:12 lnz1-inno /usr/bin/x2goresume-session: x2goresume-session called with options: j.oosterhuis-50-1599113954_stDXFCE_dp24 800x600 adsl 16m-jpeg-9 us pc105/us 0 both no
Sep  3 07:00:12 lnz1-inno /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS
Sep  3 07:00:12 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Sep  3 07:00:12 lnz1-inno /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: j.oosterhuis-50-1599113954_stDXFCE_dp24 pre-resume
Sep  3 07:00:13 lnz1-inno /usr/bin/x2goresume-session: client 192.168.23.106 has successfully resumed session with ID j.oosterhuis-50-1599113954_stDXFCE_dp24
Sep  3 07:00:13 lnz1-inno /usr/bin/x2gofeature: x2gofeature called with options: X2GO_DESKTOPSHARING
Sep  3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_DESKTOPSHARING
Sep  3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features called with options: X2GO_DESKTOPSHARING
Sep  3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features: x2goserver-fmbindings.features called with options: X2GO_DESKTOPSHARING
Sep  3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-printing.features: x2goserver-printing.features called with options: X2GO_DESKTOPSHARING
Sep  3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features: x2goserver-x2goagent.features called with options: X2GO_DESKTOPSHARING
Sep  3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-xsession.features: x2goserver-xsession.features called with options: X2GO_DESKTOPSHARING
Sep  3 07:00:13 lnz1-inno /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS
Sep  3 07:00:13 lnz1-inno /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Sep  3 07:00:13 lnz1-inno /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: j.oosterhuis-50-1599113954_stDXFCE_dp24 post-resume
Sep  3 07:00:15 lnz1-inno /usr/bin/x2gomountdirs[1568154]: x2gomountdirs has been called with options: dir j.oosterhuis-50-1599113954_stDXFCE_dp24 jacco /home/j.oosterhuis/.x2go/ssh/key.KozDcL /home/jacco/.x2go/S-j.oosterhuis-50-1599113954_stDXFCE_dp24/spool__PRINT_SPOOL___REVERSESSH_PORT__57308
Sep  3 07:00:16 lnz1-inno /usr/bin/x2gomountdirs[1568154]: successfully mounted [email protected]:57308/home/jacco/.x2go/S-j.oosterhuis-50-1599113954_stDXFCE_dp24/spool to /tmp/.x2go-j.oosterhuis/spool/C-j.oosterhuis-50-1599113954_stDXFCE_dp24

这似乎说“成功安装”。

x2go x2goclient
  • 1 个回答
  • 8733 Views
Martin Hope
subodh
Asked: 2018-10-10 09:05:29 +0800 CST

无法通过 X2Go 客户端访问 Ubuntu 远程机器?

  • 2

我在我的远程机器上安装了 X2Go,当我尝试从 Windows10 机器通过 X2Go 客户端访问这台机器时,我得到一个黑屏,登录后几秒钟内退出。消息显示类似这样的内容。

NXPROXY - Version 3.5.0

Copyright (C) 2001, 2010 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '14480'.
Session: Starting session at 'Tue Oct  9 22:34:00 2018'.
Info: Connecting to remote host 'localhost:59245'.
Info: Connection to remote proxy 'localhost:59245' established.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.
Warning: Failed to read data from the X auth command.
Warning: Generated a fake cookie for X authentication.
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_32'.
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 'localhost:0'.
Session: Session started at 'Tue Oct  9 22:34:00 2018'.Info: Using shared memory parameters 0/0K.
Info: Established X server connection.
Terminating session at 'Tue Oct  9 22:36:26 2018'.
Session: Session terminated at 'Tue Oct  9 22:36:26 2018'.
18.04 x2go x2goclient
  • 1 个回答
  • 2792 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve