Go to advanced search

by valevalorin
Mon Nov 10, 2014 10:17 pm
Forum: General discussion
Topic: .xinitrc not executing properly
Replies: 0
Views: 399

.xinitrc not executing properly

My goal is to launch a C program and only a C program with X. I can't use the startx as a wrapper trick, so I'm using xinitrc. When I used xinitrc to start lxterminal, it works flawlessly. So just: #!/bin/sh lxterminal However, replacing lxterminal with my c program causes the connection to the X se...
by valevalorin
Thu Oct 09, 2014 6:11 pm
Forum: General discussion
Topic: /proc/cpuinfo
Replies: 12
Views: 1959

Re: /proc/cpuinfo

Is there some other way I can make cpuinfo only accessible by root? Is it only accessible by root by default?
by valevalorin
Thu Oct 09, 2014 5:44 pm
Forum: General discussion
Topic: /proc/cpuinfo
Replies: 12
Views: 1959

Re: /proc/cpuinfo

I actually have another question: can I use chmod on cpuinfo?
by valevalorin
Thu Oct 09, 2014 5:33 pm
Forum: General discussion
Topic: /proc/cpuinfo
Replies: 12
Views: 1959

Re: /proc/cpuinfo

Alright then, thanks a lot guys!
by valevalorin
Thu Oct 09, 2014 4:25 pm
Forum: General discussion
Topic: /proc/cpuinfo
Replies: 12
Views: 1959

Re: /proc/cpuinfo

So if I were to try and read this on a different machine, the file wouldn't exist?
by valevalorin
Thu Oct 09, 2014 4:12 pm
Forum: General discussion
Topic: /proc/cpuinfo
Replies: 12
Views: 1959

/proc/cpuinfo

I have a few questions about this file.

1. When does this file get generated?

2. Is this file accessible if I move the SD card from the RPI to another machine?

Go to advanced search