The Russian
Posts: 84
Joined: Sat Aug 31, 2013 1:05 am

SSH question

Mon Sep 16, 2013 7:21 pm

I am trying to SSH and when i type startx i get erroor from xkbcomp are not fatal to the x server.

The Russian
Posts: 84
Joined: Sat Aug 31, 2013 1:05 am

Re: SSH question

Mon Sep 16, 2013 8:45 pm

Oh,hmm is there anotherway to get graphic remotley from raspberry OS?

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: SSH question

Mon Sep 16, 2013 9:22 pm

You can install an X server on the remote machine and use SSH : Most linux distros will do it with a bit of tweaking, windows needs extra software. Whole ,thread about it : http://www.raspberrypi.org/phpBB3/viewt ... 76#p120876

Windows how to : http://www.straightrunning.com/XmingNotes/pixming.php

More fiddly to get going than VNC or remote desktop but a much better experience running it, particularly on something with limited power (like a Pi).
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

The Russian
Posts: 84
Joined: Sat Aug 31, 2013 1:05 am

Re: SSH question

Mon Sep 16, 2013 11:13 pm

Thanks I will read the links.

The Russian
Posts: 84
Joined: Sat Aug 31, 2013 1:05 am

Re: SSH question

Wed Sep 18, 2013 8:23 pm

Ok so I have installed VNC on pi,but trying to access it from windows I get connection refused (10061).
I have the right ip and VNC is running on pi,what is wrong?

The Russian
Posts: 84
Joined: Sat Aug 31, 2013 1:05 am

Re: SSH question

Thu Sep 19, 2013 2:29 pm

Got it working...

The Russian
Posts: 84
Joined: Sat Aug 31, 2013 1:05 am

Re: SSH question

Thu Sep 19, 2013 2:41 pm

After the ip adress I wrote :1 to indicate what port I was using,here´s the guide I found:

http://learn.adafruit.com/adafruit-rasp ... alling-vnc

The Russian
Posts: 84
Joined: Sat Aug 31, 2013 1:05 am

Re: SSH question

Sun Sep 22, 2013 10:01 am

Now I´m trying to get VNC to start at boot,I´ve maid a file in the autostart folder with the txt:
[Desktop Entry]
Type=Application
Name=TightVNC
Exec=vncserver :1
StartupNotify=false

but it doesn´t start at boot,why?

crazyskeggy
Posts: 36
Joined: Mon Dec 17, 2012 4:02 pm

Re: SSH question

Sun Sep 22, 2013 2:59 pm

Try the following on the command line:

Code: Select all

sudo update-rc.d script enable
where "script" is the script file located in the "/etc/init.d" directory.
Running a Model B (256MB RAM) with Raspbian (in NOOBS 1.3) and a Model B (512MB RAM) with OpenELEC + CEC (No NOOBS, as it breaks CEC)

The Russian
Posts: 84
Joined: Sat Aug 31, 2013 1:05 am

Re: SSH question

Sun Sep 22, 2013 4:07 pm

error can´t find a LSB script for script

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: SSH question

Sun Sep 22, 2013 6:28 pm

Looks like you're talking at cross-purposes... TheRussian is talking about a desktop application autostart script... crazyskeggy is talking about a system service autostart script...

@TheRussian - this question pops up loads of times on the forums, so I'm sure the answer can't be hard to find if you try searching for it...

Return to “Beginners”