The present perceived problem with DraftSight not working does seem to have something to do with registration. After Google started working after a number of days being almost unusable I did a bit of googling on:
This product is not licensed or has expired DraftSightSince I have not heard back on my registration request I decided that I would try to uninstall via Synaptic the original first version of DraftSight that I downloaded. Nothing really to loose as I could not use it. My hope was that somehow the registration was left behind (seem to be indicated by a Windows user who had recovered operation my uninstalling and then reloading the latest version).
KDE Platform 4.6.5I think this turns out to be correct because when on my old DraftSight version, on KDE Platform 4.6.5, was uninstalled and the new DraftSight rpm installed, the program now works from the PC > Graphics > DraftSight. I do not get the normal invitation to register or run for 30 days free. I am delighted with this as I have an awful lot of drawings sitting here. Another challenge are now facing me, which I will come back to below.
KDE32 Platform 4.8.3I prepared a new KDE32 4.8.3 install, fully updated and then installed Opera ie a system with very little contamination by me

When I tried to install DraftSight V1R3 Beta, the latest download it did not install. Seemed to go through the motions looking at the konsole output during the install.
[root@localhost 111125-DraftSight_CAD]# rpm -ivh file:///media/DELTA-10/111125-DraftSight_CAD/121024-draftSight.rpm
Preparing... ########################################### [100%]
1:dassault-systemes-draft########################################### [100%]
mkdir: cannot create directory `//.local': Permission denied
touch: cannot touch `//.local/share/applications//mimeapps.list': No such file or directory
/usr/bin/xdg-mime: line 607: //.local/share/applications/defaults.list.new: No such file or directory
grep: //.local/share/applications/defaults.list.new: No such file or directory
/usr/bin/xdg-mime: line 609: //.local/share/applications/defaults.list.new: No such file or directory
/usr/bin/xdg-mime: line 611: //.local/share/applications/defaults.list.new: No such file or directory
mv: cannot stat `//.local/share/applications/defaults.list.new': No such file or directory
Set application as default for the user=gert
Set application as default for the user=nobody
mkdir: cannot create directory `//.local': Permission denied
touch: cannot touch `//.local/share/applications//mimeapps.list': No such file or directory
/usr/bin/xdg-mime: line 607: //.local/share/applications/defaults.list.new: No such file or directory
grep: //.local/share/applications/defaults.list.new: No such file or directory
/usr/bin/xdg-mime: line 609: //.local/share/applications/defaults.list.new: No such file or directory
/usr/bin/xdg-mime: line 611: //.local/share/applications/defaults.list.new: No such file or directory
mv: cannot stat `//.local/share/applications/defaults.list.new': No such file or directory
Set application as default for the user=gert
Set application as default for the user=nobody
mkdir: cannot create directory `//.local': Permission denied
touch: cannot touch `//.local/share/applications//mimeapps.list': No such file or directory
/usr/bin/xdg-mime: line 607: //.local/share/applications/defaults.list.new: No such file or directory
grep: //.local/share/applications/defaults.list.new: No such file or directory
/usr/bin/xdg-mime: line 609: //.local/share/applications/defaults.list.new: No such file or directory
/usr/bin/xdg-mime: line 611: //.local/share/applications/defaults.list.new: No such file or directory
mv: cannot stat `//.local/share/applications/defaults.list.new': No such file or directory
Set application as default for the user=gert
which: no sestatus in (/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin)
[root@localhost 111125-DraftSight_CAD]#
This looks to be an unlikely successful install but past experience indicates it may be ok.
There are a few options how to test, I think my favorite now is to have quik look in
/opt and if the following is seen then chances are promising.
[root@KDE-mini gert]# ls -l /opt
total 24
drwxr-xr-x 3 root root 4096 Oct 2 18:33 dassault-systemes/
drwxr-xr-x 3 root root 4096 Mar 1 2010 lib/
drwxr-xr-x 7 root root 4096 Aug 24 2011 libreoffice3.4/
-rw-r--r-- 1 root root 27 Mar 1 2010 mms.cfg
drwxr-xr-x 3 root root 4096 Mar 1 2010 share/
drwxrwxr-x 5 gert gert 4096 Sep 2 2010 VariCAD/
[root@KDE-mini gert]#
The red line here indicates that something has been installed. Now it is worse pursuing to find the run exec. My experience with the latest program has been that it nows seem to install an Icon in the graphics section of the PC menu and this will work properly in the present user space. The old program seemed to have a problem as it wanted to run in root space. Well for me at least and this is what now present a real challenge for me.
First though on this platform, my install attempt appeared to have failed. I did not find any "dassault-systems" line in
/opt. I went through the motion of
updatedb and
locate DraftSight and found nothing, the last I use to find the the exec file if the Icon starter not available but the system is installed.
Since nothing would be lost I tried two things,
rpm -ivh --force ..... and removing my date indicator,
121024-..... in front of the file name use in the install:
[root@localhost 111125-DraftSight_CAD]# rpm -ivh --force file:///media/DELTA-10/111125-DraftSight_CAD/121024-draftSight.rpm
I am not sure which load item caused the success I ran them sequentially before checking. After this
/opt does have the expected line. DraftSight now runs as a new install on this KDE32 Platform 4.8.3, I am presented with the 30 day free trial and invitation to register by supplying my/an email address. I am leaving the registration til late in the period, I do want however to make this system the CAD systems only. Will later add VariCAD 3D system here too. So all is fine here.
The problem of permissions:The original DraftSight system in my case ran as root basically and for me this resulted in
all my data files now sitting in root space.
[root@KDE-mini gert]# ls -l /root
total 32092
-rw-r--r-- 1 root root 32768000 Feb 7 2012 120207-ram.bin
-rw-r--r-- 1 root root 66 Feb 8 2012 99-primary_partition_table_1.bin
drwxr--r-- 2 root root 4096 Mar 24 2011 Desktop/
drwxr-xr-x 3 root root 4096 Jan 13 2012 Documents/
drwxr-xr-x 2 root root 4096 Feb 19 2010 Downloads/
drwx------ 2 root root 4096 Jan 9 2011 drakx/
drwxrwxrwx 4 root root 4096 Nov 27 2011 draw/
-rw-r--r-- 1 root root 8 May 21 20:13 lp
drwxr-xr-x 6 root root 4096 Jan 17 2012 mulinux/
drwxr-xr-x 2 root root 4096 Feb 19 2010 Music/
-rw-r--r-- 1 root root 1034 Sep 4 2011 OpenDNS_howto.txt
drwxr-xr-x 2 root root 4096 Apr 13 2010 Pictures/
drwxr-xr-x 2 root root 4096 Feb 19 2010 Templates/
drwx------ 5 root root 4096 Oct 26 12:17 tmp/
-rw-r--r-- 1 root root 32768 Feb 8 2012 usb-backup-cylinder1.bak
drwxr-xr-x 2 root root 4096 Oct 20 2010 Videos/
-rw-r--r-- 1 root root 109 Apr 14 2012 w_scan.log
[root@KDE-mini gert]# ls -l /root/draw
total 8
drwxr-xr-x 3 root root 4096 Dec 5 2011 DraftSight_Gert_Testing/
drwxr-xr-x 2 root root 4096 Nov 27 2011 Qcad-Gert_Testing/
lrwxrwxrwx 1 root root 24 Jun 21 2011 VariCAD Samples -> /opt/VariCAD/lib/sample//
[root@KDE-mini gert]#
I need some help to move these files out of present root environment , to user
gert and thus visible to
DraftSight when this runs under user
gertSo far I always get something wrong when trying to move from
root to
user. I end up using a mixture of konsole and konqueror/dolphin operation to get the properties and permissions right and that only for a few files albeit also moved across partition boundaries.
First: how do I safely move the whole /root/
draw directory over to
user space so that all files and subdirectories then show gert:gert in
ls -l statements?