Go to advanced search

by hedbonker
Mon Jan 14, 2019 8:02 pm
Forum: Other programming languages
Topic: golang?
Replies: 22
Views: 36048

Re: golang?

Ken hated C++. He wrote Unix in assy then developed C with Ritchie and then re-wrote Unix in C.
by hedbonker
Sat Jan 12, 2019 1:17 pm
Forum: Troubleshooting
Topic: unable to set user shell using chsh but usermod works
Replies: 3
Views: 146

unable to set user shell using chsh but usermod works

"sudo chsh -s /bin/zsh" does not complain but if I log out and back in I am back to bash. Attempting "usermod -s /bin/zsh [username]" works just fine. What am I doing wrong with chsh?

Thanks!
by hedbonker
Sat Jan 12, 2019 1:11 pm
Forum: Troubleshooting
Topic: VNC viewer denied issue
Replies: 7
Views: 282

Re: VNC viewer denied issue

Since I am the only user I am good with that :)

Thanks for the help!
by hedbonker
Fri Jan 11, 2019 6:43 pm
Forum: Troubleshooting
Topic: VNC viewer denied issue
Replies: 7
Views: 282

Re: VNC viewer denied issue

"sudo usermod newuser_name -a -G pi,adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,netdev,spi,i2c,gpio" did the trick. Thanks!
by hedbonker
Fri Jan 11, 2019 6:39 pm
Forum: Troubleshooting
Topic: VNC viewer denied issue
Replies: 7
Views: 282

Re: VNC viewer denied issue

Thanks Andy! I will try that and report back :)
by hedbonker
Fri Jan 11, 2019 5:16 pm
Forum: Troubleshooting
Topic: VNC viewer denied issue
Replies: 7
Views: 282

Re: VNC viewer denied issue

Thanks, Andy.

Access is denied is the message. I use the non-pi account all the time. Just not with vnc.
by hedbonker
Fri Jan 11, 2019 3:29 pm
Forum: Troubleshooting
Topic: VNC viewer denied issue
Replies: 7
Views: 282

VNC viewer denied issue

When I setup the pi initially I used the pi user to set things up and then created another user account with the intent of using that account for my dev efforts. Using raspi-config I enabled SSH and VNC. I can use VNC viewer just fine for the pi user but my new user cannot and gets a permission erro...
by hedbonker
Sun Jan 06, 2019 1:05 pm
Forum: C/C++
Topic: #include <sys/socket.h>
Replies: 9
Views: 1027

Re: #include <sys/socket.h>

It was actually splint that complained about the include :)

It's all working. Thanks folks!
by hedbonker
Sun Jan 06, 2019 12:05 pm
Forum: C/C++
Topic: #include <sys/socket.h>
Replies: 9
Views: 1027

Re: #include <sys/socket.h>

That was it! Thanks so much!
by hedbonker
Sun Jan 06, 2019 11:26 am
Forum: C/C++
Topic: #include <sys/socket.h>
Replies: 9
Views: 1027

Re: #include <sys/socket.h>

OK I have one at /usr/include/arm-linux-gnueabihf/sys (as the above post shows) - Will try that. Thanks!
by hedbonker
Sun Jan 06, 2019 10:59 am
Forum: C/C++
Topic: #include <sys/socket.h>
Replies: 9
Views: 1027

Re: #include <sys/socket.h>

Thanks for the reply Paeryn! Unfortunately, that lib is installed but I am still missing the sockets elements. Reading package lists... Done Building dependency tree Reading state information... Done libc6-dev is already the newest version (2.24-11+deb9u3). libc6-dev set to manually installed. 0 upg...
by hedbonker
Sat Jan 05, 2019 6:30 pm
Forum: C/C++
Topic: #include <sys/socket.h>
Replies: 9
Views: 1027

#include <sys/socket.h>

This was not included in my base Raspian install. What library is it in so that I can fetch with apt-get?

tia!

Go to advanced search