LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-26-2013, 04:43 AM   #1
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 750

Rep: Reputation: 156Reputation: 156
raspbian/scratch/ssh -X


Hi, I am trying to run scratch on my pi via ssh. My distro is raspbian 3.6.11. As a bit of a background: if I kick off scratch on my TV using the HDMI connection it works fine but that is not a good environment for me. If I ssh into the Pi and then try to run scratch I get an error:

Quote:
tim@raspberrypi ~ $ /usr/bin/scratch
Executing: /usr/lib/squeak/4.4.7-2357/squeakvm -encoding UTF-8 -vm-display-x11 -xshm -plugins /usr/lib/scratch/plugins/:/usr/lib/squeak/4.4.7-2357/ -vm-sound-alsa /usr/share/scratch/Scratch.image
Could not open display `(null)'.
I was expecting that so I thought I would try:
Quote:
ssh -X tim@10.1.1.91 /usr/bin/scratch
From my Fedora box. This gives:

Quote:
Executing: /usr/lib/squeak/4.4.7-2357/squeakvm -encoding UTF-8 -vm-display-x11 -xshm -plugins /usr/lib/scratch/plugins/:/usr/lib/squeak/4.4.7-2357/ -vm-sound-alsa /usr/share/scratch/Scratch.image
XShmAttach: BadAccess (attempt to access private resource denied)
X Error: BadShmSeg (invalid shared segment parameter)
Major opcode of failed request: 130
Minor opcode of failed request: 3
Serial number of failed request: 87
I also get a blank window labelled /usr/share/scratch/Scratch.image.

I am afraid those errors don't mean much to me. FYI I can run midori fine using ssh -X. Any thoughts on ssh parameters I can pass to get scratch running?

Thanks
 
Old 06-27-2013, 08:39 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Not sure, but just try:
Code:
ssh -X 10.1.1.91 -l tim
Then launch Scratch.
 
1 members found this post helpful.
Old 06-27-2013, 11:14 PM   #3
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 750

Original Poster
Rep: Reputation: 156Reputation: 156
thanks for the suggestion but the result is the same. I'll note down the ell option for future reference though
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-copy-id fails. How to start from scratch alaios Linux - Newbie 4 03-27-2013 09:59 PM
[SOLVED] raspbian, apache2, SecFilter Invalid command MrUmunhum Linux - Server 2 10-18-2012 06:11 PM
raspbian apache2 shell_exec fail MrUmunhum Linux - Server 1 09-23-2012 07:42 PM
LXer: A Month with Raspbian LXer Syndicated Linux News 0 07-31-2012 06:00 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration