Author Topic: VariCAD 3D CAD installation small problem  (Read 7927 times)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: VariCAD 3D CAD installation small problem
« Reply #60 on: October 22, 2009, 08:27:34 PM »
I'm not certain it is what you are looking for, but you could try /var/log/ConsoleKit/history.


Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: VariCAD 3D CAD installation small problem
« Reply #61 on: October 22, 2009, 08:56:46 PM »
Thanks Neal for your post,

1256204193.686 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1256219753.956 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
1256253215.437 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0

I have about 30 lines of these, way beyond me, no idea what this is about.  For a minute when I saw the name history I thought Bingo that might just be it.   8)

A few days ago I was seeking on the internet and found statement:

cat /dev/buffer > filename.txt

this however did not work for pclos. I did a bit of searching but don't really know anything about terminals, the command line does suggest that there is a buffer that one can take advantge of when konsol window with it goodies like mouse support, drag highlighting etc is not available. 
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: VariCAD 3D CAD installation small problem
« Reply #62 on: October 22, 2009, 09:14:18 PM »
wedgeling:

The output will be long, but there are dates included, as reference. You should be able to see all the lines from start up with;

[root@fatman ~]# cat /var/log/messages >> /home/polack/messages.txt

or

[root@fatman ~]# dmesg >> /home/polack/dmesg.txt

Replace polack with your login name. The two text files will be in your ~/ directory. The messages.txt file will include a number of boot sequences, as well as everything else that the system logged until shutdown and next boot. The dmesg.txt file should be only the current session bootup and subsequent system happenings.

I'd go with the dmesg.txt first, to see if the X server crash is listed. Otherwise check in both /root and your ~/ directories for .xsession-errors, note that it's a hidden .* file.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: VariCAD 3D CAD installation small problem
« Reply #63 on: October 22, 2009, 10:01:36 PM »
I have already sweated over those two files, and cheated as well using Krusader for bigger overall view. My thinking sort of insist that the error ought to be there.  However I am so confused that I will go through them again. I understand perfectly where you are sending me and I am off like a ferret.   ;D

Result:
Neither of those two files have the lines when Intel 810 and later crashes.  I thought already from the beginning "Hey Ho Ho, now you are in trouble". I notice too that in some postings it is hard to get people to give 'print' of what the errors were.

I am guessing it has something to do with an error output which is not directed the the syslogd, many moons ago I was struggling trying to figure out how to modify to make sure syslog or messages or dmesg would show exactly what happens at boot time. Never got that resolved and I am not sure where my notes are either.

What I do know was that I found that the missing part was only the content of PrcSys.log. When I then found where the 'missing' messages were stored I took the easier way and just went looking here if needed.  At the time as was keen to have one file with all the boot details and not having to go to two.

Since I can not find the log showing the errors on an "Intel" crash I thought that well a print out of the terminal buffer there and then from cli would be bees knees for quick inclusion in a post.

So I am off to your last suggestion (looks interesting hidden territory too  ;D)  

  
« Last Edit: December 16, 2009, 12:17:36 AM by wedgeling »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: VariCAD 3D CAD installation small problem
« Reply #64 on: October 23, 2009, 12:29:22 AM »
Well, not sure what next.  The

Quote
check in both /root and your ~/ directories for .xsession-errors, note that it's a hidden .* file.

There are errors, quite a few.  I will attach both files.  I can not really make any sense of what I see, only in root there are a few lines right at the end

Code: [Select]
startkde: Done.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 28 requests (28 known processed) with 0 events remaining.
s2u: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Something drastic going on.  The text seen at crash time is nowhere to be seen.    ???

I will crash the system and see if the the two .xs... files have any changes.


[attachment deleted by admin]
« Last Edit: December 08, 2009, 02:31:14 AM by wedgeling »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: VariCAD 3D CAD installation small problem
« Reply #65 on: October 23, 2009, 01:17:02 AM »
Procedure:

1.. Select Intel 810 and later driver
2.. Restart X, ctl-alt-backspace
3.. Now in terminal mode
4.. cat /root/.xsession-errors and cat ~/.xsession-errors
5.. /root file the same but ~/ file seems to have lots of interesting entries, mostly outside my understanding

The file size grew a number of times.
I have attached this file from my home directory.   8)

I am having a break as a new version of VariCAD is out, need to study the changelog.

[attachment deleted by admin]
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: VariCAD 3D CAD installation small problem
« Reply #66 on: October 23, 2009, 02:55:23 AM »
Haaah,  ;D ;D ;D
Here follows the almost consistent result of trying to restart X after I have crashed out when on a ctl-alt-backspace in X after having selected Intel 810 and Later video driver.  I land back in a text login terminal.


[gert@localhost ~]$ video
bash: video: command not found   <--- these two lines not important but they are in the buffer this time, don't think they have any importance


[gert@localhost ~]$ startx
xauth:  creating new authority file /home/gert/.serverauth.4427


X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux_2.6.26.8.tex3 Mandriva
Current Operating System: Linux localhost 2.6.26.8.tex4 #1 SMP Fri Aug 14 05:54:23 CDT 2009 i686
Build Date: 29 March 2009  04:52:08PM

        Before reporting problems, check http://qa.mandriva.com
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 23 19:29:25 2009
(==) Using config file: "/etc/X11/xorg.conf"
(II) Module "ddc" already built-in
(II) Module "i2c" already built-in
(II) Module "ramdac" already built-in
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(EE) [drm] drmOpen failed.
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) intel(0): Couldn't allocate video memory

Fatal server error:
AddScreen/ScreenInit failed for driver 0

giving up.
xinit:  Connection reset by peer (errno 104):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
Couldnt get a file descriptor referring to the console
[gert@localhost ~]$


The way I have obtained the buffer is to install screen and then when I drop out to text terminal login. The first things I do after I log in is then to run screen.  I will not go into long description suffice to say there is a mechanism to copy to buffer and then copy out to a screen default file /tmp/screen_exchange. I took the data from this file for the post.


« Last Edit: October 23, 2009, 06:58:50 AM by wedgeling »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: VariCAD 3D CAD installation small problem
« Reply #67 on: December 16, 2009, 01:07:59 AM »
Has been some time since I have been back to look at the video problem that surfaced here. The summary, a combination of a widescreen monitor with a Gigabyte G41 motherboard with on board graphics and Intel based chip sets with no Linux support = bad combination.

Since I want to run 3D CAD operation based on VariCAD engineering program the VESA mode (only one I could get to work) ended up with circles showing as ellipses, small amount but not acceptable.  Since the monitor was not running in native mode either the fonts are a bit blurry.

The interesting thing is that if I had used a screen with 1024x768 native resolution I am not sure I would even have noticed, but I have not tested.

I have now obtained another system, ASUS P5P41 and added a nVidia 9600GT display card without even touching the configuration this worked first go. My bigger models now spin much faster and I have not even configured the nVidia card, still running without OpenGL accelleration.

The system was mainly meant for a TV Setop box replacement however with an eye to test the nVidia card.  To this effect I am playing around with installing Linux and so far so good, but for my TV card turns out to have no Linux support, but we wanted to test the Vieo Mate Vista E700.  So the first partition is XP Windows.

I have not done much more of the CAD work but my feeling at present is that PCLinuxOS is handling this program very well and when I have tested a few more of the advanced settings in the CAD program I will report back to the makers that they could probably add PCLinuxOS to their list.

Got the Linux bug at the moment.   ;D ;D
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: VariCAD 3D CAD installation small problem
« Reply #68 on: December 16, 2009, 05:12:40 AM »
Thanks for the update .... things seem to be working out for you with the different hardware  ;)

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: VariCAD 3D CAD installation small problem
« Reply #69 on: July 21, 2010, 11:08:03 PM »
VariCAD
In Dec 2009 I was still running pclos 2009 and the big engineering CAD program was going great after the debacle with the pc and graphics card. I basically took old-poalk's advise and got an nVidia card. When summer arrived here I decided on a big brake from pc work and also to avoid spending too much time on getting to know the very first weeks of kde 4 and pclos 2010.  

Well of course the time came and I started getting back into playing with my pcs. Getting a feel for pclos2010 KDE 4.x and browsing the Forum I noticed some concerning problems with using pclos2010 and out of Synaptic rpm's.  When I finally got down to try and install my VariCAD 2.08 in pclos2010 sure enough I was in trouble too.  

Quote
error: Failed dependencies:
        rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by VariCAD_2010-en-2.08-1.i586


I am aware of the risk here as one is likely to be left on one's own.  It is however also a tempting new problem to have a look at and I have been browsing around till my head now is at a stage where I need to stand back.  Below I have some details on how with the help of the *.deb files that happens to be available "muungwana" gave the VariCAD viewer a trial with succes.  I seem to be successfull to to a degree that I can run VariCAD when logged in as root not really a desirable situation, but I can live with it for a little while.

http://www.pclinuxos.com/forum/index.php/topic,72111.msg628585.html#msg628585

Following intriguing problem is one of the problems I am facing:

file:///opt/VariCAD/bin/varicad

this is the varicad.exe file and I can start this fine if I am logged in as root and use dolphin or konqueror (ie gui) (I can also start varicad same way as user, I am asked to insert licence details to finally be told only root can do that and basically terminates, despite root has already installed the details. When I logged in as root I could successfully accomplish the licence details and use the program. I see this as another problem)

but in konsole:
Code: [Select]
[gert@localhost ~]$ varicad
Command not found.
 * Waiting in queue..
 * Loading list of packages...
[gert@localhost ~]$ su
Password:
[root@localhost gert]# varicad
Command not found.
 * Waiting in queue..
 * Loading list of packages...
[root@localhost gert]#
[root@localhost gert]# cd /opt/VariCAD/bin/
[root@localhost bin]# ls
glib/  varicad*
[root@localhost bin]# varicad
Command not found.
 * Waiting in queue..
 * Loading list of packages...
[root@localhost bin]#
[root@localhost bin]# ls -la
total 44492
drwxrwxr-x  3 gert gert     4096 2010-06-14 10:17 ./
drwxrwxr-x  5 root root     4096 2010-06-14 10:17 ../
drwxrwxr-x 12 root root     4096 2010-06-14 10:17 glib/
-rwxr-xr-x  1 root root 45545388 2010-06-14 10:17 varicad*
[root@localhost bin]#


The example is run from my user account "gert"

What am I up against? Not being able to run a binary when standing on top of it??   ??? Because of the way the program have been installed by moving files to /opt/  the menu and desktop entries are left floating but having inspected them the Excec=varicad.

I am going for a long walk now to see if I can remember anything unusual I did.  I am also short of a plan ;D

 
« Last Edit: July 21, 2010, 11:32:33 PM by wedgeling »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: VariCAD 3D CAD installation small problem
« Reply #70 on: July 22, 2010, 12:30:09 AM »
VariCAD
In Dec 2009 I was still running pclos 2009 and the big engineering CAD program was going great after the debacle with the pc and graphics card. I basically took old-poalk's advise and got an nVidia card. When summer arrived here I decided on a big brake from pc work and also to avoid spending too much time on getting to know the very first weeks of kde 4 and pclos 2010.  

Well of course the time came and I started getting back into playing with my pcs. Getting a feel for pclos2010 KDE 4.x and browsing the Forum I noticed some concerning problems with using pclos2010 and out of Synaptic rpm's.  When I finally got down to try and install my VariCAD 2.08 in pclos2010 sure enough I was in trouble too.  

Quote
error: Failed dependencies:
        rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by VariCAD_2010-en-2.08-1.i586


I am aware of the risk here as one is likely to be left on one's own.  It is however also a tempting new problem to have a look at and I have been browsing around till my head now is at a stage where I need to stand back.  Below I have some details on how with the help of the *.deb files that happens to be available "muungwana" gave the VariCAD viewer a trial with succes.  I seem to be successfull to to a degree that I can run VariCAD when logged in as root not really a desirable situation, but I can live with it for a little while.

http://www.pclinuxos.com/forum/index.php/topic,72111.msg628585.html#msg628585

Following intriguing problem is one of the problems I am facing:

file:///opt/VariCAD/bin/varicad

this is the varicad.exe file and I can start this fine if I am logged in as root and use dolphin or konqueror (ie gui) (I can also start varicad same way as user, I am asked to insert licence details to finally be told only root can do that and basically terminates, despite root has already installed the details. When I logged in as root I could successfully accomplish the licence details and use the program. I see this as another problem)

but in konsole:
Code: [Select]
[gert@localhost ~]$ varicad
Command not found.
 * Waiting in queue..
 * Loading list of packages...
[gert@localhost ~]$ su
Password:
[root@localhost gert]# varicad
Command not found.
 * Waiting in queue..
 * Loading list of packages...
[root@localhost gert]#
[root@localhost gert]# cd /opt/VariCAD/bin/
[root@localhost bin]# ls
glib/  varicad*
[root@localhost bin]# varicad
Command not found.
 * Waiting in queue..
 * Loading list of packages...
[root@localhost bin]#
[root@localhost bin]# ls -la
total 44492
drwxrwxr-x  3 gert gert     4096 2010-06-14 10:17 ./
drwxrwxr-x  5 root root     4096 2010-06-14 10:17 ../
drwxrwxr-x 12 root root     4096 2010-06-14 10:17 glib/
-rwxr-xr-x  1 root root 45545388 2010-06-14 10:17 varicad*
[root@localhost bin]#


The example is run from my user account "gert"

What am I up against? Not being able to run a binary when standing on top of it??   ??? Because of the way the program have been installed by moving files to /opt/  the menu and desktop entries are left floating but having inspected them the Excec=varicad.

I am going for a long walk now to see if I can remember anything unusual I did.  I am also short of a plan ;D

 


You haven't put /opt/VariCAD/bin/ in your $PATH, therefore the bare command will not work. However, when in that directory, ./varicad as a command should. (./ is shorthand for "in this directory", so works with any executable file, not in your $PATH, when you are entering the command from within the containing directory) Also, in the desktop menu entry, it should be EXEC=/opt/VariCAD/bin/varicad, ie the full path to the executable.

I launch an old version of pan with an icon/widget that contains this line;

Exec='/usr/local/bin/pan0.14.2.91/pan-old'

Works just fine from my normal user's desktop.

As your normal user, open a terminal, and at the prompt, enter;

[wedgeling@localhost ~]$ /opt/VariCAD/bin/varicad                     <Enter>

Does the application now run?

As an example, the difference in the results of the basic command and the full path command is shown here;

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: VariCAD 3D CAD installation small problem
« Reply #71 on: July 22, 2010, 01:58:02 AM »
old-polack
Thank you. You highlighted an answer of sorts. The use of /opt/VariCAD/bin/varicad  Will work for both normal user and su but I am flattened by the last 5 lines:

Normal user:
Code: [Select]
[gert@localhost ~]$ /opt/VariCAD/bin/varicad

*** VariCAD configuration not found.
*** First startup in this directory, configuration will be created.
*** Current directory is: /home/gert/Varicad208

*** (R) VariCAD - graphic system release 2010-2.08
*** (C) VariCAD
[gert@localhost bin]$

[gert@localhost ~]$ cd  /opt/VariCAD/bin/
[gert@localhost bin]$ varicad
Command not found.
 * Waiting in queue..
 * Loading list of packages...

[gert@localhost bin]$

I must be staring myself blind somewhere, ie stepping right into the directory, both as normal and root, where I know the exe is and I can not get it going?

As root, I stepped back up in the directory hirarchy and tried with with success starting VariCAD.

Code: [Select]
root@localhost bin]# cd /home/gert
[root@localhost gert]#  /opt/VariCAD/bin/varicad

*** VariCAD configuration not found.
*** First startup in this directory, configuration will be created.
*** Current directory is: /home/gert/Varicad208

*** (R) VariCAD - graphic system release 2010-2.08
*** (C) VariCAD
[root@localhost gert]#

So you have given me the answer why Dolphin etc worked by a click.

What can you suggest to try to sort out why I can not start from within the exe containing directory?  I am very reluctant to move on from here, however much I am keen, before this get figured out.  What else may I have wrong ???

Regarding the *.desktop I am unsure of how one manhandles that in place. I find the details in the following which I have expanded so you get the full picture:

Code: [Select]
[root@localhost gert]#
[root@localhost gert]# cd /opt/
[root@localhost opt]# ls
lib/  openoffice3-en-US/  openoffice.org/  openoffice.org3/  share/  VariCAD/  work/
[root@localhost opt]# cd VariCAD/
[root@localhost VariCAD]# ls
bin/  desktop/  lib/
[root@localhost VariCAD]# cd desktop/
[root@localhost desktop]# ls
installdesktop.sh*    varicad_22x22.png  varicad.desktop   varicad.xpm
uninstalldesktop.sh*  varicad_32x32.png  varicad.mdkmenu   x-varicad.desktop
varicad_16x16.png     varicad_48x48.png  varicad.wmconfig
[root@localhost desktop]#

And the content of varicad.desktop is:

Code: [Select]
[root@localhost desktop]# cat varicad.desktop
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=VariCAD
GenericName="VariCAD System"
Comment="VariCAD - 2D and 3D mechanical CAD system"
Icon=varicad
FilePatern=varicad
Exec=varicad
Terminal=0
Categories=Application;Graphics
MimeType=application/x-varicad
[root@localhost desktop]#

I understand that I need to change the Exec=varicad to Exec=EXEC=/opt/VariCAD/bin/varicad.  I don't really know what varicad.desktop does or how one handles those. Only seem to remember you made a comment in a topic that you just manhandled Icons/applets in place or something.

I guess getting the Icon stuff on the desktop is the easiest item to clean up right now.



« Last Edit: July 22, 2010, 11:50:37 PM by wedgeling »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: VariCAD 3D CAD installation small problem
« Reply #72 on: July 22, 2010, 02:15:20 AM »
wedgeling:

What part of ./varicad didn't you understand?

(./ is shorthand for "in this directory", so works with any executable file, not in your $PATH, when you are entering the command from within the containing directory)
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Online gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3883
Re: VariCAD 3D CAD installation small problem
« Reply #73 on: July 22, 2010, 02:20:41 AM »
I have just glanced at this, so if I am off-track, out-of-the-loop, just ignore me. However, even if the permissions are correct, you cannot run a program by changing into the directory where it is located and type nameofprogram. You have to type ./nameofprogram. Linux will not search the current directory for programs.

Galen

too late -  :-[

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: VariCAD 3D CAD installation small problem
« Reply #74 on: July 22, 2010, 03:53:36 AM »
old-polack
1.. I do not understand why I can not place myself in the directory containging exe file varicad and on the command line just type the name  ;D
  (example, if I want to open kwrite, I just type this in konsole  (because it will be in the $PATH I need not worry about being in the directory where kwrite exe is)

I understand why I need to use the full path for running exe file varicad, and it works both for root and normal user, when I am outside the directory.

2.. I don't understand yet how to get icon/applet on desktop or menu linked to varicad.desktop (if that is what is needed). After making the the change in varicad.desktop. I  have  found out that I don't understand how to "link" or activate those *.desktop items . I made a quick try: Create > New Link to Appplication and fell flat on my face. This is a secondary problem which I never had time to solve in pclos2009 as I just used konsole start. (I have seen you have given intructions in that direction but lost where)

gseaman
You are welcome to chip in but I don't quite understand what you are trying to say, see my ecxample above with kwrite, dolphin etc nothing special you just type the name of the exe file and  if this happens to be in the $PATH you can do it loosely spoken from anywhere konsole is open presently.

Errrhhh where is the $PATH   ???

EDIT: I have to modify above, actually I can not start kwrite with root priviliges it only works when I am normal user.

Code: [Select]
[root@localhost /]# kwrite
No protocol specified
kwrite: cannot connect to X server :0
[root@localhost /]#

I am going to run up pclos2009 now and do some checking, this getting beyond me.
« Last Edit: July 22, 2010, 09:11:13 AM by wedgeling »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen