vnc and inetd
I am trying to get vnc working via inetd on my Fedora Core 8 machine. I want to be able to use a vnc viewer to open up a window and get a login window, so I can be logged into the same machine twice under different usernames. I followed the man page for Xvnc: = In the nowait mode, Xvnc uses its standard input and output directly as the connection to a viewer. It never has a listening socket, so cannot accept further connections from viewers (it can however connect out to listening viewers by use of the vncconfig program). Further viewer connections to the same TCP port result in inetd spawning off a new Xvnc to deal with each connection. When the connection to the viewer dies, the Xvnc and any associated X clients die. This behaviour is most useful when combined with the XDMCP options -query and -once. An typical example in inetd.conf might be (all on one line): 5950streamtcp nowait nobody /usr/local/bin/Xvnc Xvnc -inetd -query localhost -once securitytypes=none In this example a viewer connection to :50 will result in a new Xvnc for that connection which should display the standard XDM login screen on that machine. Because the user needs to login via XDM, it is usu- ally OK to accept connections without a VNC password in this case. = Of course I had to make an xinetd file, but I seem to have this working. I am running as nobody from xinetd as mentioned above if that is a problem. I can connect with a vnc viewer and it pops up a new window. However, I don't get the xdm login window, just a blank pattern. The docs imply that it'll coordinate with xdm and give me a login window. I found instructions here to try and get xdm to work with a vnc window: http://homepage.ntlworld.com/daniel.rigal/xdmvnc.html I changed all the files mentioned and rebooted. But, I still just get a window with a blank pattern when I connect to :50. When I try to run the xdm test: X -query hostname :1 it seems to start something up another window but with the same blank background pattern I see in the vnc window. I can ctl-alt-F7 ctl-alt-F8 to go back and forth. But, it seems like I am missing something that will enable xdm to take control of the new windows created. What am I missing ? Thanks Chris Kottaridis -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Running Smart Package manager as non-root
I want to run the smart package manager on my fedora machine, but I don't want it to manage the system wide RPM's, but just some user specific RPMs. I want a typical user to be able to manage his own set of RPMs independently of the system management. I am running Fedora Core 8 and when I download the smart package I get version 1.1. I've discovered a few things. I go to the /usr/lib/smart/distro.py file and add these two lines: if not sysconf.getReadOnly(): if not sysconf.has(channels): + sysconf.set(rpm-root,/opt/myprojects) + sysconf.set(detect-sys-channels, False) sysconf.set((channels, rpm-db), {alias: rpm-db, type: rpm-sys, name: RPM Database}) When I do this and bring up smart-root --gui I provide root's password and everything does what I want which will take any RPM I ask smart to load and load it under /opt/myprojects and keeps the RPM database in the /opt/myprojects/var/lib/rpm. SO, the RPM database is separate from the system. Now if I run just smart --gui I get in some read-only mode that won't let me install anything. It seems if smart's datadir is not writable then you get in this read-only mode. So, I start over by doing this: # rm -rf /opt/myprojects/* # chown myuser:myuser /opt/myprojects edit /usr/lib/python2.5/site-packages/smart/const.py change the DATADIR to a file I have write permissions on DISTROFILE = /usr/lib/smart/distro.py PLUGINSDIR = /usr/lib/smart/plugins/ + DATADIR = /opt/myproject/var/lib/smart/ USERDATADIR = ~/.smart/ CONFFILE= config Now I run smart --gui as me and it seems to initialize the rpm database under /opt/myproject OK. But, when I try to actually install an RPM I get permission denied errors. It seems when I am not root it wants to try and load the RPMs into /, which I don't have permissions for, instead of /opt/myproject, which I do have permissions for. So, it seems weird that it manages the RPM database under /opt/myproject, but it doesn't want to install the packages under /opt/myproject. How do I get smart to manage it's RPMs in a different DB then the system wide one and also get it to load all RPMs into a predetermined directory, other then /, and do all of this as a normal, non-root, user ? Thanks Chris Kottaridis -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
charting libraries
I've got some commodities data stored in a local mysql database. I've been using command line perl scripts to access the data. I'd like to throw some typical charting of high/open/low/close charts. So, I am trying to find any standard libraries available to use to do the charting. It could be in C, perl, or PHP. Either web access via a browser or just run it locally and throw up a chart doesn't matter. What charting libraries can you recommend for this use ? Thanks Chris Kottaridis([EMAIL PROTECTED]) -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines