I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / I-Opener Areas / I-Opener Technical Stuff
NE1 know how to use VNC in linux?
NE1 know how to use VNC in linux?

New MessageNE1 know how to use VNC in linux? (modified 0 times) Johnson
Profile
I've used this great proggie on windoze and NT boxes..and have seen it used on Linux boxes..but don't know where the hell it is? I included it in the additional accessories to be installed on my I-Opener...but where the hell is it? and is there something I need to do to get it working? On Windows boxes it's a no-brainer...easy as breathing..but linux is weird... where is it hidden.. and any special need-to-do's to get it running?
Thanks,
Johnson
01-26-2001 17:26:17

New MessageRE:NE1 know how to use VNC in linux? (modified 0 times) ttn1
Profile | Email
It is here http://www.uk.research.att.com/vnc/ very nice program. Of course I like any program that is free. The linux version comes in a few different formats. Easiest I have found is the RPM format. Command to install "rpm -ivh name_of_package.rpm", that is if you use Redhat.

ttn2

01-26-2001 17:52:20

New MessageIt should already be there though (modified 0 times) Johnson
Profile
I selected it when installing the system...my question is...if it's there..where is it? I think I've looked through everything...is it just called vnc..or does it have some funky name? and where in xwindows would it reside?

same thing with samba..thought I installed everything with the name samba.. (want to see my network), but only see a samba monitoring program that doesn't seem to know what to do when I open it...and don't see how to configure it?

Thanks,

Johnson

01-26-2001 18:28:14

New MessageRE:NE1 know how to use VNC in linux? (modified 0 times) ttn1
Profile | Email
The VNC site shows you how to start a server and a viewer "click on getting started". You should be able to type these commands from any directory in a terminal window. I cheated when I set up samba in Redhat, I used swat, the web based adminstration tool. If you want to mount windows directories to your linux box I believe there is a command "smbmount" although I haven't tried this yet. I've only been seriously working with linux for about 3 months, so I'm a relative newbie. Hope this helps you out.

ttn2

01-26-2001 18:56:26

New MessageNo that's not the problem (modified 0 times) Johnson
Profile
No, the real problem (at least now) is that I'm getting into my linux box... with a 10.0.0.3:1 or 10.0.0.3:2 (seeing screen 1 or 2) but can only see root...and am only seeing a linux text box and not what I'm actually seeing on my machine???

Does anyone know why?...or how to fix this?

01-27-2001 23:46:30

New MessageRE:NE1 know how to use VNC in linux? (modified 0 times) ttn1
Profile | Email
I had to go back to my notes, but here it is. If you are running gnome as your desktop, here is the answer. Not sure about KDE or any others. I assume you have already started vncserver, so I won't go into that. First, kill the server session. Then go to /home/"username"/.vnc . Now, edit the xstartup file. Notice that the original xstartup file just opens an x terminal. Change the file to only include the following:

#!/bin/sh
gnome-session &

Now run vncserver again and you should be good to go. Fire up vncviewer from one of you other machines and you should see the gnome desktop.

good luck
ttn2

01-28-2001 08:09:03

New MessageRE:NE1 know how to use VNC in linux? (modified 0 times) ttn1
Profile | Email
Also, remember that it is a good idea to setup a user account instead of always logging in as root. Only login as root when you need to install stuff or change file permissions and such. Saves alot of headaches. I assume you already know this, but it has burned me a few times. The home folder for root is /root . So you would be looking in /root/.vnc for the xstartup if you are logging in as root.

And again all this stuff is for the Redhat distro. Haven't worked with any others yet.

ttn2

01-28-2001 08:15:43

New MessageRE:NE1 know how to use VNC in linux? (modified 0 times) ttn1
Profile | Email
One last thing, you have to be logged in as root to do this. Edit the vncserver file in /usr/local/bin . Change $depth= 8 to $depth= 24 . This will allow you to see pictures correctly. I am typing this from a vnc window of my linux box on my NT box. Nice to only need one monitor, keyboard and mouse.

ttn2

01-28-2001 09:19:00

New MessageOne more question? (modified 0 times) Johnson
Profile
Well I'm TOTALLY VEXED!!! Why can't I see the current session on my linux box? this is allowing me to see other sessions..independant sessions..but not the one that is currently on my linux box?..ie when I move my vnc'd linux cursor..it doesn't move in linux.
By the way..the code you gave me...which works btw.. is:
#!/bin/shgnome-session &

What if I entered:
#!/bin/shkde-session &

Would that allow me to see my kde sessions?

Thanks

01-29-2001 03:37:01

New MessageRE:NE1 know how to use VNC in linux? (modified 0 times) ttn1
Profile | Email
Try this link:
http://www.uk.research.att.com/vnc/extras.html#x0rfbserver

This guy wrote a version of VNC to do what you want. The standard unix vncserver doesn't do that. Even though the windows one does. Basically, with linux a person on the linux machine could run X windows without ever knowing that another person was also running X on the same machine. I don't care whether I see the main X display or not, so I haven't messed with this.
As for kde, I believe you use "startkde" instead of "gnome-session".

good luck
ttn2

01-29-2001 04:44:59

New MessageRE:NE1 know how to use VNC in linux? (modified 0 times) Johnson
Profile
So would I enter the #!/bin/sh again followed by startkde &, or just place the startkde & right under Gnome-session &
1. like this
#!/bin/sh
gnome-session &

#!/bin/sh
startkde &

2. or like this:
#!/bin/sh
gnome-session &
startkde &

Thanks man!

01-29-2001 21:56:30

New MessageRE:NE1 know how to use VNC in linux? (modified 0 times) ttn1
Profile | Email
Not sure, but I think it should be instead of and not both at the same time. Somewhere on the VNC website I remember reading something about setting up that script file to start different desktops depending on a choice you make when starting the vncserver. I'm not sure were it was though.

ttn2

01-30-2001 04:27:53

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3