guanyu
07-16-2001, 10:20 PM
hi guys, is it possible for me to bring the RH 7.1 X windows(Interface to my Solaris 5.5). Because my RH 7.1 is located diff building from my workstation. Thank you and have a nice day
|
Click to See Complete Forum and Search --> : Bring X windows to Solaris platform guanyu 07-16-2001, 10:20 PM hi guys, is it possible for me to bring the RH 7.1 X windows(Interface to my Solaris 5.5). Because my RH 7.1 is located diff building from my workstation. Thank you and have a nice day Keyser Soze 07-16-2001, 10:40 PM do a vnc...At least I think I grasp what you are asking, but it is a little vague. guanyu 07-16-2001, 10:43 PM Sorry, I am newbie. What is vnc? how do use it? Thank you. Have a nice day... bdg1983 07-17-2001, 07:01 AM Virtual Network Computing (http://www.uk.research.att.com/vnc/) and it's quite good. teeitup 07-17-2001, 06:53 PM If they are both running X servers, they probably are, you can run apps either way by exporting your display. There is alot to X and Linux plays very nicely with most UNIX systems. Tell us exactly what you want to do and we will be able to supply better answers. guanyu 07-18-2001, 02:31 AM teeitup, I want to display the redhat 7.1 interface to my solaris 2.5 and my win2k os so that I can manage my redhat without going to another building. Is it possible to do so? Thank you Keyser Soze 07-18-2001, 02:57 AM [teeitup, I want to display the redhat 7.1 interface to my solaris 2.5 and my win2k os so that I can manage my redhat without going to another building. Is it possible to do so? Thank you] okay here goes.....go to the link posted above. Then on your redhat box, issue the command vncserver . Then on your solaris box (having already installed the software from the link above) issue the command vncviewer . It will prompt you for the name or ip of your redhat box. type on the name or Ip followed by a colon and the number 1 as in the example: 192.168.0.120:1 it will then ask for the password you gave the redhat box. supply the password and you are done. It is very easy. :( guanyu 07-18-2001, 04:31 AM teeitup, I did it. Thank. But it showed the terminal of my redhat 7.1 under my win2k. I thought it will show exactly Redhat GUI. there nothing special since it is terminal mode. i can telnet from my win2k or my solaris system rite? Keyser Soze 07-18-2001, 05:10 AM hey, I ain't t, but in the terminal type gnome-session & bdg1983 07-18-2001, 05:23 AM Here are a couple of solutions from Caldera. I use the second (Xnest) at work. Very similar to VNC. FIRST SOLUTION The following instructions outline how to run remote X applications on the local desktop: 1. On the local desktop open a terminal window and type in "xhost +ip.of.remotemachine" and press enter. This allows the remote host to display applications on the local desktop. To have this variable set each time, set this in your ~/.profile or ~/.bashrc file. 2. In a telnet session to the remote host, type in "export DISPLAY=ip.of.localmachine:0" and press enter. 3. Change to the application directory and launch your applications. SECOND SOLUTION Remote X-sessions are possible, but recommended only for fast connections with plenty of bandwidth, as a graphical session requires alot of communication. NOTE: To start additional X-session you will need to be logged in as the root user. In short, a remote session requires the cooperation of both computers. The X access of the computer you wish to access must be modified to include any client that you want to connect from, and you must start a new X-session on your local computer. To allow a graphical connection to a remote linux box, the computer you wish to connect to must allow graphical connections from your system. This is done by editing the Xaccess file in /etc/X11/kdm/ to allow the client computer(s) -- None is the default for Caldera Openlinux, but uncommenting the line #*#any host can get a login window allows all clients to connect, which may be a security risk, so you may want to specify clients. For this faq, we will just uncomment this line (it is the first non-comment commented line). Once this change is made, you will need to re-start the X-server. You can use the login manager, or just use a terminal to go to runlevel 3 then back to 5: init 3 init 5 Second, the client will execute this command: X :1 -query 192.168.1.5 The numbers will be different for your system; the ":1" is the next X-session - If you already have 2 X-sessions, use :2, etc. The ip, obviously is the system you want to connect to - this can be a fully qualified domain name if it is known by your system. This session will be on the next virtual terminal (typically F9) and will be the active one until you switch back. To start a new X-session in a window of your current X-session (nested), use the Xnest command in place of X: Xnest :1 -query 192.168.1.5 NOTES: - To run this in the background, you just add the ampersand [&], and to disconnect it from a terminal, just [ctrl]-[d] out of the terminal window once it is in the background. If you forgot to send the process to the background, type [ctrl]-[z], then 'bg' [enter], then [ctrl]-[d] out. - You can connect to any computer which can run an X-session and which uses standard X protocols, such as SCO unixware. They may require changes to X access as well, but configuring them is beyond the scope of this faq. Some systems default to allow all clients to connect, in which case you may not need to change anything. - Firewalls will disrupt this setup. You will need to find out what ports are being used and how to get through before this will work for those systems. guanyu 07-18-2001, 10:52 PM mdwatts, I did according what you mention.. Remote X-sessions are possible, but recommended only for fast connections with plenty of bandwidth, as a graphical session requires alot of communication. NOTE: To start additional X-session you will need to be logged in as the root user. In short, a remote session requires the cooperation of both computers. The X access of the computer you wish to access must be modified to include any client that you want to connect from, and you must start a new X-session on your local computer. To allow a graphical connection to a remote linux box, the computer you wish to connect to must allow graphical connections from your system. This is done by editing the Xaccess file in /etc/X11/kdm/ to allow the client computer(s) -- None is the default for Caldera Openlinux, but uncommenting the line #*#any host can get a login window allows all clients to connect, which may be a security risk, so you may want to specify clients. For this faq, we will just uncomment this line (it is the first non-comment commented line). Once this change is made, you will need to re-start the X-server. You can use the login manager, or just use a terminal to go to runlevel 3 then back to 5: init 3 init 5 Second, the client will execute this command: X :1 -query 192.168.1.5 I was stuck here. I am not sure where my clien whether is windows or solaris. I tried to execute the command under win2k. It failed. Can you point this out for me? I have uncomment the line any host can get a login window. Redhat 7.1 /etc/X11/xdm/Xaccess. Thank you and have a nice day. bdg1983 07-19-2001, 04:35 AM Did you install the vncviewer on W2K and the vncserver on Redhat? Or else what software did you install on W2K for X connectivity? guanyu 07-19-2001, 05:14 AM yes i did. But i managed to view the xterm from my win2k. I can't view the desktop from my win2k. Can I view the RH desktop from my win2k instead view xterm only. Thank Keyser Soze 07-19-2001, 05:48 AM If you will read the post above you will note that I told you to enter gnome-session & in the xterm window and it will start your gnome session....it has been answered. You can also read this: http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=4&t=008355 [ 19 July 2001: Message edited by: Keyser Soze ] bdg1983 07-19-2001, 06:58 AM So the vncserver is setup and running properly on Redhat and then on W2K you start vncviewer with the ip address of Redhat and what happens? I'm on vacation this week and at work is where I have VNC setup so I can't check the specifics on starting and connecting. I also use Xnest (part of Xfree86) to connect using the gui between Linux/Unix. Keyser Soze 07-19-2001, 07:15 AM "But i managed to view the xterm from my win2k. I can't view the desktop from my win2k." I took this to mean he had the vnc window, displaying xterm...could have been wrong. [ 19 July 2001: Message edited by: Keyser Soze ] bdg1983 07-19-2001, 07:38 AM Gets a little confusing at times. I'm sure if guanyu sticks with VNC and sets it up correctly, all should work. It does for me whether Win is used as the client or host. At work I have it set for both with the server and viewer both on 98, NT, W2K and Linux. Have you ever used Xnest for *nix connectivity? Works like VNC? Keyser Soze 07-19-2001, 07:45 AM yeah, it works, but for me it doesn't work nearly as fast...dunno why. with vnc I get an awesome connection, and it's like being at the other computer, almost no lag. I can be sitting on an old computer that barely runs 95 and using vnc it will perform like an 700 mhz system(course that is what I'm connecting to). But it really allows you to balance the workload out between your fast systems and your slow ones. To me it is much better than the xnest. :) guanyu 07-19-2001, 11:11 AM mdwatts, How do verify whether I setup the VNC correctly? When I used the vnc viewer on my win2k(client), it just pop up a large window and a xterm. That's why i am wondering. Is it Xnest is another software? I am really appreciate it.Thank you. :) bdg1983 07-19-2001, 11:38 AM Keyser... I only use Xnest for our AIX servers. I'm allowed to install certain software on AIX, but since most users have eXceed, I don't think they would let me install VNC. Xnest works great with AIX/CDE. guanyu... The important part is to ensure the vncserver is up and running. Try 'ps -ef | grep vncserver If you see just one line that has grep and vncserver, then it's not running and you should check the vnc logs. Again I'm on vacation and I cannot remember where they are. Did you read all the documentation at the VNC site. Everything should be explained properly at least a lot better than I can without having a working install of vnc in front of me. Actually the documentation in html format is installed with the server. ??? /usr/doc/vnc or just do a filesystem search and you should be able to find the correct path. It should include the docs and the faq's. Let us know if you have any success. Keyser Soze 07-19-2001, 08:01 PM Am I talking to myself? YOU HAVE IT WORKING. TYPE IN gnome-session & WTF??? guanyu 07-19-2001, 09:42 PM mdwatts yes, i did it. I having a little problem. when i tried to vncview. once I did something on the server, it will automatically disconnect my client. I think i might configure wrongly. is that anyway to check it out? by the way, how many nvcviewer can logon at the time. Thank you and have a nice day. bdg1983 07-20-2001, 06:14 AM I just thought of something. Why don't you try typing in gnome-session & and see if it works. :D Seriously I don't know what the problem could be. Have you check the vncserver log files for any errors? Have you read all the VNC faq's to see if there's something you've missed? [ 20 July 2001: Message edited by: mdwatts the 3rd ] Keyser Soze 07-20-2001, 09:03 AM YOu know, MD it will probably work for you, I think the little piss-ant has my replies set to ignore, the little twat. you forgot to tell him to put the & there, it will bail on him. [ 20 July 2001: Message edited by: Keyser Soze ] bdg1983 07-20-2001, 10:41 AM You need two && at the end? ;) I don't know. I always RTFM and that's how I get everything to eventually work. I always found the VNC docs and faq's had most of the answers. The others are just common sense. guanyu... Have you checked the vncserver error/run logs for any problems? Are you running vncviewer correctly with the ip address of the box running the vncserver? guanyu 07-20-2001, 01:00 PM Keyser Soze, Don't get mad. I did type GNOME-session and startkde too. It worked fine for Gnome.however, startkde can't load up. it showed errors...i don't know why. I might go ahead to read the vnc log file. Mdwatt, I don't have much time to read the vnc faq because at the same time i need to setup 1 proxy server and firewall for the company. Anyway, I will go ahead to read it this weeked. after that, i will feedback 2 you. how many users can vncserver support? by the way, what is the xnest. Thank Keyser Soze and Mdwatt. you guys really help me a lot. again thank have a good weekend :) bdg1983 07-20-2001, 01:10 PM Your welcome. Don't worry about Keyser as I'm sure he is just joking. Right? Not sure how many users vncserver can support. Xnest is actually part of the Xfree86 project. Heard about it on Caldera's knowledgebase last year with instructions on how to use it. Very similiar to VNC or eXceed. Check your system to see if it's installed. It always installs on mine by default. The time spent waiting for answers here at LNO could be used for reading the VNC faq's etc. Well worthwhile since we (especially me) cannot think of everything or know all there is about the subject. Good luck with all the projects. Keyser Soze 07-20-2001, 05:33 PM Of course I was kidding!!! you shouldn't really put the second & in there.... You should read that thread I put up there for you though, it covers it. And vnc can handle a lot of stations, I run several off of a 700mhz(4 or so minimum). Just read through the documentation one more time and you will find where the error lies. Try doing it backwards see if you can pull your other desktop to your linux box... guanyu 07-22-2001, 08:26 PM mdwatts & Keyser Soze, Hey guys, I trid to view the log file /.vnc inside my vnc directory it contain several .log files and .pid. I tried to view it but it end up with no such file and directory. Because i need to know why i couldn't start my kde to my win2k platform. Any idea? Thank you Keyser Soze 07-22-2001, 08:58 PM how are you trying to view it? just type in cat filename If you are getting the xterm, then the connection is made and data is transferring, you simply have to get the x-session of your choice started... [ 22 July 2001: Message edited by: Keyser Soze ] guanyu 07-22-2001, 11:02 PM Keyser Soze, I was using more 7.log(the file). I even tried cat 7.log. no such directory. I tried to vi 7.log. it still cannot. any idea?Thank you Keyser Soze 07-22-2001, 11:55 PM what is the 7? I think I might see a problem.. when you boot up your machine, log in to linux, are you starting vncserver manually or do you have it in your startup scripts? You should manually start it before you use the viewer on a remote station. Let me know, we can go through it step by step.... guanyu 07-23-2001, 12:05 AM Keyser Soze I think I need to activate vncserver after the RH up. 7.log and 7.pid is the file which ls under .vnc directory. There are several .log and pid inside my .vnc direcory such 1.log,2.log and so on. i think my configuration problem when i wanted to startup kde(it compiled several errors message). that's why I wanted to view the log file so that i can figure what is going with my vncserver. another question Can I start the desktop with twm, enlightement and so on? what is the command? So far, only gnone-session & is working fine. Kde is having some problem. it still could bring up the terminal. Thank you. Keyser Soze 07-23-2001, 12:40 AM The logs that are listed by numbers usually only go to 1 or 2, they are built for every session you start at a single time, example, you start vncserver several times, there is a log for each instance it is running. You only need one per machine connection. The window manager sessions in VNC are just like doing them for X, i.e. gnome-session & is gnome, etc. Look at your startup file, and find the startup of your choice, and simply apply that in the xterm that opens up on your vnc distributed desktop. guanyu 07-23-2001, 02:34 AM Keyser Soze , I have no idea how to modify the script. here is my xstartup script. #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & twm & How to add in the sawfish and enlightment? Thank again. Keyser Soze 07-23-2001, 02:37 AM xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & twm & your key is the twm &, change it to your window manager of choice and you should be good to go. guanyu 07-23-2001, 02:59 AM I changed it to sawfish &. but i tried to type sawfish it showed the message in the xterm "you may only run one window manager" what is that? by the way, how am i going to view my vnc log file? Is it located /root/.vnc/ Thank . guanyu 07-23-2001, 03:09 AM If I used KDE session, it will list QImage::color: Index 0 out of range QImage::color: Index 0 out of range QImage::color: Index 0 out of range QImage::color: Index 0 out of range KCrash: crashing.... crashRecursionCounter = 2 KCrash: Application Name = kicker path = <unknown> Xlib: extension "RENDER" missing on display ":2.0". DCOP aborting call from 'anonymous-2030' to 'kicker' Xlib: extension "RENDER" missing on display ":2.0". Xlib: extension "RENDER" missing on display ":2.0". KCrash: crashing.... crashRecursionCounter = 2 KCrash: Application Name = klipper path = <unknown> Xlib: extension "RENDER" missing on display ":2.0". Xlib: extension "RENDER" missing on display ":2.0". DCOP aborting call from 'anonymous-2040' to 'klipper' Xlib: extension "RENDER" missing on display ":2.0". Xlib: extension "RENDER" missing on display ":2.0". Xlib: extension "RENDER" missing on display ":2.0". Xlib: extension "RENDER" missing on display ":2.0". Xlib: extension "RENDER" missing on display ":2.0". ICE default IO error handler doing an exit(), pid = 2043, errno = 0 [root@munkor+munkor /]# ICE default IO error handler doing an exit(), pid = 2028, errno = 2 but if i used Gnome-session there is nothing error. I am still finding the errors. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |