Title: Can't view Cgminer stats on Raspberry Pi Post by: Yinero on August 18, 2013, 12:11:49 PM So I'm trying to make it where I can view my cgminer 3.1.1 on my raspberry pi. I'm using a VNC so I can see the stats on a different screen. I can't figure out how exactly to view anything and google searches haven't turned up any help.
Title: Re: Can't view Cgminer stats on Raspberry Pi Post by: Yinero on August 19, 2013, 10:01:39 AM Really? No one can help me with this? I figured it was something simple too....
Title: Re: Can't view Cgminer stats on Raspberry Pi Post by: sephtin on August 20, 2013, 03:25:03 AM So I'm trying to make it where I can view my cgminer 3.1.1 on my raspberry pi. I'm using a VNC so I can see the stats on a different screen. I can't figure out how exactly to view anything and google searches haven't turned up any help. Probably not getting responses because could use more info. How did you run cgminer? How was it started? If you ran it from from the desktop, then when you connect with VNC to your session, you should just see it. One suggestion might be starting it in a screen or tmux session. That way, you can connect to it by opening a terminal window or through SSH, and attaching to the cgminer session with screen -r, or tmux attach, etc. Title: Re: Can't view Cgminer stats on Raspberry Pi Post by: Yinero on August 23, 2013, 12:08:41 AM I'm very new to linux as well.
what would be the command line to run cgminer on the desktop? Title: Re: Can't view Cgminer stats on Raspberry Pi Post by: c789 on August 23, 2013, 12:13:37 AM You'll need to enable auto-login for this to work, so don't do this if security is a concern. I do this over a wired network so I'm not too concerned about it. I can't take credit for almost all of this, but here's what I did.
To automatically login to the Pi: 1. Edit /etc/inittab a. Put a comment (#) in front of this line: 1:2345:respawn:/sbin/getty 115200 tty1 b....and add this below it (pi is the username): 1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1 To automatically load the desktop 1. Edit /etc/rc.local a. Add this above the exit 0: line (pi is the username) su -l pi -c startx Install X11VNC Server on the Pi In a Terminal: Code: sudo apt-get install x11vnc Now, create this directory: /home/pi/.config/autostart You need to know that the period in front of config means that .config is a hidden folder. You can make your hidden directories visible by going to "View, Hidden Files and Folders" (or something like that). Inside the autostart directory, create the file X11vnc.desktop This filename MUST end with .desktop The contents of X11vnc.desktop should be: Code: [Desktop Entry] That's it! Go ahead and reboot. Now, from your VNC Client, type in the IP address of your PI and you'll connect to it. It will ask you for your password, and then a few seconds later, you're in. I do get an error message that I don't have the proper VNC version, but I ignore it. This has worked for me for almost 2 months with no problems. Title: Re: Can't view Cgminer stats on Raspberry Pi Post by: Zanatos666 on August 23, 2013, 03:11:11 PM If you are on the same network as your Pi, just download Putty and SSH into your Pi. Then just use screen -r to view your screen.
|