Unix Technical Forum

Xming + slackware, summary

This is a discussion on Xming + slackware, summary within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi there, Summarising what I've discovered so far with help from aols people (Lew and Henrik in particular) and ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 07:05 PM
Grant
 
Posts: n/a
Default Xming + slackware, summary

Hi there,

Summarising what I've discovered so far with help from aols people (Lew
and Henrik in particular) and RTFMing:

/etc/ssh/sshd_config needs these three:

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

Lew also suggests 'AllowTcpForwarding yes' but that's the default, comes
commented out?

Henrik was keen to get max performance, to this end:

In PuTTY setup:

turn off SSH -> "Enable compression", as it is for slow serial comm links.
turn on SSH -> X11 -> "Enable X11 forwarding"


On windoze 'magpie', allow sempro to talk to display:

F:\bin\xapps>type x_sempro.bat
@echo=off
set DISPLAY=localhost:0
f:\bin\xapps\xhost + sempro

This .bat file is called from the Xmingrc tray icon right-click menu (see below)


on sempro:
grant@sempro:~$ DISPLAY=magpie:0 xterm &

This will likely end up an alias in .bashrc

X apps are then launched from the xterm as usual when one isn't running
a desktop. Running apps like firefox, kmail, even gimp without problems,
gimp came up, though I haven't a clue how to use it (yet


My Xmingrc is now:

# Xming Server Resource File
TRAYICON ",101"
menu sempro {
konsole exec "f:\bin\PuTTY\plink -load sempro konsole --ls"
ethereal exec "f:\bin\PuTTY\plink -load sempro ethereal"
kcontrol exec "f:\bin\PuTTY\plink -load sempro kcontrol"
kcalc exec "f:\bin\PuTTY\plink -load sempro kcalc"
xeyes exec "f:\bin\PuTTY\plink -load sempro xeyes"
}
menu localhost {
// Access control commands
"access status" execd "f:\bin\xapps\xhost.bat"
"access any" exec "f:\bin\xapps\xhost -"
"access off" exec "f:\bin\xapps\xhost +"
"access sempro" exec "f:\bin\xapps\x_sempro.bat"
separator
"oclock" exec "f:\bin\xapps\oclock -display %display%"
"xeyes" exec "f:\bin\xapps\xeyes -display %display%"
}
menu apps {
//"remote@peetoo" menu peetoo
"remote@sempro" menu sempro
"local@magpie" menu localhost
separator
"&Reload Xmingrc" reload
separator
}
menu aot {
"&Always on Top" alwaysontop
separator
}
RootMenu apps
DefaultSysMenu aot atstart
SilentExit
DEBUG "Done parsing the configuration file..."

But the 'menu sempro' items do nothing, no error, nada, doesn't matter since
I can launch apps from the xterm. But is now the last 'unknown' . . . ??

Grant.
--
http://bugsplatter.mine.nu/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 07:05 PM
Grant Coady
 
Posts: n/a
Default Re: Xming + slackware, summary

On Tue, 26 Sep 2006 06:53:05 +1000, Grant wrote:

> My Xmingrc is now:

....
menu localhost {
// Access control commands
"access sempro" exec "f:\bin\xapps\x_sempro.bat"
separator
"access status" execd "f:\bin\xapps\xhost.bat"
"access auth" exec "f:\bin\xapps\xhost -" // nonsense?
"access any" exec "f:\bin\xapps\xhost +" // ditto?
separator
// local X apps
"oclock" exec "f:\bin\xapps\oclock -display %display%"
"xeyes" exec "f:\bin\xapps\xeyes -display %display%"
}
....
This from pan running on sempro client, magpie server Because I can,
responsiveness is much like a 'doze app. What I was after, running X
apps on 'doze so I transition slowly to sans 'doze ) Me happy!

Grant.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com