I posted this earler in the Slackware forum but no results after a couple hours, so I duplicated here. I've checked other forums and didn't find an answer to it yet, so I appologize for bumping into another forum.
My Slack system is set up as "Linux1", with two users, Root and Mike, for myself, so I can stay out of root mostly. I followed the tutorial from here...
http://www.linuxcasestudies.org/Case...CS3_web-09.htm
I've looked at other tutorials for two days now, trying to find out how to establish myself as "Mike", from one of the other nodes.
The tutorial explains if I want to allow others to use VNC do this...
"Copy the vncserver, vncpasswd, and Xvnc programs to /usr/local/bin if you want to allow everyone to use them or to ~/bin if they're just for your personal use. " Since I want other machines on the network to access the Linux machine by REALwinviewer, I set the files into the /usr/local/bin directory.
Then the tutorial says...
"Regardless of where you placed the server, create the subdirectory "vnc" in the same location. Therefore, create /usr/local/bin/vnc or ~/bin/vnc. Copy VNC's classes subdirectory to this new vnc subdirectory if you haven't already."
So, I did that.
Next it says to modify the vncserver script to point to $vncClasses = "/usr/local/vnc/classes";
My vncserver script looks like this... (edit in red)
$vncClasses = <<<-d "/usr/share/vnc/classes"> && "/usr/share/vnc/classes">
- <<-d "/usr/local/vnc/classes"> && "/usr/local/bin/vnc/classes">>
Then the tut says to fire up vncviewer local, the first time, run and to set it up as vncviewer :10. Did that. It takes a password from me and ps -ef shows it running. Great!
I go to the win32 machine, fire up the RealVNC client, point it to the linux node, enter the password and (cool), I'm there. I fire up Xterm and bash, I'm root. OK it works.
Now, I want to log on as "Mike". So I go back to the linux machine, log in as "mike", go to mike@Linux1:/usr/local/bin, it's all there. I do a vncserver :10 and it says I havn't priviliages, but it kicks the server on in a PID anyhow.
I go back to the win node, launch the client, as "192.168.1.100:10, (the Linux1 DHCP address), give password and I get "no authorization".
So, my twenty cent question is this...
I thought I installed the server in such a way as would provide each user with the ability to run VNC. But launching vncserver as Mike, tells me I have no access, yet launches a server I can't get to.
What I'm trying to do, is set "mike" as the login and bash only mike, not root, from the remote machine, but somewhere, I'm apparently brain blocked on getting this share to run, except as root.
Please help the poor VNC noob, with some pointers