WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Control Panel -> Mouse Tool and Terminal Server does not work  (Read 7425 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Mouse works great, don't need to modify settings. Just reporting issues. Quick forum search did not appear to indicate the issue previously. Thanks.
dCore-jessie:2015.12.21.22.02
« Last Edit: December 31, 2015, 05:03:18 PM by Rich »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #1 on: December 22, 2015, 10:02:33 PM »
Mouse tool works with my mice.  What does not work?  I will look into Terminal Server.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #2 on: December 22, 2015, 10:38:48 PM »
Clicking Mouse Tool in the Control Panel doesn't open the mouse GUI utillity. Reported version in first post. Should have mentioned also using Fluxbox. Everything otherwise works great, darn thing just don't open.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #3 on: December 23, 2015, 01:54:06 AM »
Running mousetool in terminal:
Code: [Select]
tc@box:/usr/local/bin$ mousetool
sh: xmodmap: not found
popen results returned NULL

Opening cpanel in terminal, then clicking on Terminal Server background outputs:
Code: [Select]
tc@box:~$ cpanel
xterm: bad command line option "+tr"

usage:  xterm [-/+132] [-C] [-Sccn] [-T string] [-/+ah] [-/+ai] [-/+aw]
    [-b number] [-/+bc] [-bcf milliseconds] [-bcn milliseconds] [-bd color]
    [-/+bdc] [-bg color] [-bw number] [-/+cb] [-cc classrange] [-/+cjk_width]
    [-class string] [-/+cm] [-/+cn] [-cr color] [-/+cu] [-/+dc]
    [-display displayname] [-e command args ...] [-fa pattern] [-fb fontname]
    [-/+fbb] [-/+fbx] [-fd pattern] [-fg color] [-fi fontname] [-fn fontname]
    [-fs size] [-/+fullscreen] [-fw fontname] [-fwb fontname] [-fx fontname]
    [%geom] [#geom] [-geometry geom] [-help] [-/+hm] [-/+hold] [-iconic]
    [-/+ie] [-/+im] [-into windowId] [-/+j] [-/+k8] [-kt keyboardtype] [-/+l]
    [-/+lc] [-lcc path] [-leftbar] [-lf filename] [-/+ls] [-/+maximized]
    [-/+mb] [-mc milliseconds] [-/+mesg] [-/+mk_width] [-ms color] [-n string]
    [-name string] [-nb number] [-/+nul] [-/+pc] [-/+pob] [-report-colors]
    [-report-fonts] [-rightbar] [-/+rv] [-/+rvc] [-/+rw] [-/+s] [-/+samename]
    [-/+sb] [-selbg color] [-selfg color] [-/+sf] [-sh number] [-/+si] [-/+sk]
    [-sl number] [-/+sm] [-/+sp] [-/+t] [-ti termid] [-title string]
    [-tm string] [-tn name] [-/+u8] [-/+uc] [-/+ulc] [-/+ulit] [-/+ut] [-/+vb]
    [-version] [-/+wc] [-/+wf] [-xrm resourcestring] [-ziconbeep percent]

Type xterm -help for a full description.

There does not appear to be anything related to Terminal Server in usr/local/bin:
Code: [Select]
tc@box:/usr/local/bin$ ls
cpanel                          fluxbox_makemenu     mousetool
datetool                        fluxbox_menu_common  network
editor                          fluxbox_ondemand     popask
emelfm                          fluxbox_restart      popup
exittc                          fluxbox_rmitem       screenshot.sh
filetool                        imlib2_conv          services
flrun                           imlib2_grab          setbackground
fluxbox-generate_menu           locale               stats
fluxbox-generate_menu-original  mirrorpicker         swapfile
fluxbox_initmenu                mnttool              wallpaper

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #4 on: December 23, 2015, 07:58:59 AM »
I added x11-xserver-utils to the dep of xorg-base which gets pulled in by any xorg package.  Please import and load or re-import xorg*.   That should solve the mouse tool issue.

The terminal server may be expecting aterm, I remember there being a symlink xterm > aterm at least at one point.  I will look at the source tonight.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #5 on: December 23, 2015, 09:12:07 AM »
Fresh xorg-intel fixed the mouse issue. Will await your respone regarding Terminal Server. Thanks.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #6 on: December 23, 2015, 09:22:36 AM »
Not sure this helps you troubleshoot, loading aterm did not help. Thanks.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #7 on: December 23, 2015, 09:30:16 AM »
Perhaps Debian/Ubuntu xterm were compiled without transparency options.  If so, two options are: build custom xterm on dCore-wheezy so as to work across newer x86 ports, or a simple edit and recompilation of cpanel.  The latter would be more correct I think, I will put it on the agenda. 

We have aterm in the repo, and that would be the app to call and would have transparency, keeping the same look and feel across Core and dCore.
« Last Edit: December 23, 2015, 09:35:44 AM by Jason W »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #8 on: December 23, 2015, 08:01:31 PM »
Rebuilt cpanel for dCore.  Should all work now.  Re-import Xprogs or whatever SCE contains it and please test.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #9 on: December 23, 2015, 08:30:51 PM »
Updated Xprogs, installed wbar for testing. Control Panel looks nice, notice the new Sce Import button, used to install wbar. All buttons now work, thanks. Although i wasn't able to test was used to be Xvesa (running Xorg). Don't know what happens for Xvesa dCore users, maybe then no Sce Import button?

Anyway all good except one minor glitch. The Terminal Server window that opens can't be closed via close button, Fluxbox panel or even Alt-F4, requires xkill. It can be moved and resized, not closed. Don't remember this issue with TC6. The terminal that opens via Control Panel -> Sce Import does not have this problem.

Edit: Maybe supposed to be this way? The output window indicates:
Code: [Select]
This box is about to become a mothership for all your net-booting computers.
Existing config detected. Overwrite? [y/n]
n
Please leave this terminal open
« Last Edit: December 23, 2015, 08:35:09 PM by nitram »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #10 on: December 23, 2015, 08:54:48 PM »
The terminal server window can be closed with CTRL-C, it is opened with sudo so perhaps that is why, and as we have Debian packages of sudo and others the window can't be x'd out by the user.  I will look into it. 

Xvesa does not work across x86 dCore ports.  It didn't with dCore-wheezy, but then did with dCore-jessie, but not with the newer dCore Ubuntu ports.  So not feasible to support Xvesa in dCore, I will adjust dCorePlus-jessie for this one day though it should work there. 

Thanks for testing.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #11 on: December 24, 2015, 02:42:31 AM »
Didn't realize Xvesa was being phased out in dCore.

Ctrl-C worked in Terminal Server, maybe good enough to add opening dialoge:
Code: [Select]
This box is about to become a mothership for all your net-booting computers.
Warning: runs as root, press Ctrl-C to close.

May have spoke too soon regarding the fix. Rebooted later in the day and had problems. Now i can't open editor, control panel, run exittc. On fresh boot these items seem to work, later in the session not. Not using the system any differently. Just ran sce-update -a again, no updates. Extensions checked include:
Xprogs
fluxbox
graphics-3.16.6-tinycore
x11-xserver-utils
xorg-intel

My sceboot.lst is:
Xprogs
xorg-intel
graphics-3.16.6-tinycore
fluxbox
dillo

Code: [Select]
tc@box:/mnt/sdb4/tce$ editor
ash: editor: not found

Code: [Select]
Xprogs is already installed!
xorg-intel is already installed!
graphics-3.16.6-tinycore is already installed!
x11-xserver-utils is already installed!
xorg-intel is already installed!

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #12 on: December 24, 2015, 03:38:52 AM »
Problem again within 30 minutes of fresh boot. Not sure if it's related to Xprogs and the cpanel changes though that was my main system change of the day, other than installing qpdfview which isn't loaded at boot or presently. After checking that cpanel and editor were working, the only two things i remember doing was opening and using emelfm and using it's built-in terminal to mount a separate data partition. Then i was unable to open a text fle with editor, checked and all other cpanel type items were also broken. Odd...

This isn't latest: dCore-jessie:2015.12.21.22.02. Not sure why it would matter, but will refresh it and try again.

Nothing urgent, Merry Christmas all :)

tc@box:~$ cpanel
ash: cpanel: not found
tc@box:~$ editor
ash: editor: not found
tc@box:~$ screenshot.sh
ash: screenshot.sh: not found

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #13 on: December 24, 2015, 04:06:23 AM »
Another PEBKAC moment, sorry about all this. Naturally lazy, usually use  umount -a  when done with data partitions. Query whether the behaviour is different in dCore than TC6, the way the extensions are mounted. Seems some looped items were getting umounted too. Anyway, the cpanel issues were present without this umount stuff, so i'm glad you fixed it, Sorry again and thanks.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Control Panel -> Mouse Tool and Terminal Server does not work
« Reply #14 on: December 24, 2015, 07:28:10 AM »
Hi nitram
If you check here:
http://man7.org/linux/man-pages/man8/umount.8.html
It states:
Quote
       -a, --all
              All of the filesystems described in /etc/mtab are unmounted,
              except the proc filesystem.

If you look in  /etc/mtab  which is a link to  /proc/mounts  you will see all the  /tmp/tcloop/  mount points listed in there.
Any extension which does not have a file that is currently being used will be unmounted.