-
PD: Cobito! very good the thing with the little monkey :ugly: I did not leave him alone until the end xD -
I am testing SSH control on the server over the internet (I am not where the server is now)
and the graphic performance is TERRIBLE, it goes much, much slower than using VNC and I do not understand why…I clarify that I am running the ssh client from OSX, which being UNIX-based and with Xquartz (X11 manager) should work well, right?
-
I'm testing SSH control on the server over the internet (I'm not where the server is now)
and the graphic performance is TERRIBLE, it goes much much slower than using VNC and I don't understand why…To clarify, I'm running the ssh client from OSX, which being UNIX-based and with Xquartz (X11 manager) should work well, right?
With the Raspi, the performance of launching graphical applications over SSH is better than launching them locally from the desktop environment. And if they are not applications with heavy libraries like QT, there are no big differences between accessing from the local network or from the Internet.
If you can, try from a PC with Linux to rule out server configuration or other problems.
-
With the Raspi, the performance of launching graphical applications over SSH is better than launching them locally from the desktop environment. And if they are not applications with heavy libraries like QT, there are no big differences between accessing them from the local network or from the Internet.
If you can, try it from a PC with Linux to rule out server configuration or other problems.
I've tried it with the file manager of lxde and also with transmission and it was crazy... I'm going to run knoppix and see how it goes...
-
I've tried it with lxde's file manager and also with transmission and it was a mess… I'm going to run knoppix and see how it goes...
It's strange. Anyway, in the case of transmission, it's best that you run the daemon (or the graphical client) on the server and from your PC you run the remote client because if you run a graphical program over ssh and close the session, the program closes too.
-
It's strange. Anyway, in the case of transmission, the most advisable thing is that on the server you run the daemon (or the graphical client) and from your PC you run the remote client because if you run a graphical program via ssh and close the session, the program closes as well.
Yes, yes, I have Transmission with the daemon, I've only tried it to see the performance…
By the way, is there any way to "kill" the X?
By default in my case they turn on with the computer... I would like to change that.Edit: solved. But now I find that it doesn't start programs like Transmission by default when I turn it on... it's not a very serious problem but okay.
-
I have a little problem. I don't know what I did but now I can't start X services remotely lakdsjaslkdjsld
This is what I get when I start:
_
Kromann-Hackintosh:~ kromann$ ssh kromann@192.168.1.24 -X
kromann@192.168.1.24's password:
Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0-25-generic i686)- Documentation: Official Ubuntu Documentation
Last login: Sun Feb 24 23:57:42 2013 from 192.168.1.69
/usr/bin/xauth: timeout in locking authority file /home/kromann/.Xauthority
kromann@kromann-server:~$
_And if I try to start an X service:
_kromann@kromann-server:~$ sudo pcmanfm
[sudo] password for kromann:
X11 connection rejected because of wrong authentication.
Can't open viewer:
kromann@kromann-server:~$
_It's only with X services... I don't know how to fix it.
Edit: I've already fixed it, here I explain everything in case you have the same problem.
-
Thanks for sharing, the truth is that I have never tried to run anything from the X remotely and it all sounded like Chinese to me.
-
Running graphical applications with SSH is not usually very practical for me except when it comes to the file manager. Having all the mounted drives at hand and being able to copy, paste, delete... at cruising speed from anywhere is a pleasure.
For everything else: remote clients.
-
Today your guide has been very useful for me, since the installation steps I have followed vary greatly from what I did the first time. In my case, I downloaded a file that I decompressed directly onto the SD card and when I started the Raspberry, it did a classic Debian Netinst style installation downloading almost everything from the internet and leaving me with a typical root user and a normal user at the end.
Now I have followed your guide and the only different step is that I have flashed the image onto the SD card through Linux.
By the way, I like the change on your page, the new fonts look great.
-
Well, here's another one with data corruption on the SD. I was updating the system when messages started appearing about problems with the file system. I rebooted but it wouldn't start up again. I put the card in a PC, ran an fsck and it had a lot of messed up i-nodes. I'll see if I can recover it and if not, format it.
I read somewhere that doing an overvolt fixes the problem. This is a real pain because now you have to go messing around with things that could fry the raspi. You have to be careful with backups. I hope I haven't lost my MySQL databases.
-
I put a Panasonic SD class 6 4Gb in it and we'll see how long it lasts, because it has been on for several days but it is not working. I hope we don't have to fiddle with it much so that it doesn't cause more problems with the SD card.
-
I already have the transmission running at full capacity, but I have a question about how to access the data from another computer. I couldn't set up NFS because of some package that I can't remember that isn't available. I did set up SAMBA, although that only works for the local network.
What I need is to be able to access it even if it's through SSH using the file browser (nemo, nautilus or whatever it is) and many times I find that I can't do certain things because the user is not root. How do you usually do it? Do you give permissions to the normal user in those folders including the one of the web server? Or on the contrary do you create a real root user? Sometimes I get confused with this, and it's also not clear to me if it's better to give permissions to the external disk through fstab or giving permissions to the folder in which it is mounted, since I get confused when touching things and in the end I don't know which one makes it work well.
-
Section 7.2 of the guide explains how to start an FTP server whose root directory is the root of the Raspi, so in principle you could access all your storage devices in /media.
Section 10.1.3 explains how to manage files remotely using Dolphin (the KDE file manager) via SSH.
The owner of your downloaded files should be 'pi' so using the technique in section 10.1.3 you will be able to do whatever you want with them.
If you want to be able to manage files and folders whose owner is 'root','mysql' or any other different from 'pi' you will have to change the password of 'root' using the commands;
sudo -s
passwd rootOnce you have done that, you can use the procedure in section 10.1.3 again using 'root' as the username and the password you have set.
I have not tried it, but I am sure that the file managers of other desktop environments also allow remote file management via SSH.
Another possibility is to follow the procedure in 10.1.2. The only drawback is that you will only be able to manage as 'pi' since for some reason it is not possible to launch X applications like 'root' from SSH.
-
It's curious, yesterday from the PC that is inside the local network I couldn't create files/folders inside the transmission downloads folder with SSH (but with Samba), but right now through the internet I can. I don't know what would happen, but in both PCs I use the same Linux and they are configured almost the same way. Where I don't have permissions is in /var/www, although I imagine it's about giving them and that's it, but I don't know if it's convenient or it's better to do the operations as root activating it as you said. By the way and for those who are interested, from Cinnamon (file browser Nemo) you would access with a simple sftp://pi@x.x.x.x/. -
As cobito told you, in the guide you have how to set up an ftp server.
Although I recommend SFTP (FTP over SSH) since FTP servers, as I understand it, do not encrypt anything, not even the access key, so if you are going to enter from a network that you do not have totally controlled it is not entirely recommended.Regarding ROOT permissions when running the X's through SSH, I do not know about raspberrian but in debian I have no problems and with lubuntu I did not have any either. I run Pcmanfm without problems as root.
-
What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved in the user's home instead of in /var/www, but with all the messing around I've done I've preferred to uninstall Apache and when I restart to make sure it doesn't accept SSH connections although it does ask for the password. As a curiosity, it does allow me to connect to the Transmission web interface.Well, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine correctly :mad:
-
What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved on the user's home instead of in /var/www, but with all the messing around I've done I've preferred to uninstall Apache and when I restarted to make sure it turns out that it doesn't accept SSH connections although it does ask for the password. As a curiosity it does allow me to connect to the Transmission web interface.
So, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine correctly :mad:
I feel identified. In my case the journey is 150 km. The curious thing is that sometimes it fixes itself. I think all this is related to the issue of SD card data corruption.
In a couple of weeks I'll start investigating how to install Raspbian on the external hard drive to have the least possible access to the SD card.
PD: Yorus, I edited your post without wanting to. I clicked edit instead of quote and I started writing as happily as if it were a new post :facepalm:. I left it exactly as it was.
-
What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved on the user's home instead of in /var/www, but with all the messing around I've done I preferred to uninstall Apache and when I restarted to make sure it turns out that it doesn't accept SSH connections although it does ask for the password. As a curiosity, it does allow me to connect to the Transmission web interface.
So, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine properly :mad:
I didn't think twice and told him to turn it off instead of restarting :ugly: :ugly:
I feel identified. In my case the journey is 150 km. The curious thing is that sometimes it fixes itself. I think all this is related to the issue of SD card data corruption.
In a couple of weeks I'll start investigating how to install Raspbian on the external hard drive to have the least possible access to the SD card.
PD: Yorus, I edited your post without meaning to. I clicked edit instead of quote and started writing as happily as if it were a new post :facepalm:. I left it exactly as it was.
Exactly like me, 150 km. But well I waited for it to be my turn to go... because if not...
I'm surprised by the amount of problems you're having with the SD issue... how is it possible so much data corruption? maybe it's a Raspbian thing?
-
I still have to confirm that it's a matter of the SD card again, but given what I've seen, there are many possibilities. We'll see when I look at it on Wednesday.
The thing about turning off instead of restarting sounds familiar to me, but my case was a bit different, since I had two terminals open, the one on the raspberry via SSH and the one on the local computer, and believing I was with the raspberry I did a'sudo reboot' of the PC with a lot of things open :ugly:. It didn't ask for a password because I was tinkering around and let's say that the permissions hadn't expired yet.