This is a discussion on vnc session with CDE within the AIX Operating System forums, part of the Unix Operating Systems category; --> Can anyone tell me how to start a CDE session through VNC?...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| "Mike" <mike@nunyabusiness.com> writes: > Can anyone tell me how to start a CDE session through VNC? Hrmm. Mine just works. I log in via ssh, and start the server, # vncserver :20 Then I point VNC to the machine at mach.ine.ip.addy:20 and I always see the CDE interface. That all said, try issuing the command /usr/dt/bin/dtwm at whatever prompt you get in the VNC console. -- Todd H. http://www.toddh.net/ |
| |||
| I editted the xstartup file in the .vnc directory (off my home directory) and added a line: /usr/dt/bin/dtsession & I commented out any mwm lines from the file. Jim Lahue Mike wrote: > Can anyone tell me how to start a CDE session through VNC? |
| |||
| Thanks Jim, That is what I was looking for and it works. Mike "Jim Lahue" <jmlahue@NOusSPAM.ibm.com> wrote in message news:3F81A95C.5697C5E2@NOusSPAM.ibm.com... > I editted the xstartup file in the .vnc directory (off my home > directory) and added a line: > > /usr/dt/bin/dtsession & > > I commented out any mwm lines from the file. > > Jim Lahue > > > Mike wrote: > > > Can anyone tell me how to start a CDE session through VNC? > |
| |||
| Along these lines, has anyone gotten VNC working through inetd? I would love this method to present a dtlogin screen, but the best I have been able to do is a grey screen with an X pointer... I am using the following: freeware.vnc.rte 3.3.3.2 COMMITTED Virtual Network Computing Any help would be appreciated. -Chris Blanks "MIKE U" <lbpipe@nunyabusiness.com> wrote in message news:<OgAgb.12309$7h7.6820@newssvr25.news.prodigy. com>... > Thanks Jim, > That is what I was looking for and it works. > > Mike > > > "Jim Lahue" <jmlahue@NOusSPAM.ibm.com> wrote in message > news:3F81A95C.5697C5E2@NOusSPAM.ibm.com... > > I editted the xstartup file in the .vnc directory (off my home > > directory) and added a line: > > > > /usr/dt/bin/dtsession & > > > > I commented out any mwm lines from the file. > > > > Jim Lahue > > > > > > Mike wrote: > > > > > Can anyone tell me how to start a CDE session through VNC? > > |
| |||
| > Along these lines, has anyone gotten VNC working through inetd? I > would love this method to present a dtlogin screen, but the best I > have been able to do is a grey screen with an X pointer... > > I am using the following: > > freeware.vnc.rte 3.3.3.2 COMMITTED Virtual Network > Computing > > Any help would be appreciated. > AFAIK VNC takes over the output that is currently on the graphical screen, it takes the image from the frame buffer on the graphics card, I might be wrong about this but that's how it seems to work on my C10. To get a dtlogin screen, you really need an X server on the box you want the login session to appear on. I use Cygwin and XFree86 on my PC's and to start a dtlogin session I issue: XWin -query <host> Where <host> is the box I want to login to CDE. Steve |
| |||
| "Steve Nottingham" <steve@wakefieldrfc.freeserve.co.uk> wrote in message news:42862645.0310080239.7d8df948@posting.google.c om... > > Along these lines, has anyone gotten VNC working through inetd? I > > would love this method to present a dtlogin screen, but the best I > > have been able to do is a grey screen with an X pointer... > > > > I am using the following: > > > > freeware.vnc.rte 3.3.3.2 COMMITTED Virtual Network > > Computing > > > > Any help would be appreciated. > > > > AFAIK VNC takes over the output that is currently on the graphical > screen, it takes the image from the frame buffer on the graphics card, > I might be wrong about this but that's how it seems to work on my C10. > > To get a dtlogin screen, you really need an X server on the box you > want the login session to appear on. I use Cygwin and XFree86 on my > PC's and to start a dtlogin session I issue: XWin -query <host> Where > <host> is the box I want to login to CDE. > > Steve No, that's not a requirement; we have our AIX servers running VNC servers via inetd and getting CDE logins. In fact, we force our users to tunnel this through SSH, for security and compression, and it all works great. The VNC server that comes with the AIX Toolkit for Linux does not support being started from inetd; you have to get another version, like from www.bullfreeware.com. 1. Add to vnc ports to /etc/services. I add two: 5901 and 5902, with 5901 being a 800x600 screen, and 5902 being a 1024x768 screen. vnc1 5901/tcp # Vnc port vnc2 5902/tcp # Vnc port (1024x768 resolution) 2. Add the two vnc sessions to /etc/inetd.conf. This configuration uses tcp_wrappers (which is nice). vnc1 stream tcp nowait nobody /usr/local/bin/tcpd /usr/local/bin/Xvnc -inetd -query localhost -once -depth 24 -geometry 800x600 -fp tcp/:7100 vnc2 stream tcp nowait nobody /usr/local/bin/tcpd /usr/local/bin/Xvnc -inetd -query localhost -once -depth 24 -geometry 1024x768 -fp tcp/:7100 3. You _must_ run 'xfs' for font services. VNC will silently die if you don't. Add it to whatever startup routines you have. 4. refresh -s inetd If you have 'dtlogin' already running (e.g. you have a local graphics console), your VNC sessions will be presented with the CDE login screen, though you may have to restart dtlogin (I can't remember if a restart is required or not). Connect to the ':1' session for 800x600, and to the ':2' for 1024x768. |
| ||||
| This is exactly what I want to do. I followed your recommendations with dtlogin and xfs. Now I do not get a gray screen. I just get a message that says "Unknown authentication scheme". Does anyone have any ideas on how to resolve this issue? -Chris "F. Michael Orr" <morr@utility.vccs.edu> wrote in message news:<bm15kt$em@library1.airnews.net>... > "Steve Nottingham" <steve@wakefieldrfc.freeserve.co.uk> wrote in message > news:42862645.0310080239.7d8df948@posting.google.c om... > > > Along these lines, has anyone gotten VNC working through inetd? I > > > would love this method to present a dtlogin screen, but the best I > > > have been able to do is a grey screen with an X pointer... > > > > > > I am using the following: > > > > > > freeware.vnc.rte 3.3.3.2 COMMITTED Virtual Network > > > Computing > > > > > > Any help would be appreciated. > > > > > > > AFAIK VNC takes over the output that is currently on the graphical > > screen, it takes the image from the frame buffer on the graphics card, > > I might be wrong about this but that's how it seems to work on my C10. > > > > To get a dtlogin screen, you really need an X server on the box you > > want the login session to appear on. I use Cygwin and XFree86 on my > > PC's and to start a dtlogin session I issue: XWin -query <host> Where > > <host> is the box I want to login to CDE. > > > > Steve > > No, that's not a requirement; we have our AIX servers running VNC servers > via inetd and getting CDE logins. In fact, we force our users to tunnel > this through SSH, for security and compression, and it all works great. > > The VNC server that comes with the AIX Toolkit for Linux does not support > being started from inetd; you have to get another version, like from > www.bullfreeware.com. > > 1. Add to vnc ports to /etc/services. I add two: 5901 and 5902, with 5901 > being a 800x600 screen, and 5902 being a 1024x768 screen. > > vnc1 5901/tcp # Vnc port > vnc2 5902/tcp # Vnc port (1024x768 resolution) > > 2. Add the two vnc sessions to /etc/inetd.conf. This configuration uses > tcp_wrappers (which is nice). > vnc1 stream tcp nowait nobody /usr/local/bin/tcpd > /usr/local/bin/Xvnc -inetd -query localhost -once -depth 24 -geometry > 800x600 -fp tcp/:7100 > vnc2 stream tcp nowait nobody /usr/local/bin/tcpd > /usr/local/bin/Xvnc -inetd -query localhost -once -depth 24 -geometry > 1024x768 -fp tcp/:7100 > > 3. You _must_ run 'xfs' for font services. VNC will silently die if you > don't. Add it to whatever startup routines you have. > > 4. refresh -s inetd > > If you have 'dtlogin' already running (e.g. you have a local graphics > console), your VNC sessions will be presented with the CDE login screen, > though you may have to restart dtlogin (I can't remember if a restart is > required or not). Connect to the ':1' session for 800x600, and to the ':2' > for 1024x768. |
| Thread Tools | |
| Display Modes | |
|
|